summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* git-r3.eclass: Undocument deprecated EGIT_LIVE_* APIMichał Górny2018-09-181-8/+1
|
* git-r3.eclass: Print possible override vars for user convenienceMichał Górny2018-09-181-1/+11
|
* git-r3.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* git-r3.eclass: Unconditionally depend on dev-vcs/git[curl] for HTTPSMichał Górny2018-06-131-27/+2
| | | | | | | Since HTTPS is strongly preferred in git-r3 eclass, there is no point in optimizing it for non-HTTPS use. Therefore, unconditionally depend on dev-vcs/git[curl] rather than verbosely failing when HTTPS is used and the dependency is not satisfied.
* git-r3.eclass: Ban EAPIs 0 through 3Michał Górny2018-06-131-1/+4
| | | | | | The code already uses USE dependencies which are not valid for EAPIs 0 and 1. Furthermore, according to qa-reports the eclass is not used in any EAPI older than 4.
* git-r3.eclass: Support EAPI 7Michał Górny2018-05-071-12/+27
| | | | | Enable support for EAPI 7. Use BDEPEND for dev-vcs/git dependency since git is run at build time. Update has_version logic appropriately.
* eclass: misc spelling fixesMike Frysinger2018-03-281-3/+3
|
* git-r3.eclass: Support more flexible EGIT_OVERRIDE_* APIs for userMichał Górny2017-11-281-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* git-r3.eclass: Support checking out specific subdirectoriesMichał Górny2017-11-281-3/+17
| | | | | | | | | Support limiting the git checkout to specific subdirectories of the git tree, using 'git checkout ... -- <paths>...' The main use case for this is doing partial checkouts of very large repositories where only a small subset of files is necessary. Doing partial checkouts can save both time and disk space which can be important in large intertwined projects such as LLVM+Clang.
* git-r3.eclass: Copy packed-refs during manual cloneSven Wegener2017-09-181-0/+3
| | | | Signed-off-by: Sven Wegener <swegener@gentoo.org>
* eclass/git-r3.eclass: TypoJeroen Roovers2017-09-011-1/+1
|
* git-r3.eclass: Explicitly warn about unsecure protocolsMichał Górny2017-08-251-1/+11
| | | | | | | Explicitly warn about any URI that uses an unsecure protocol (git, http) even if it's a fallback URI. This is necessary because an attacker may block HTTPS connections, effectively forcing the fallback to the unsecure protocol.
* git-r3.eclass: Update docs to discourage unsafe protocolsMichał Górny2017-08-251-6/+10
|
* git-r3.eclass: Remove unused eutils inheritMichał Górny2017-04-141-7/+1
|
* git-r3.eclass: Document EGIT_COMMIT* <=> EGIT_BRANCH, #612852Michał Górny2017-03-181-3/+5
| | | | Document the relation between EGIT_COMMIT* and EGIT_BRANCH variables.
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* git-r3.eclass: Escape all weird chars in submodule names, #606950Michał Górny2017-01-251-4/+5
|
* git-r3.eclass: Fix var names for packages starting with digits, #596912Michał Górny2016-10-221-0/+1
| | | | | | Fix live variable names for packages whose names start with digits. Since variable names can not start with digits in bash, just prepend an underscore to them.
* git-r3.eclass: Make git[curl] warning non-fatal, extend to HTTP, #597356Michał Górny2016-10-171-7/+12
| | | | | | | | | | | | Make the warning about missing dev-vcs/git[curl] for HTTP(S) support non-fatal since the ebuild can specify non-HTTP(S) fallback URIs which would otherwise be ignored. The eclass will die if all URIs fail anyway. Extend the check to cover both HTTPS and plain HTTP. Reported by Coacher. Bug: https://bugs.gentoo.org/597356
* git-r3.eclass: Support checking out repo by date, #510704Michał Górny2016-05-311-11/+58
|
* git-r3.eclass: Allow *_LIVE* to unset ebuild-defined varsMichał Górny2016-05-261-3/+3
|
* git-r3.eclass: Support switching refs with EVCS_OFFLINE, #575898Michał Górny2016-05-261-109/+114
|
* git-r3.eclass: Do not create clone dirs if EVCS_OFFLINE is being usedMichał Górny2016-05-261-1/+9
|
* git-r3.eclass: Remove special logic for obsolete Google CodeMichał Górny2016-05-261-17/+1
| | | | | Remove the special logic that was needed to handle Google Code git hosting since the service has been discontinued and no longer works.
* git-r3.eclass: Support EGIT_SUBMODULES to filter used submodules, #497164Michał Górny2016-05-261-1/+53
|
* git-r3.eclass: Remove unnecessary HEAD->branch mapping code, #524146Michał Górny2016-05-261-58/+4
| | | | | | | | Remove the code responsible for recognizing which branch HEAD pointed out to since it was unsafe and unnecessarily complex. A proper match is not really necessary since all operations can be safely performed on an opaque 'HEAD' (or rather refs/git-r3/HEAD since fetching to HEAD directly breaks git a bit).
* git-r3.eclass: Filter out /. components from submodule refs, #572312Michał Górny2016-02-051-1/+6
|
* git-r3.eclass: Unset local function after useMichał Górny2015-12-061-0/+1
|
* git-r3.eclass: Accept any ref rather than refs/heads/* onlyMichał Górny2015-11-291-3/+3
| | | | Fixes: https://bugs.gentoo.org/show_bug.cgi?id=556822
* git-r3.eclass: Remove unused variableMichał Górny2015-11-291-2/+1
|
* git-r3.eclass: Improve the comments a bitMichał Górny2015-11-291-4/+4
|
* git-r3.eclass: Add EAPI 6 supportMichał Górny2015-11-191-1/+1
|
* git-r3.eclass: Remove redundant ||die in subshellMichał Górny2015-11-191-1/+1
|
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+988
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed