I implemented the timestamp approach in my build script (as a workaround) and it works great. Total I/O time: 10ms.
Again, please consider folding this into "port selfupdate". Thanks, Gili On 21/10/2012 4:56 AM, Ryan Schmidt-24 [via Mac OS Forge] wrote: > > On Oct 19, 2012, at 21:58, Davor Cubranic <[hidden email] > </user/SendEmail.jtp?type=node&node=197473&i=0>> wrote: > > > What he means is that you can use Subversion as an alternative > distribution system to downloading the ports.tar file. That way you > get roughly the behaviour you asked for, since "svn update" will do > nothing if you locally have the most recent version of the master. > > Well, it won't do "nothing"... it will scan the local ports working > copy and compare it with what's available on the server. The end > result is that no files will be changed and nothing significant will > have to be downloaded, but it will still take up to several minutes of > disk I/O to determine that, depending on the speed of your disk. Using > Subversion 1.7 or later should decrease the amount of I/O needed and > thus decrease the time needed. > > > _______________________________________________ > macports-users mailing list > [hidden email] </user/SendEmail.jtp?type=node&node=197473&i=1> > http://lists.macosforge.org/mailman/listinfo/macports-users > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p197473.html > > > To unsubscribe from port selfupdate incredibly slow, click here > <http://mac-os-forge.2317878.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=117503&code=Y293d29jQGJicy5kYXJrdGVjaC5vcmd8MTE3NTAzfDE1NzQzMjEyNDc=>. > NAML > <http://mac-os-forge.2317878.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > -- View this message in context: http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p197500.html Sent from the MacPorts - Users mailing list archive at Nabble.com.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users