subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: Adding license text to files
Date Thu, 11 Aug 2011 07:34:13 GMT
Guten Tag Jason Aubrey,
am Mittwoch, 10. August 2011 um 18:06 schrieben Sie:

> I'd like to use keyword substitution or something like it to
> automatically append/update license information in a large collection
> of files. In other words, I'd like the licensing information to be a
> property of the file, but also appear as text in the file.  I can do
> the former with properties, but can't see how to do the latter in some
> automatic easy way. (Also, ideally, the license text in the file would
> come from the property on the file. )

As already said, this is not possible without doing on your own, but
besides that, what's the benefit of having the license text as a
property on each file, which gets substituted into the file, over
having the text directly versioned in the file? If I understand you
right, you would have to change the property of each file for changing
the license text which doesn't seem easier that replacing the text
directly in the file with some text replacement tool. In my opinion
the property approach is even less handy because you don't have things
like blame and diffs where you can see who changed what line of the
license and why.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening@am-soft.de
Web:     http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


Mime
View raw message