Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367115 - [git-2.eclass] support EGIT_PROJECT and several non submodules repositories
Summary: [git-2.eclass] support EGIT_PROJECT and several non submodules repositories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 17:25 UTC by Nikoli
Modified: 2011-07-30 15:16 UTC (History)
0 users

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


Attachments
patch, works fine for me (git-2.eclass.patch,2.80 KB, patch)
2011-05-13 17:25 UTC, Nikoli
Details | Diff
patch, works fine for me (git-2.eclass.patch,4.14 KB, patch)
2011-05-15 06:53 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2011-05-13 17:25:28 UTC
Created attachment 273117 [details, diff]
patch, works fine for me

git(1).eclass is able to store repository under any name through usage of EGIT_PROJECT variable, this feature is used in many ebuilds.
Some ebuilds (net-im/psi for example) need to clone several git urls which are not submodules, in git(1).eclass it works fine with git_fetch function, but again not possible in git-2.eclass.

Now without this features it is hard to port ebuilds with complex src_unpack to git-2.eclass, only simple can be migrated painless.

Attached patch solves this problems.
Comment 1 Nikoli 2011-05-15 06:53:31 UTC
Created attachment 273239 [details, diff]
patch, works fine for me

updated patch, fixed submodules support.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-30 15:16:34 UTC
Both items on this bug should be fixed. As i needed multiple clones in the libreoffice ebuild.