On 03/05/2018 01:25 AM, Florian Weimer wrote:
On 03/03/2018 12:00 AM, Carlos O'Donell wrote:
> You expressed some worry about checking in the tarballs for the
> frozen ABI specification into dist-git. Really git is not designed
> to hold tarballs, and the source cache is just wrong since this is
> not a source tarball (we used to abuse it also for the releng
> tarball).
We really need the individual input files under version control.
Otherwise, changes will impossible to review.
So there has to be a repository somewhere with the data.
DJ suggested using lua to generate the tarball as-needed and never
check it in. This is an interesting solution to the problem of not
being allowed to have a directory structure in the SourceN: entries,
which would retain dist-git history for the files but let you organize
as required with directories e.g. conf/ for configuration files,
install/ for install-time program sources, etc.
I like your git-bundle idea better since it yields a working git tree
that gives you a lot more flexible patch automation using existing
tooling (and history) and is self-hosting, and also has all the above
benefits.
--
Cheers,
Carlos.