Make it possible to build production GnuPG's from git tags

Simon Josefsson <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
Hi

There is a discussion in the Guix community about building GnuPG
directly from git tags:

https://codeberg.org/guix/guix/issues/10622

What do you think about making it possible to build GnuPG's intended for
production use from git tags?

I see two things that would help, besides the necessary autoconf
source-code tweaking:

1) Declaring some public git server (or mirror) as officially supported,
one that doesn't fall over due to AI scrapers.

-and/or-

2) Publishing 'git-archive' tarballs, which could be used as long-term
archival copies of the git repository in case it goes away.  They would
contain the exact same content as git tag but without the .git
sub-directory.  Typically created like this:

   git archive --prefix=gnupg-v2.5.21/ -o gnupg-v2.5.21-src.tar.gz v2.5.21

or programmatically something like:

   git archive --prefix=gnupg-$(git describe)/ -o gnupg-$(git describe)-src.tar.gz $(git describe)

which also works for non-releases.  This is the same as various forges
publishes as their "download git" tarball links, modulo leading path and
naming differences.  Of course, GPG signing them would be useful.

I'm doing 2) for several GNU tools, published as foo-v1.2.3-src.tar.gz
tarballs.  Some notes:
https://blog.josefsson.org/2024/04/01/towards-reproducible-minimal-source-code-tarballs-please-welcome-src-tar-gz/

/Simon

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
signature.asc (application/pgp-signature, 1.3 KB)
-----BEGIN PGP SIGNATURE-----

iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmqK2HIbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS
zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr
tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C
GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG
vgUCaeH1kQUJDmvq3QAKCRDXPPY4xTwGvoViAP9ZUL6yXhpUKudJT+rZvfQ9cw8u
ydbUN4WuMdCce65BUwD/YaVCrk75uptX18omVWGZbtviHfw6twiAGbzRflxK9gS4
MwRcks+BFgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZ
vKghioj1BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmngltcFCQ5q
i1YAgXYgBBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIr
CP5HRaKnTAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL
6GOpaPfKYLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvrOwAPoCCB6QQKQ6
XA49bCocw54Jqb8EH9FZB5nurPhBu6koKQEA3v1zK1NHND2t44vOXDKmYb8yThSP
7KHuutpcy9EGNwW4OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pP
VaRMejyZnScmD7d5TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTX
PPY4xTwGvgUCaeCW1wUJDmqLbQAKCRDXPPY4xTwGvkTVAP9n2kDv5xU9OhPjJYZU
HaP9HIZUFwuU2TD01b1QRcKCzgD/cSyStKMORI082CQeCvNdAC/yL+jxDgBIAOHD
0x1ZWwkACgkQUXIrCP5HRaKBQwEA9Ge90KQLo7JUsMZVtGRPtbHxIqrQoaxpfk+O
MBaFC54BAN2hMjc/6KPf5/huQWs6U4ualQofWVDRjNWq+dPsUh8C
=5poL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.