about summary refs log tree commit diff
path: root/pkgs/build-support/fetchrepoproject
AgeCommit message (Collapse)AuthorFilesLines
2024-03-19Avoid top-level `with ...;` in pkgs/build-support/fetchrepoproject/default.nixPhilip Taron1-2/+7
2023-08-06fetchrepoproject: fix a bug that was there since ↵Jan Malakhovski1-1/+1
bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4
2021-01-27treewide: stdenvNoCC.lib -> libBen Siraphob1-2/+2
2019-09-11fetchRepoProject: add manifestName parameterNick Spinale1-1/+2
2018-01-10treewide: Fetchers should use `stdenvNoCC`.John Ericson1-3/+3
2018-01-09treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson1-1/+1
2017-09-17fetchRepoProject: Fetch into $out and make it deterministicMichael Weiss1-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.
2017-09-16gitRepo: Fix an error due to missing TLS certificatesMichael Weiss1-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.
2017-09-16fetchRepoProject: Fix the GnuPG verificationMichael Weiss1-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.
2017-09-16fetchRepoProject: Refactor the codeMichael Weiss1-36/+29
Should hopefully make it a bit more readable and less redundant.
2017-03-27fetchRepoProject: typoSophie Taylor1-1/+1
2017-03-26fetchRepoProject: fixupSophie Taylor1-1/+1
2017-03-26fetchRepoProject: typoSophie Taylor1-1/+1
2017-03-26Merge branch 'master' into fetchGitRepoSophie Taylor1-1/+11
2017-03-26fetchRepoProject: fixes; more optionsSophie Taylor1-14/+35
2017-03-25fetchrepoproject: cleanup extra flagsDaiderd Jordan1-11/+20
2017-03-25fetchRepoProject: Fix buildCommandSophie Taylor1-4/+5
2017-03-24fetchrepoproject: fix evaluationDaiderd Jordan1-5/+4
2017-03-24fetchRepoProject: init.Sophie Taylor1-0/+42
Added to grab projects added by git-repo. Contains some problems still reguarding purity and clone.bundle, but good enough for now.