1 |
Hello, |
2 |
|
3 |
git-2.eclass is in the tree for a while now, and there's still awful |
4 |
lot of packages using old & deprecated git.eclass. |
5 |
|
6 |
Why migrate? |
7 |
- git-2 supports fallback SRC_URIs -- you can set it to prefer git:// |
8 |
but fallback to http:// if git is unreachable (e.g. due to firewall), |
9 |
- git-2 is cleaner and has a better design (no more src_prepare()!), |
10 |
- git-2 handles submodules better, |
11 |
- git.eclass is no longer supported and will go away. |
12 |
|
13 |
I'm attaching a list of packages still using git.eclass, grouped by |
14 |
herds and maintainers. |
15 |
|
16 |
Additional resources: |
17 |
- list of packages using git.eclass [1], |
18 |
- devmanual entry for git-2.eclass [2], |
19 |
- an example ebuild for a git.overlays.g.o package [3], |
20 |
- an example ebuild for a github package [4]. |
21 |
|
22 |
[1]:http://qa-reports.gentoo.org/output/eclass-usage/git.txt |
23 |
[2]:http://devmanual.gentoo.org/eclass-reference/git-2.eclass/index.html |
24 |
[3]:http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=blob;f=sys-apps/pms-test-suite/pms-test-suite-9999.ebuild;h=07a29e9f |
25 |
[4]:http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=blob;f=app-portage/flaggie/flaggie-9999.ebuild;h=166f6b38 |
26 |
|
27 |
-- |
28 |
Best regards, |
29 |
Michał Górny |