Skip to content

Conversation

@darkdragon-001
Copy link
Contributor

@darkdragon-001 darkdragon-001 commented Feb 14, 2022

Relative URLs should be handled first, only as a fallback we should use giturlparse. It won't throw and error, for relative paths so the try/catch was never used. Also the parsed attributes names changed.

Usually we want to iterative over all submodules. In case they are hosted somewhere else, we would still like to access all available properties like submodule path or commit id. I built in a fallback mechanism which could be checked in client code via subproject.project is None.

@ValentinFrancois
Copy link
Owner

Solved by #7, closing

@darkdragon-001 darkdragon-001 deleted the fix-url-parsing branch March 7, 2022 09:47
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.

2 participants