diff options
author | 2017-11-18 10:14:31 +0100 | |
---|---|---|
committer | 2017-11-28 10:14:47 +0100 | |
commit | 17d7a4564177b1985e4b7e8f23a8efbc4d5c32ae (patch) | |
tree | 35d847d3dfea6d2a53e6db43675a402c9f12a443 /sys-cluster/glusterfs/files | |
parent | sys-libs/libcxxabi: Utilize partial git checkout (diff) | |
download | gentoo-17d7a4564177b1985e4b7e8f23a8efbc4d5c32ae.tar.gz gentoo-17d7a4564177b1985e4b7e8f23a8efbc4d5c32ae.tar.bz2 gentoo-17d7a4564177b1985e4b7e8f23a8efbc4d5c32ae.zip |
git-r3.eclass: Support more flexible EGIT_OVERRIDE_* APIs for user
Introduce a new, more flexible override API in git-r3, in replacement
of the LIVE_* API that was pretty much a legacy of git-2. This means to
solve the two major limitations of the old API:
1. The variables were based on package names without categories.
Therefore, they weren't suitable whenever two packages had the same
category. This is quite common when dealing with various programming
language bindings/reimplementations, and we can't really rely on every
new programming language inventing its own VCS.
2. The overrides weren't suitable for packages checking out multiple
repositories (LLVM, wine, glibc).
The new mode for overrides uses the repository name (as guessed
by git-r3) transformed into correct variable name. The specifically
defined variables are:
- EGIT_OVERRIDE_REPO_${NAME} -- to override the repository URI,
- EGIT_OVERRIDE_BRANCH_${NAME} -- to override the branch,
- EGIT_OVERRIDE_COMMIT_${NAME} -- to override the commit id or tag,
- EGIT_OVERRIDE_COMMIT_DATE_${NAME} -- to request last commit older than
the specified date.
Diffstat (limited to 'sys-cluster/glusterfs/files')
0 files changed, 0 insertions, 0 deletions