MacPorts caching of distfiles [was Re: ntfs-3g 1.1120 source missing]

William Siegrist wsiegrist at apple.com
Sat Feb 23 08:09:08 PST 2008


The servers are running Tiger, but have curl installed via MP, so this  
shouldnt be a problem unless /usr/bin is hardcoded for this? Or am I  
missing the issue?

-Bill



On Feb 22, 2008, at 11:51 PM, Anders F Björklund wrote:
> Jordan K. Hubbard wrote:
>
>> On Feb 22, 2008, at 7:11 PM, Rainer Müller wrote:
>>
>>> One of these things would be how we would push files on the mirror?
>>> If we keep master_sites we could use something like `port fetch all'
>>> in a cronjob or in a post-commit hook. But that will have the
>>> problem that it currently port fetch will not remove old distfiles.
>>> So this would need improvement.
>>> Alternatively committers would have to upload there files manually
>>> which would be more work for them and also more error-prone.
>>
>> 1. I think doing a "port fetch all" is just fine - it will skip the
>> fetch step for ports which already have their distfiles in place (we
>> can even add a little extra logic to stick them somewhere other than
>> in ${prefix}/var/macports/distfiles for the mirroring case) and
>> doesn't involve a lot of extra work on our part.  The only thing  
>> we'll
>> need to make sure of is that our timeout logic is genuinely robust
>> since we don't want a single hanging fetch to scrog the entire mirror
>> run, ditto for our failed fetch logic - we don't want partial
>> distfiles to get left lying around, but both of those are things we
>> should have working well anyway.
>
> Before fetching all the files, it would probably nice to fix the
> timestamps so that they correctly reflect the upstream distfile ?
>
> http://trac.macports.org/projects/macports/ticket/12629
>
> The --remote-time feature is added, but disabled due to the
> old and buggy version of libcurl that is present in Tiger...
>
> --anders
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users




----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
wsiegrist at apple.com
408 862 7337





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20080223/2394b963/attachment.bin 


More information about the macports-dev mailing list