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 |