1 |
W dniu sob, 18.11.2017 o godzinie 10∶22 +0100, użytkownik Michał Górny |
2 |
napisał: |
3 |
> Introduce a new, more flexible override API in git-r3, in replacement |
4 |
> of the LIVE_* API that was pretty much a legacy of git-2. This means to |
5 |
> solve the two major limitations of the old API: |
6 |
> |
7 |
> 1. The variables were based on package names without categories. |
8 |
> Therefore, they weren't suitable whenever two packages had the same |
9 |
> category. This is quite common when dealing with various programming |
10 |
> language bindings/reimplementations, and we can't really rely on every |
11 |
> new programming language inventing its own VCS. |
12 |
> |
13 |
> 2. The overrides weren't suitable for packages checking out multiple |
14 |
> repositories (LLVM, wine, glibc). |
15 |
> |
16 |
> The new mode for overrides uses the repository name (as guessed |
17 |
> by git-r3) transformed into correct variable name. The specifically |
18 |
> defined variables are: |
19 |
> |
20 |
> - EGIT_OVERRIDE_REPO_${NAME} -- to override the repository URI, |
21 |
> |
22 |
> - EGIT_OVERRIDE_BRANCH_${NAME} -- to override the branch, |
23 |
> |
24 |
> - EGIT_OVERRIDE_COMMIT_${NAME} -- to override the commit id or tag, |
25 |
> |
26 |
> - EGIT_OVERRIDE_COMMIT_DATE_${NAME} -- to request last commit older than |
27 |
> the specified date. |
28 |
> |
29 |
|
30 |
Merged now. |
31 |
|
32 |
-- |
33 |
Best regards, |
34 |
Michał Górny |