Skip to content

Conversation

@ValentinFrancois
Copy link
Owner

@ValentinFrancois ValentinFrancois commented Feb 19, 2022

@darkdragon-001 thank you for your contributions, I already merged the 2 small ones.

About parsing the URLs (#3), I thought I had tested the code with some relative submodules, but your PR clearly showed the need of more tests.

So I created https://gitlab.com/python-gitlab-submodule-test/test-projects and I'm now using it for automated tests. This revealed other issues in the parsing logic that should be fixed now.

This PR gathers your original fixes + mine. I also added some more optional args. Feel free to review it and if you agree I'll close the old one.

@ValentinFrancois ValentinFrancois force-pushed the main branch 2 times, most recently from 717f900 to 3fbaab6 Compare February 21, 2022 03:18
@ValentinFrancois ValentinFrancois changed the title Fix parsing submodule URL (passes tests) [PATCH] Fix parsing submodule URL (passes tests) Feb 21, 2022
@darkdragon-001
Copy link
Contributor

Awesome! You code looks good and I tested it in my project without problems. Highly appreciate the addition of more tests!

Looks good to me and you can close my other PR when merging this one.

@ValentinFrancois
Copy link
Owner Author

@darkdragon-001 wonderful, merging now

@ValentinFrancois ValentinFrancois merged commit e0517c1 into main Feb 21, 2022
@ValentinFrancois ValentinFrancois deleted the fix-url-parsing branch February 21, 2022 14:49
@ValentinFrancois
Copy link
Owner Author

Version 0.1.5 released at https://pypi.org/project/python-gitlab-submodule/0.1.5/

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.

3 participants