summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-11-03 07:15:24 +0100
committerGitHub <noreply@github.com>2021-11-02 23:15:24 -0700
commit78c08fccd56d073a336eeee3dd4548d81101c920 (patch)
tree3d81383f9575f2f7163fc1163129be4b33cf0e9a /share
parent1a3747b2b3a8cd9416f1875ce0f72756630740e6 (diff)
downloadspack-78c08fccd56d073a336eeee3dd4548d81101c920.tar.gz
spack-78c08fccd56d073a336eeee3dd4548d81101c920.tar.bz2
spack-78c08fccd56d073a336eeee3dd4548d81101c920.tar.xz
spack-78c08fccd56d073a336eeee3dd4548d81101c920.zip
Bootstrap GnuPG (#24003)
* GnuPG: allow bootstrapping from buildcache and sources * Add a test to bootstrap GnuPG from binaries * Disable bootstrapping in tests * Add e2e test to bootstrap GnuPG from sources on Ubuntu * Add e2e test to bootstrap GnuPG on macOS
Diffstat (limited to 'share')
-rw-r--r--share/spack/bootstrap/github-actions/gnupg.json204
-rwxr-xr-xshare/spack/spack-completion.bash2
2 files changed, 205 insertions, 1 deletions
diff --git a/share/spack/bootstrap/github-actions/gnupg.json b/share/spack/bootstrap/github-actions/gnupg.json
new file mode 100644
index 0000000000..d6400febfc
--- /dev/null
+++ b/share/spack/bootstrap/github-actions/gnupg.json
@@ -0,0 +1,204 @@
+{
+ "verified": [
+ {
+ "binaries": [
+ [
+ "libgpg-error",
+ "hph66gvb7vlinpzwoytxq27ojb7gtl2j",
+ "f040f513e212c428ee863d75924331f58b5f8f3946f98c757a9e0af0d0a34f63"
+ ],
+ [
+ "libiconv",
+ "ckpif6rcf7mxdmceyv6sqvtnwfqi7fmc",
+ "1d745d04f7c8a1c4d17d9735eba0ee88c8acfbb213c22a15e45e58637867ed4c"
+ ],
+ [
+ "npth",
+ "fjuoy73whriauk3bt6ma5fwet6iric7y",
+ "78d5d9e339ef901b0def0924a72ce87a93e0a8acb7394ec2c35be6c328154444"
+ ],
+ [
+ "zlib",
+ "qo6otxqnn6mxpw4zhqc4wdwqmgcfjdfe",
+ "f00c38ecaf316cd665399ed14c233f839ae5868387ff04998e1ec949c1f4dcd6"
+ ],
+ [
+ "libassuan",
+ "2upi74qccouj4k6d7wultp2u5fntayi3",
+ "f2118b102f9a94bb1e2804492689b44b260b7f6e46ac1208d5110ebffe24bf99"
+ ],
+ [
+ "libgcrypt",
+ "xzhvvm44cfxwvgqgkpbeucpnl4dbj4p2",
+ "ae717e068f2f7f4eaeee4bdec4a6b20ff299c59c3d724c1661b6045fda628a9b"
+ ],
+ [
+ "libksba",
+ "aodyg5mzfule3vimuetmzulv5mzdx37g",
+ "c665eb20f27b2d28fcb634fe958829165e44a27b1ad69995d5040f13d5693d52"
+ ],
+ [
+ "pinentry",
+ "ihqcvdm5okxuvnln463l7h4flbkhrp44",
+ "b0c7781354eb4a7c9e979802590c0e4fb7eb53f440191367f0142eac4868f8d6"
+ ],
+ [
+ "gnupg",
+ "47vilwybwuxved7jov7esiad3qlkv5rp",
+ "83f3de13b2712a05f520d16b5141797493f8b117041dd32aa5414a25d9d53439"
+ ]
+ ],
+ "spec": "gnupg@2.3: %apple-clang platform=darwin target=x86_64"
+ },
+ {
+ "binaries": [
+ [
+ "libgpg-error",
+ "3dkguooajaaejhsebigs2e3lhk37mtem",
+ "09c5edd93fb479961d62d9938c1ea02b8f443babf0e79776f1539085c3422cd5"
+ ],
+ [
+ "libiconv",
+ "i2eqtudh3zcxt5fvxuhe6n2ztuqbadtp",
+ "838786e029474d668b5f83a9669d227c812253c3c3f0328aa4f888542a7de830"
+ ],
+ [
+ "npth",
+ "c3z6gg3ilutvvryxkjrboampqv5u5s2s",
+ "967522ae988ccce8c922f28aa2124170246f501f0a45179b919d827bf28c35d2"
+ ],
+ [
+ "zlib",
+ "p2jozvok56voja7652dms4gvthpcjzta",
+ "41cbc69850640ed4466dbedc1bb4ccb0ade0c1a1e8fcd70d1e247b1387b937b5"
+ ],
+ [
+ "libassuan",
+ "s2wx2xvt3iz3sigcdt5tvppj2m7e2bsf",
+ "5f766af4ff355769e3e456a9c95636a20a64f5ba32aecec633216a3d83a854f8"
+ ],
+ [
+ "libgcrypt",
+ "gznmtryix6ck4x3chnuvbctz4xa3fmxl",
+ "0261b03f790c5320980d27bf0a471a1a4663929689ddfaeb5e568d33be8dc889"
+ ],
+ [
+ "libksba",
+ "uxaryyfybbcw563jcwumufhfmbsawlbz",
+ "f45fff7a6a5c626a1474c7354fd00e18e629fcd086787336f7d62d1ead50c94f"
+ ],
+ [
+ "pinentry",
+ "ias6sb4qi24u6i7axr5hkj4liq5dtr6l",
+ "a2a8e7652dceb7d080ff78726d28099f9050cb9f6e290d97f1f59f4b42521b9c"
+ ],
+ [
+ "gnupg",
+ "qpm457bujhmfqy66euzhswokumuvufbz",
+ "d2371e26412e10fc702b9b2482aff776108194b84e1927644a3d64f5710fd163"
+ ]
+ ],
+ "spec": "gnupg@2.3: %gcc platform=linux target=aarch64"
+ },
+ {
+ "binaries": [
+ [
+ "libgpg-error",
+ "4bp6dcfdbzbd4uuzvbgjyqunhjedg3lf",
+ "9a9947240c6af7e915aa8336bfaed8706c9129967eb9ab1895598217df91f301"
+ ],
+ [
+ "libiconv",
+ "dscneqtpyy32r6ds24izlkki3euthnbr",
+ "a9dc099f6c7ee9fd6c63757cb81a59fe4b81672543d5253a50bb73bc819440ef"
+ ],
+ [
+ "npth",
+ "jukmafxhkxo2s4udlzi5r5b6bbb3udw5",
+ "d2a2b11c0f1794ab0de813753221bde073508fbec19f0b15dbfd23455bc6de87"
+ ],
+ [
+ "zlib",
+ "amqfrcbn67rochzkeu2ashklo35ayqqq",
+ "686fc10058d208530889bc5c3779aa2cc324b77301878a5405cf65ca53d613ba"
+ ],
+ [
+ "libassuan",
+ "lyeih2j3miy7yugmwh37h667fogqn3fl",
+ "f87c474d81c890232cd8e1e4d93b5b232aa0ad428dcaa7231d7a8d182cea9ecc"
+ ],
+ [
+ "libgcrypt",
+ "zb33zulvwcansfzu5km4d34avujnazfa",
+ "e67ae6a5345f9e864bd2009c1a9d7eb65a63ca2841368bebc477a770fb8dcaf5"
+ ],
+ [
+ "libksba",
+ "yjuh2aplj23qyvaqixukd7a6eokfdgyp",
+ "6944fc047e8f0eb41daec734e2505016369319c64929f5ec8d3a8f99e01928d4"
+ ],
+ [
+ "pinentry",
+ "xd7vajghgcueohv5qgahdvbjpcnrurns",
+ "a6b37efd6ef9f9374aa0c7d1869da990ae3668938b47ad6af50138d2ea05da02"
+ ],
+ [
+ "gnupg",
+ "ti2ddl27nilobj2ctwsgzl52qque5o7z",
+ "43781437e3dfae158e7a6911313a4162d8ffa5313182438d1e6547a854f6f38a"
+ ]
+ ],
+ "spec": "gnupg@2.3: %gcc platform=linux target=ppc64le"
+ },
+ {
+ "binaries": [
+ [
+ "libgpg-error",
+ "p7chd5hhecdkc27npia4uaoeabjit4gh",
+ "4b5e1f418b7afdd91755d54d38a51d5d048aa3b1e5239bcaf3453c8ca1cca4b6"
+ ],
+ [
+ "libiconv",
+ "scpkgy6bmk3wcgfwzoiv7hw74drmnaoi",
+ "2bcb9a2868c20284ce65ab53d4f7bb4c7edccd4c14390460858e25a8bc48faa3"
+ ],
+ [
+ "npth",
+ "6vh3jypaf7u2zez3vohn66fvo6znt35l",
+ "23a333c4e83910eb1f87c91caffb07f40b592561a4c44924fed9459751c017f7"
+ ],
+ [
+ "zlib",
+ "uc25tb5r57nykfrxszsdy54trzqnk2jn",
+ "9e18c1146bc3dcb8454d18502013b8621ecf00d2f2d4d66d76cbe1e07f351ac8"
+ ],
+ [
+ "libassuan",
+ "vdoskg5mldu6ixhvftwplp4zdftwxwws",
+ "1413b84af0c58127032e7bde86dbacf35dc65205aee1c2071718678bc57ce793"
+ ],
+ [
+ "libgcrypt",
+ "ng7gfusjpnypmqgckq7rp4vq3bvylp3b",
+ "1a09e97eb2333812f8381d4737aca4d7cfd9f27ebae30eddbcf99f399ad67fec"
+ ],
+ [
+ "libksba",
+ "p4feho36xa7dhabk766fzglwyo2dfbj6",
+ "000ef0f2ad3aa05c07272849be68e059ec60946970ab8875a824305afe832c9a"
+ ],
+ [
+ "pinentry",
+ "m423kpm7k52r66q3sdctqcjxtekiyrrp",
+ "5739bee66271d7f0d5b9bcf5c248f1a434e9cdcb327a4a5a22fc47f565ac0de7"
+ ],
+ [
+ "gnupg",
+ "dlapzqxrwduafgfq2evptizb7p4kgpkh",
+ "262177fa8f66468e589f8b3e10d17531f17a74ea0f5ac6905ac948198dca3c3c"
+ ]
+ ],
+ "spec": "gnupg@2.3: %gcc platform=linux target=x86_64"
+ }
+ ]
+} \ No newline at end of file
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 90bb79a66a..b88379b59c 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -511,7 +511,7 @@ _spack_buildcache_create() {
_spack_buildcache_install() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -f --force -m --multiple -a --allow-root -u --unsigned -o --otherarch --sha256"
+ SPACK_COMPREPLY="-h --help -f --force -m --multiple -a --allow-root -u --unsigned -o --otherarch --sha256 --only-root"
else
_all_packages
fi