Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: Dropping Subversion

subversion
Discussion topic

Back to topic list

Re: Dropping Subversion

Author Karl Heinz Marbaise <khmarbaise at gmx dot de>
Full name Karl Heinz Marbaise <khmarbaise at gmx dot de>
Date 2009-01-27 09:34:06 PST
Message Hi there,

> You are right, properties would be just the thing. To my knowledge though, properties are available only
> - either for ALL files of ONE revision (versioned properties)
That's wrong. You can set a single property to a single file and of
course different properties to different files. May be you mistaken the
file properties and directory properties (like svn:ignore)...

File1.txt my:property1, my:property2
File2.txt my:property9
File3.txt my:property200, my:property7
...

> - or for ONE file in ALL revisions (unversioned properties)
These are called version properties like the commit message and author
of a commit...but you can add as many as you like...but they are not
associated with a particular file. They are associated with the
Subversion revision....
So you can't set a property for a file in all revisions...


> What I would need is a property I can set on a file basis and which is valid for only one revision, say
> foo.c rev. 44 - PEER_REVIEWED_OK
> foo.h rev. 42 - PEER_REVIEWED_NOK
> foo.h rev. 43 - PEER_REVIEWED_OK
A property is an versioned item as well as the contents of the file
itself...and it's more or less not limited to a particular size....

So if you set the property in revision 42 to NOK and change that in
Revision 43 to "OK" and let it unchanged in 44 you have exactly what you
mentioned....

The history of a versioned property is recorded as well as the contents
of a file....

So the next step will be to create a script/programm to verify for a
particular version (or better tag or branch) if all files have the
property set to a correct value e.g. "PEER_REVIEWED_OK". This might a
process for an integration/build server etc. as preparation for release
or as a simple check...

This can be done with Java, Perl or Ruby if you like...

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen http://www.soebes.de

« Previous message in topic | 99 of 106 | Next message in topic »

Messages

Show all messages in topic

Dropping Subversion niqueco Nicolás Lichtmaier 2004-04-01 20:44:56 PST
     Re: Dropping Subversion ghudson Greg Hudson 2004-04-01 20:47:21 PST
         Re: Dropping Subversion niqueco Nicolás Lichtmaier 2004-04-01 20:50:35 PST
             Re: Dropping Subversion ghudson Greg Hudson 2004-04-01 20:55:50 PST
                 Re: Dropping Subversion Edmund Horner <chrysophylax at chrysophylax dot cjb dot net> Edmund Horner <chrysophylax at chrysophylax dot cjb dot net> 2004-04-01 21:31:52 PST
                     Re: Dropping Subversion niqueco Nicolás Lichtmaier 2004-04-02 06:24:50 PST
                         Re: Dropping Subversion Mark Phippard <MarkP at softlanding dot com> Mark Phippard <MarkP at softlanding dot com> 2004-04-02 06:55:18 PST
                         Re: Dropping Subversion rook Travis Pouarz 2004-04-02 06:53:17 PST
                             Re: Dropping Subversion marcinka Marcin Kasperski 2004-04-02 12:45:59 PST
                         Re: Dropping Subversion kfogeltest Karl Fogel (test account) 2004-04-02 05:50:41 PST
                             Re: Dropping Subversion Mark Phippard <MarkP at softlanding dot com> Mark Phippard <MarkP at softlanding dot com> 2004-04-02 07:09:34 PST
                                 Re: Dropping Subversion msl521 Michael Liebman 2004-04-02 07:48:35 PST
                                     Re: Dropping Subversion Mark Phippard <MarkP at softlanding dot com> Mark Phippard <MarkP at softlanding dot com> 2004-04-02 08:30:08 PST
                                         Re: Dropping Subversion correia Jim Correia 2004-04-02 09:00:18 PST
                                             Re: Dropping Subversion Mark Phippard <MarkP at softlanding dot com> Mark Phippard <MarkP at softlanding dot com> 2004-04-02 09:31:11 PST
                                 Re: Dropping Subversion kfogeltest Karl Fogel (test account) 2004-04-02 08:19:18 PST
                             Re: Dropping Subversion niqueco Nicolás Lichtmaier 2004-04-02 07:23:40 PST
                                 Re: Dropping Subversion kfogeltest Karl Fogel (test account) 2004-04-02 08:21:25 PST
                                     Re: Dropping Subversion niqueco Nicolás Lichtmaier 2004-04-02 11:14:35 PST
                                         Re: Dropping Subversion kfogeltest Karl Fogel (test account) 2004-04-02 10:34:49 PST
                                             Re: Dropping Subversion niqueco Nicolás Lichtmaier 2004-04-02 12:05:59 PST
                                                 Re: Dropping Subversion kfogeltest Karl Fogel (test account) 2004-04-02 11:13:58 PST
                                                 Re: Dropping Subversion Greg Stein <gstein at lyra dot org> Greg Stein <gstein at lyra dot org> 2004-04-02 13:26:01 PST
                                             Re: Dropping Subversion mbk Mark Benedetto King 2004-04-02 13:06:04 PST
                             Re: Dropping Subversion brane Branko Cibej 2004-04-02 13:08:09 PST
Page: of 5 « Previous | Next »
Messages per page: