Since cgit's list is subscribers-only, I've CCd its maintainer. Also CCd cgit-pink (I hope this one is not subscriber-only).
On 4/25/23 01:51, G. Branden Robinson wrote: > At 2023-04-25T01:35:03+0200, Alejandro Colomar wrote: >>> Curious way to put it. I wondered something along those lines >>> recently: Is it possible to teach cgit how to create a tarball? It >>> would be nice if I just made a tag and cgit would do the automated >>> process necessary for the tarball. >>> >>> Moreover, I considered not releasing tarballs anymore as a >>> possibility, since one can produce them following some repeatable >>> command. >>> >>> Would I be able to teach cgit to run >>> >>> $ make dist-gz >>> >>> And then find the tarball in ./.tmp/$(git describe).tar.gz ? >> >> Probably not. My guess is that cgit just calls git-archive(1). > > It's complicated, and has come up before[1]. I used to try to support > the cgit-constructed tarballs but it was too much support effort. > > A big part of the problem is that whatever assembles the archives > doesn't pay attention to git submodules. One of the most important > differences between a cgit-generated archive from the groff repo and a > distribution archive prepared by the maintainer is that the latter > includes the gnulib sources. (Including the stuff that "make dist" > constructs for inclusion in the archive is the other important element.) > > Regards, > Branden > > [1] This is just one thread of several. > > https://lists.gnu.org/archive/html/groff/2022-07/msg00064.html