-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix Gitlab parsing for repo with -
#76
Fix Gitlab parsing for repo with -
#76
Conversation
Gitlab URLs has the format with "/-/blob/". This commit fixs the parser editing the FORMAT string with the "/-/" before the ('blob'|'tree'). Resolves nephila#42
For retrocompatibility
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #76 +/- ##
=========================================
Coverage ? 94.22%
=========================================
Files ? 12
Lines ? 225
Branches ? 49
=========================================
Hits ? 212
Misses ? 10
Partials ? 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@boozec Sorry to bother, but after merging |
Hi @protoroto it was caused by a typo with a |
Thank you very much! I really hope we'll be able to merge this and release a new version as soon as possible! |
Hi all 👋 unfortunately the branch rename closed the old PR at #74
Description
Gitlab URLs has the format with "/-/blob/". This PR fixs the parser editing the FORMAT string with the "/-/" before the ('blob'|'tree').
eg: The string "https://gitlab.com/gitlab-org/gitlab/blob/master/README.md" is valid as "https://gitlab.com/gitlab-org/gitlab/-/blob/master/README.md".
References
Fixs #42
Checklist
inv lint