Closed nasifimtiazohi closed 11 months ago
Fails to parse repo name when GitLab repo name contains a - character.
-
test case: s = 'https://gitlab.com/sheepkill15/cypress-helper/-/blob/main/.vscodeignore'
s = 'https://gitlab.com/sheepkill15/cypress-helper/-/blob/main/.vscodeignore'
Python >= 3.7 gitulrparse = 0.10.0
parse(s).repo == 'cypress-helper'
parse(s).repo == '-'
@nasifimtiazohi We've released 0.12.0 that should fix this, thanks to @boozec ! :)
Description
Fails to parse repo name when GitLab repo name contains a
-
character.Steps to reproduce
test case:
s = 'https://gitlab.com/sheepkill15/cypress-helper/-/blob/main/.vscodeignore'
Versions
Python >= 3.7 gitulrparse = 0.10.0
Expected behaviour
parse(s).repo == 'cypress-helper'
Actual behaviour
parse(s).repo == '-'