You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current versions of gix-url have added quite a few dependencies, including many ICU crates and other dependencies that look related to international domain names.
Please consider adding a feature flag to drop all support for URLs and anything that depends on URLs (other than opaquely), so that software working exclusively with local repositories can avoid all of the dependencies of gix-url.
The text was updated successfully, but these errors were encountered:
I think it will be helpful with this that the url crate is an implementation detail, and is used once to parse a URL into its constituents.
In theory, gitoxide could adopt the URL parsing routing of Git which parses the URL itself entirely. Whether correct or not, at least that should bring gitoxide closer to Git - the baseline tests currently have a 60% failure rate, so most of the 265 permutations in URLs don't parse similarly.
Given that, I think it will be preferable to push for full compliance and remove the url crate entirely.
Whether you do the URL parsing directly or use a crate for it, I would expect that the handling of IDNs and similar will still involve some additional dependencies and overhead. So either way, it may make sense to have a feature flag (enabled by default) controlling URL functionality.
The key of what gix-url is doing is (probably mostly) implemented in parse_connect_url() and that doesn't know about IDN at all. For compatibility, dealing with it certainly wouldn't be required. I also checked other bits like url.c and urlmatch.c, and they didn't refer to external resources in an obvious way at least.
Being en-par with Git seems like the way to go, also to finally pass all baseline tests, and it should be alright not to deal with IDNs until Git does. And then, I'd think support for IDNs should still be feature-toggled.
Current versions of gix-url have added quite a few dependencies, including many ICU crates and other dependencies that look related to international domain names.
Please consider adding a feature flag to drop all support for URLs and anything that depends on URLs (other than opaquely), so that software working exclusively with local repositories can avoid all of the dependencies of gix-url.
The text was updated successfully, but these errors were encountered: