[ANN] Monticello Versioning

Julian Fitzell julian at beta4.com
Thu Jul 24 17:23:26 UTC 2003


Brent Vukmer wrote:
>>unnecessary. (A high priority for me is to add HTTP 
>>repository support, probably using GET/PUT to be compatible 
>>with WebDAV. The only thing I need to figure out for a first 
>>attempt is how to deal with getting a directory listing...)
>>
> 
> 
> What do you need a directory listing for?  If you know the package name,
> and each package has a continuous sequence of numbered .mcv files, you
> could rely on the following URI convention:
> /package-name.sequence-number.mcv
> 
> In that case, the client would do the following for each package:
> -maintain a list of sequence numbers for .mcv files stored on the server
> --ask the server for the URI: /package-name.last
> -maintain a list of sequence numbers for .mcv files stored locally
> -caculate the set difference
> -build the URLs using the URI convention
> -retrieve contents
> 
> It works well for the BFAV, in any case...  :)

They aren't sequenced numbers because multiple clients can be creating 
them at will.  Also, if you can't get a listing, how do you know which 
files are on the server in the first place (even if they were 
sequential)?  Remember that more than one person will be uploading 
package versions... how would they know about the ones that others have 
uploaded?  How would they even know what the next number in sequence is?

Julian




More information about the Squeak-dev mailing list