Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763144 - git-r3.eclass: auto-substitution for submodule urls
Summary: git-r3.eclass: auto-substitution for submodule urls
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 15:46 UTC by Nikita Zlobin
Modified: 2021-01-08 05:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2021-01-02 15:46:32 UTC
Some projects under git vcs, using submodules, intentionally prefer unsafe git protocal instead of https for submodules, without all chances for fix ruined.
I just got first serious reason, like of OSX 10.5 compatibility, though can't find words to google more about it: https://github.com/x42/x42-plugins/pull/2

It could be posible to do substitution in src_unpack() if there were separate functions to fetch without submodules, than fetch single level, which would be used after substitution in each of them, but it seems to be enough complex to deserve place in eclass.

So, I see at least 1 usage - substitude git/http with https for certain hosts, that are known to support it automatically. Github, gitlab, savannah, sourceforge are certain - these could be configured by default.
Comment 1 Ionen Wolkens gentoo-dev 2021-01-08 05:38:49 UTC
Sounds like bug #661094