From: Hanspeter N. <fi...@sn...> - 2012-11-16 00:12:57
|
On 11/15/2012 6:57 PM, Alexander Hansen wrote: > On 11/15/12 1:19 PM, Matthias Ringwald wrote: >> Hi there >> >> Do we have a policy for how to version snapshots from e.g. git repositories and how to/where to provide a tar.gz? >> (lame excuse for not checking the wiki/finkproject: it's down currently :) >> >> I'd like to update the ldid command by Jay Freeman (http://gitweb.saurik.com/ldid.git), used mainly for iOS JB Development, but he doesn't want to make a release and/or provide a .tar.gz for downloads. >> For the previous version I've just used 1.0-476 which was the svn revision and I'd go for 1.1-${first 6 chars of git commit hash) this time. >> >> I could put it on my private web server, considering that I don't expect much people installing it, but do we have some "official" way to host archives? > > For versioning, that depends on the package. Since you look like you've > got a real version plus a branch id that seems appropriate. The only > time we have a problem is when doing a snapshot where there's going to > be a formal release, because 1.1-a32d4a >> 1.1 to the Debian tools. > > For hosting, there are several options: > > 1) Put it on your server and it will also be mirrored > > 1A) Put it on your server to be mirrored, and once it has been picked > up, you can then change the Source field to > > Source: mirror:master:${tarball name} > > and then you can take it off your server if you like. (With the > finkproject.org outage this might not be the most desirable option right > now.) > > 2) Someone with appropriate access can upload it to Fink's sourceforge > page, and you can then use > > Source: mirror:sourceforge:fink/${tarball name} > > in the .info file. Also, please don't forget to add the exact commands that you used to pull this particular revision out of their source repository in the DescPackaging field. Don't just use 'checkout HEAD', but rather 'checkout a32d4a', since HEAD is a moving target. mplayer.info is an example as to what to document. Hanspeter |