On Wed, 14 Sep 2016 08:45:58 -0400 Michael Orlitzky <[email protected]> wrote:
> On 09/14/2016 01:54 AM, Ulrich Mueller wrote: > > > > We had a review of such files before the git conversion: > > https://bugs.gentoo.org/550434 > > > > Especially, there's a list of "maintainer scripts" in comment #13. > > At the time, we didn't do anything about them. There are very few of > > such files (namely, 12 when that comment was written) so the space > > taken by them is negligible. > > > > I'll take the low hanging fruit: > > * dev-libs/collada-dom/files/take_snapshot.sh > * sys-libs/libcxxrt/files/prepare_snapshot.sh > > Those two are completely trivial; clone a repo, rm -rf .git, tar it > up. Guess you never had to maintain packages whose releases are only snapshots. They're trivial but it's a waste of time to re-assemble all the bits every couple of months when you want to make a snapshot. Questions one needs to answer: - What SCM is used ? - What is the URI ? - How to fetch it ? - What should be cleaned up after fetching ? - What dirname to use so that it matches ebuilds' $S ? - What compression to use so that it matches SRC_URI ? Those scripts are made to automate this, and as you can see are closely related to ebuilds, and thus fit perfectly next to them.
