[84270] trunk/dports/devel/byacc/Portfile

Daniel J. Luke dluke at geeklair.net
Thu Sep 22 07:07:57 PDT 2011


On Sep 22, 2011, at 12:47 AM, Ryan Schmidt wrote:
> The main distfiles mirror has the advantage of not needing to run "port mirror" since it is either the same server as the Subversion repository server, or is on the same network and in contact with it, such that after every commit, the distfiles mirror knows it should try to fetch files for the ports in that commit.

Well, the mirror hosts could also just periodically do a 'svn up' on a working copy to get a list of ports to try to mirror (if there's really too much overhead running 'port mirror')

> It might be nice if this could be decoupled a bit, and after each commit the repository server could "ping" each distfiles server (not just the main one) by calling a special URL each distfiles mirror would make available, telling it which ports to fetch. In response each server could then run the script that would fetch the files for those ports. I think I heard that if the fetch fails, the script tries a few more times later, so if the main server fails to get an ftp-only file on the first try, maybe by the second try it would have already been picked up by another mirror.


--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list