Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Please migrate to git-2.eclass
Date: Fri, 24 Jun 2011 21:36:21
Message-Id: 20110624233533.6d08b32f@pomiocik.lan
Hello,

git-2.eclass is in the tree for a while now, and there's still awful
lot of packages using old & deprecated git.eclass.

Why migrate?
- git-2 supports fallback SRC_URIs -- you can set it to prefer git://
  but fallback to http:// if git is unreachable (e.g. due to firewall),
- git-2 is cleaner and has a better design (no more src_prepare()!),
- git-2 handles submodules better,
- git.eclass is no longer supported and will go away.

I'm attaching a list of packages still using git.eclass, grouped by
herds and maintainers.

Additional resources:
- list of packages using git.eclass [1],
- devmanual entry for git-2.eclass [2],
- an example ebuild for a git.overlays.g.o package [3],
- an example ebuild for a github package [4].

[1]:http://qa-reports.gentoo.org/output/eclass-usage/git.txt
[2]:http://devmanual.gentoo.org/eclass-reference/git-2.eclass/index.html
[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
[4]:http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=blob;f=app-portage/flaggie/flaggie-9999.ebuild;h=166f6b38

-- 
Best regards,
Michał Górny

Attachments

File name MIME type
git-eclass.txt text/plain
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: Please migrate to git-2.eclass Nikos Chantziaras <realnc@×××××.de>
Re: [gentoo-dev] Please migrate to git-2.eclass justin <jlec@g.o>
Re: [gentoo-dev] Please migrate to git-2.eclass "Michał Górny" <mgorny@g.o>