Re: [PATCH] Use a better filename when creating a snapshot
Mikko Rasa <[email protected]> Mon, 13 Feb 2017 00:37:08 +0200
| Newsgroups | gmane.comp.video.xine.devel |
|---|---|
| Message-ID | <[email protected]> |
On 13.02.2017 00:17, Xavier Bachelot wrote: > 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 don't know if the date part is necessary. With git it could help in maintaining ordering of version numbers, but mercurial already numbers changesets in increasing order. Furthermore using dash as a separator in upstream version can be problematic since some distributions use it for their own purposes, such as tracking changes to packaging. Therefore I would suggest: xine-lib-<version>+hg<changeset#>.tar.whatever This matches what Debian expects package versions to be. I'm less familiar with other distributions. Also, if it seems that the original owners have abandoned the project and are unreachable for purposes of handing over the repository and website, perhaps it would be time to fork the project. -- Mikko ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot