Re: [PATCH] Use a better filename when creating a snapshot
Petri Hintukainen <[email protected]> Mon, 13 Feb 2017 12:29:51 +0200
| Newsgroups | gmane.comp.video.xine.devel |
|---|---|
| Message-ID | <[email protected]> |
su, 2017-02-12 kello 23:17 +0100, Xavier Bachelot kirjoitti: > Hi, > > As it seems neither Petri nor Torsten, the 2 active developers, have > enough privileges to make a full release with a proper tarball > uploaded > to the website, I'm leaning toward using snapshots for Fedora. > However, > the generated tarball name is not unique enough for my use, so I came > up > with the attached patch, which will generate a tarball named > xine-lib-"version"-"date_of_changeset"hg"changeset_number".tar.xz > rather than > xine-lib-"version"hg.tar.gz > > Please review. I would also check for local changes / commits and add "dirty" etc. to the version suffix. Maybe something like HG_DIRTY=`hg out 2>/dev/null | grep -q changeset || hg sum | grep -q 'commit:.*modified' && echo "+dirty"` > Regards, > Xavier > ------------------------------------------------------------------- > ----------- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > xine-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xine-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot