On Wed, Oct 07, 2009 at 11:49:27PM +0200, frantisek holop wrote: > hmm, on Wed, Oct 07, 2009 at 11:00:26PM +0200, Landry Breuil said that > > > the mirror is not finished yet probably. > > > hey, what about a nice feature in pkg_add, > > > that while the mirror is doing the bulk build, > > > the build script would create a text file in > > > the ftp directory, ".building" and remove it > > > afterwards? :] > > > > Do you seriously think every mirror does its own bulk build ? > > > > Think a bit more about the whole problem of snapshots distribution of > > several gigabytes all over the world on mirrors operated by various > > people, some of them not even using OpenBSD, and please realize what > > you propose is stupid. > > i dont see how this is "stupid"... ok, some of them just get > the packages, so what? the script that does that could touch > a .lock file when it starts and remove it when it is finished...
Yeah sure, let's force all ftpmasters on all mirrors to use the same script to sync their mirror. Good luck. > i mean, this is a legit "error" situation for pkg_add. i dont > see why it cannot be informed about the state of mirror's > state of synchronisation... the infrastructure is there > to do something similar than this. And even if you check timestamps from first and last file, how do you force a mirror to sync, say, from a to z, to be sure the sync is over ? Now, you want to check for all timestamps ? Srsly ? Do you really think noone though about this "issue" ? If it's still this way, there's a reason. Landry