aboutsummaryrefslogtreecommitdiff
path: root/pkgs/build-support/fetchrepoproject (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fetchRepoProject: add manifestName parameterNick Spinale2019-09-111-1/+2
|
* treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-101-3/+3
|
* treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson2018-01-091-1/+1
|
* fetchRepoProject: Fetch into $out and make it deterministicMichael Weiss2017-09-171-2/+13
| | | | | | | | | | | | Fetch into $out and remove all version control files to make it deterministic (.repo and all .git subdirectories - e.g. the .git/index files change every time). Additionally I've changed the default of "useArchive" to false because fetching with "--archive" will fail for some projects (e.g. "platform/external/iosched" from the AOSP). Now, this function should hopefully work for every tag of the AOSP.
* gitRepo: Fix an error due to missing TLS certificatesMichael Weiss2017-09-161-2/+0
| | | | | | | | | | | | | | | | This was a problem when run inside a sandbox, e.g. via "fetchRepoProject". The error message from repo seems unrelated: fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle fatal: error no host given But the exception is actually thrown due to missing certificates (/etc/ssl/certs). It should be possible to provide another location via environment variables (e.g. SSL_CERT_FILE, REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE) but apparently that doesn't actually work for some reason (would have to study our Python packaging). Now "fetchRepoProject" works without the "--no-clone-bundle" option.
* fetchRepoProject: Fix the GnuPG verificationMichael Weiss2017-09-161-3/+5
| | | | | | | | | | | The verification was failing with the following error: gpg: keyblock resource '/tmp/nix-build-XYZ.drv-0/.repo/repo/./.repoconfig/gnupg/pubring.kbx': No such file or directory Using an absolute path for $HOME fixes this. And since 175ecbab9163fa6d5dc7481c6258301833e02042 the dependencies on "git" and "gnupg" aren't required anymore as "gitRepo" already covers them.
* fetchRepoProject: Refactor the codeMichael Weiss2017-09-161-36/+29
| | | | Should hopefully make it a bit more readable and less redundant.
* fetchRepoProject: typoSophie Taylor2017-03-271-1/+1
|
* fetchRepoProject: fixupSophie Taylor2017-03-261-1/+1
|
* fetchRepoProject: typoSophie Taylor2017-03-261-1/+1
|
* Merge branch 'master' into fetchGitRepoSophie Taylor2017-03-261-1/+11
|\
| * fetchrepoproject: cleanup extra flagsDaiderd Jordan2017-03-251-11/+20
| |
| * fetchRepoProject: Fix buildCommandSophie Taylor2017-03-251-4/+5
| |
| * fetchrepoproject: fix evaluationDaiderd Jordan2017-03-241-5/+4
| |
* | fetchRepoProject: fixes; more optionsSophie Taylor2017-03-261-14/+35
|/
* fetchRepoProject: init.Sophie Taylor2017-03-241-0/+42
Added to grab projects added by git-repo. Contains some problems still reguarding purity and clone.bundle, but good enough for now.