Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] git-r3: initial draft for review [v3]
Date: Sat, 31 Aug 2013 21:01:14
Message-Id: 20130831225943.42f66018@gentoo.org
In Reply to: [gentoo-dev] git-r3: initial draft for review by "Michał Górny"
1 A few more changes.
2
3 1. Added EGIT_CHECKOUT_DIR to control the place where stuff is checked
4 out.
5
6 2. Moved the defaults from src_fetch() and src_unpack()
7 into git-r3_fetch() and git-r3_checkout(). This makes using them
8 easier, like:
9
10 git-r3_fetch http://repo1
11 git-r3_fetch http://repo2
12 git-r3_checkout http://repo1
13 git-r3_checkout http://repo2 ${S}/foo
14
15 3. Added prototype pkg_isuptodate() function [bug 482666 [1]].
16
17 (I will update it when we decide on how the func should be named :))
18
19 As an additional testing tool, I attached the version of git-r3
20 converted to git-2 compatible API. IOW, a drop-in replacement that you
21 could use to test the new eclass internals with API almost fully
22 compatible with the old one.
23
24 [1]:https://bugs.gentoo.org/show_bug.cgi?id=482666
25
26 --
27 Best regards,
28 Michał Górny

Attachments

File name MIME type
git-r3.eclass.diff text/x-patch
git-r3.eclass text/plain
git-2.eclass text/plain
signature.asc application/pgp-signature