Adding distfiles to the repository

William Siegrist wsiegrist at apple.com
Thu Jul 17 16:03:04 PDT 2008


On Jul 17, 2008, at 3:09 PM, Ryan Schmidt wrote:

>
> On Jul 17, 2008, at 17:01, Blair Zajac wrote:
>
>> William Siegrist wrote:
>>>
>>
>>> please allow at least 24hr after a portfile is updated
>>> before complaining though, as the mirror is only updated daily.
>>
>> Thanks for this info.  Can we up the cron from 24 to something on a  
>> shorter basis?
>
> This may be relevant for the php5-devel port as well. It's currently  
> tracking php 5.2 release candidates but I now have a request from a  
> user who wants to try a feature only available in php 5.3. The php  
> team provides snapshot tarballs of php 5.3, but they're generated  
> every two hours, and disappear after ten hours. So I would have to  
> make sure to time my commit such that it's less than ten hours until  
> the portmirror process runs on the distfiles mirror machine. Which I  
> could do. But it would be convenient if I wouldn't have to remember  
> to do that. Who knows what time of day I might feel like working on  
> my ports.
>


The current process takes 6-8 hours to run and eats a decent amount of  
cpu cycles because it tries to mirror every variant of every port, so  
doing it more often wont work well on the server. Like I've said  
before, this allows for daily re-trying if the mirroring fails the  
first day.  What I could do is add a mirror attempt during post-commit  
as well. So every port gets mirrored upon commit and then once a day  
after that. When you commit, if your distfile is unavailable, it'll  
get retried the next morning during the daily job.  I think this is  
reasonable and covers everyone's needs.

-Bill





-------------- 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/20080717/5822c50c/attachment.bin 


More information about the macports-dev mailing list