Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert use of giturlparse #288

Merged
merged 3 commits into from
Jul 10, 2019
Merged

Revert use of giturlparse #288

merged 3 commits into from
Jul 10, 2019

Conversation

jayvdb
Copy link
Member

@jayvdb jayvdb commented Jul 9, 2019

Fixes #277

As this is another breaking change, it should be in 0.5.0 , not in 0.4.x. The entire 0.4.x series is unusable for anyone who was using git-url-parse with 0.3.x, and they should blacklist 0.4.x

jayvdb added 3 commits July 9, 2019 11:04
The Python 3.8-dev job has broken on building ruamel.yaml,
and the template doesnt provide control over allowing failures.
This substantially reverts commit 9517891.

The cause of the change has been addressed by an enhancement in
git-url-parse v1.2.1, too late to be included in moban v0.4.0
retr0h/git-url-parse@3e2bf91e

Using giturlparse instead of git-url-parse is a non-trivial breaking change.
It was done to avoid one minor regression which users could workaround,
however it introduced many significant regressions users could not
workaround as giturlparse does not parse many types of URLs.

Closes moremoban#277
git-url-parse does not yet (1.2.2) handle trailing slashes,
which are an optional part of all git URLs, but were supported
before the switch to using GitPython.

Closes moremoban#277
@codecov-io
Copy link

codecov-io commented Jul 9, 2019

Codecov Report

Merging #288 into dev will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #288      +/-   ##
==========================================
- Coverage   98.94%   98.91%   -0.03%     
==========================================
  Files          60       60              
  Lines        2550     2480      -70     
==========================================
- Hits         2523     2453      -70     
  Misses         27       27
Impacted Files Coverage Δ
moban/repo.py 100% <100%> (ø) ⬆️
tests/test_repo.py 100% <100%> (ø) ⬆️
tests/test_utils.py 91.66% <0%> (-0.34%) ⬇️
tests/mobanfile/test_targets.py 97.05% <0%> (-0.05%) ⬇️
moban/mobanfile/__init__.py 99.24% <0%> (-0.01%) ⬇️
tests/mobanfile/test_mobanfile.py 100% <0%> (ø) ⬆️
tests/test_engine.py 100% <0%> (ø) ⬆️
tests/test_main.py 100% <0%> (ø) ⬆️
moban/jinja2/filters/repr.py 100% <0%> (ø) ⬆️
moban/data_loaders/json_loader.py 100% <0%> (ø) ⬆️
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6b131f...f13e613. Read the comment docs.

Copy link
Member

@chfw chfw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@chfw chfw merged commit 4ffe02e into moremoban:dev Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

giturlparse vs git-url-parse
3 participants