Summary: | git-2.eclass - add support for multiple repositories | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yixun Lan <dlan> |
Component: | Eclasses | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
git-2.eclass test ebuild
eclass debug log |
Description
Yixun Lan
2013-08-04 07:37:47 UTC
Created attachment 355088 [details]
git-2.eclass test ebuild
Created attachment 355090 [details]
eclass debug log
after talking to @mgorny, this can be achieved to call git-2_src_unpack() multi times to fetch several repos. src_unpack() { EGIT_REPO_URI="git://myfoobar.org/foo.git" EGIT_SOURCEDIR="${S}/foo" git-2_src_unpack EGIT_REPO_URI="git://myfoobar.org/bar.git" EGIT_SOURCEDIR="${S}/bar" git-2_src_unpack } thanks In my opinion this is not something we should do. The effort and potential confusion would be greater than the benefit, and AFAIK no other VCS eclass supports multi-repo natively. If there's something that causes trouble when doing multiple eclass function calls, please let us know and we'll fix it. But currently this seems like the proper thing to do -- or at least most proper, considering that using multiple repositories like that is broken by design. Use git-r3.eclass instead |