[darcs-users] How to record only patches, not original files

Isaac Dupree isaacdupree at charter.net
Sat Jun 16 21:33:13 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

robin at shorestreet.com wrote:
> Quoting Isaac Dupree <isaacdupree at charter.net>:
>> Robin Bate Boerop wrote:
>>> How can I create a repo in which only changes are recorded?  So, suppose
>>> I have a large set of files which I want to change, but I don't want
>>> that large set of files in my repo because I don't want other users of
>>> the repo to be able to copy those files.
>> Any particular reason why?  lower bandwidth?  semi-secrecy for
>> proprietary code?  (by the way, if the GPL applies to any of those
>> files, not providing the originals along with your patches probably
>> violates the license no matter what.)
> 
> The reason is to avoid copyright issues related to the large set of files.  The
> patches are not considered "work based on the program", as it says in GPL2. 
> This is in the same way that publishing errata for a book is not violating the
> copyright of that book's author.  So, you are mistaken in your assertion of the
> GPL's applicability (though I understand that you said "probably violates").
> 
> In fact, the large set of files could even have a stronger copyright
> restriction; they could be "all rights reserved", and what I propose is still
> not a violation of copyright law.  However, as this is off-topic, I will say no
> more about it on this list.  If you think that I am mistaken, consult a lawyer.

Hmm, right, I realized that "no matter what" was a bit extreme after
sending, and certainly if it is mere aggregation or perhaps a patch that
doesn't have much to do with the creativeness of the original file...
I'm just remembering in some GNU project that developed some GCC
patches, Stallman told the lead developer that they needed to distribute
the whole program along with it (or maybe it was only because they were
distributing binaries? That would explain it, since I can't find the
reference right now - sorry)

> That said, there are other reasons to do exactly what I am trying to do.  For
> example, the bandwidth issue you suggest.  That is quite significant when one
> is making small patches for a large code base, especially a large code base
> that the likely users of the patches have already downloaded.

yes...
If likely users of the patch already have a darcs repository of the
mainline, then if they pull patches from your repository they won't
normally be downloading the full thing.

Hmm... using darcs to distributedly manage files where some of them have
somewhat restrictive copyrights, has anyone even considered that in the
design?  I don't know how to do it with darcs... I suppose you've
considered just making non-darcs-related patches and discarded that
notion :)

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGdFcYHgcxvIWYTTURAhJQAKCY2Oydq6OY9qkzuQ36RVeCP7nnKwCgtZmN
0tdCOM6N3UsFGvQzMMr7UZg=
=BiCq
-----END PGP SIGNATURE-----



More information about the darcs-users mailing list