Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [alf-dev] RE: ALF Source Code Mangement Vocabulary Meeting+1-303-928-3232 id 6053141# Wednesday 10:00AM PDT - meeting minutes

alf-dev-bounces@xxxxxxxxxxx wrote on 05/03/2006 03:32:29 PM:

> ...
> > We ran out of time at the end to discuss some of these, but Brian 
Carroll 
> > included managing metadata as a possible use case.  I could see 
Subversion
> 
> > users potentially wanting this feature as metadata can be used for a 
> > variety of purposes.  In Subversion metadata is associated with a file 
or 
> > folder and can be essentially anything including binary content, such 
as 
> > thumbnail image for a JPEG.
> 
> Agreed. I had in mind use case 7 (create new version of Element) as
> potentially covering changes in the data (i.e. the file-content), and/or
> changes in the metadata (a.k.a. properties, a.k.a. attributes) of the
> Element. Metadata could include filename, parent directory, modification
> time, owner, permissions, file-type, thumbnail-image, etc. See Concepts,
> item 2 (File & Directory concepts).
> 
> The part that can get thorny is namespace-handling. Is renaming a 
element an
> operation on the element itself (as AccuRev does), or on the directory
> containing it (as ClearCase does)? Is moving a file to a new directory 
an
> operation on the element being moved (AccuRev), or on the parent 
directories
> involved (ClearCase)? What's Subversion's model? 

In Subversion, it would be on the file (assuming that is what you are 
moving).  I would think that if for ALF purposes we used the file it would 
not be difficult for a ClearCase implementation to canonicalize that to 
the folder.

Subversion uses the metaphor of a filesystem.  There are no special 
namespaces.  Tags/branches are just a convention in the way you structure 
your filesystem.  Subversion then has standard filesystem-like commands 
(cp, mv, rm, del, mkdir) for manipulating the file system.  To make a 
"tag" you just copy the folder/files you want to tag to some folder name 
that you are using for tags.  For example, this is how you would copy the 
HEAD revision of trunk to make a tag.

svn copy -r HEAD http://server/repos/project/trunk 
         http://server/repos/project/tags/rel1.0 
        -m "Created tag for release 1.0"


Mark


_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs. 
_____________________________________________________________________________


Back to the top