Re: Policy on packaging snapshots?

Matthias Ringwald <[email protected]>
Newsgroups gmane.os.apple.fink.core
Message-ID <[email protected]>
Hi Alex & Hanspeter

Thanks for the input. I was a bit unclear about the versions. The original project never released anything and I just picked 1.0 as anything might be incorrect later.
So, is there a better way than using a regular x.y version and appending the git commit hash?

I'll use the full commit hash for the tar.gz, so it will be clear. (And no there isn't much development that's why I'd go with the current version)

Cheers, 
 Matthias


On 16.11.2012, at 01:12, Hanspeter Niederstrasser wrote:

> 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
> 


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.