Eric Kow wrote: > > On Tue, Dec 09, 2008 at 10:21:12 +0100, Petr Rockai wrote: > > So who's with me that for 2.3, we should add a "bucketed" keyword to > > our _darcs/format and start using it? Moreover, we need to do the > same > > to our global cache, by now I get the following: > > > > 10:19:06 | [EMAIL PROTECTED]:~ -> l ~/.darcs/cache/pristine.hashed | wc -l > > 40645 > > 10:19:10 | [EMAIL PROTECTED]:~ -> l ~/.darcs/cache/patches | wc -l > > 86769 > > This might be a good idea. I suppose --no-buckets would have to be the > default until we are fairly sure that bucket-capable darcs is in enough > people's hands. We wouldn't want somebody to install darcs 2.3 on > their server and then have people fail to fetch patches with darcs 2.2 > (although at least the repo formats mechanism should make it fail > gracefully and maybe buy us a few more upgrades?)
Should it be a priority, however, to upgrade global caches to a bucketed format ASAP, however? It might be best if it were a simple silent upgrade on the first launch of the new bucketed darcs version, but I don't know if there is an existing mechanism to do the upgrade (perhaps it will have to be an optimize flag?). If people are going to hit issues with this the first place they will have a problem is in a global cache and we should be reasonably assured that global caches are private enough that we can upgrade them without worrying about backwards compatibility (not to mention that the same cache could be both bucketed and non-bucketed simultaneously if someone does have a an odd shared-cache with the bucketing darcs smart enough to hard link between both copies, but I expect that would be a very small edge case). It might be best simply to put the work into good documentation and ignore the edge cases of shared global caches on a file system needing to react to multiple versions of darcs. -- --Max Battcher-- http://worldmaker.net _______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users