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

Re: Available hacking guides or where to start

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 27 Oct 2010 11:30:53 +0200

On Wed, Oct 27, 2010 at 10:46, Andreas Houben
<andreas.houben_at_googlemail.com> wrote:
> Hi,
>
> as you maybe have already noticed, I'm trying to build my own tortoise
> project from the trunk source code. The background is, that I'm
> participating in a university project at the Ruhr Universität Bochum.
> The goal of this project is to develop a tortoise version, that is
> able to encrypt files before uploading to a SVN server. We are well
> aware of the fact that you can't diff encrypted files and we are
> therefore ruining one of the main features of subversion. But our
> supervising tutor wants to use that system to store binaries, where
> diff doesn't make sense anyway. The cause of the encryption is to
> protect those binaries, in case the subversion server gets compromised
> by a hostile party. The main question in this project will be how to
> distribute the keys for the en-/decryption. But that's just some
> background information on myself.
> Actually I am setting up a debug environment in a virtual machine to
> distribute to my colleagues. Our first goal is to understand the code.
> Therefore I'm asking you if there are any documents that help us
> achieving that goal. I already found the trunk\doc\source\hacking.txt,
> but as far as I can see, that document only explains how to hack the
> docs.
> Do you have any tips or advice on where to start analysing the
> sourcecode? That would be great.

You could run doxygen on the sourcecode:
$ nant APIDocs
will generate a nice chm file with our API docs.

But: why do you need to hack TSVN to achieve your goal? Would it be
easier to just implement your own custom "diff" tool that in your case
doesn't do a diff but encrypts/decrypts the files?
See here:
http://svnbook.red-bean.com/en/1.4/svn.advanced.externaldifftools.html

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2675994
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-27 11:31:19 CEST

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

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