[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Source code watermarking

From: Hyrum K Wright <hyrum.wright_at_wandisco.com>
Date: Fri, 7 Oct 2011 09:12:08 -0300

On Fri, Oct 7, 2011 at 7:35 AM, Miha Vitorovic <miha.vitorovic_at_gmail.com> wrote:
> On 7.10.2011 11:56, Semen Prikhodko wrote:
> Hi guys.
> I need to add additional functionality to Subversion. My task is to make SVN
> able to insert special “watermarks” into working copy source files which
> identify a developer working on them. This means every source file will
> contain some identifying comment (e.g. // {developer id} ). My customer says
> this step will protect the source code from stealing (the responsible person
> will be identified and punished). Yes, it’s stupid, but that is my current
> task. So SVN must smartly insert the watermark when updating (checking out)
> the code and remove it at time of commit (the repo must not contain
> watermarks).
> If you have the users authenticated against the SVN server, then you are
> exactly describing the svn:keywords. There is some small adittion to the
> code, but not the actual user data. It is well documented in the Subversion
> book, but if you have any additional questions, I think they are best
> directed at the users mailing list.
> And, AFAIK, there is no book detailing the SVN code...

http://people.apache.org/~hwright/svn/doc/api/trunk/ is probably the
best resource for the public APIs (it is completely derived from the
header files themselves). The source code itself is self-documented,
to a large degree.


uberSVN: Apache Subversion Made Easy
Received on 2011-10-07 14:12:42 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.