partial patches - server application

2005-01-06 Thread Andreas Barth
Dear all, with ideas and code (and a lot more) from Anthony, I was able to put together the server part for partial patches in a way that it seems to me that it might be included in dak. The resulting files are available from deb http://merkel.debian.org/~aba/debian sid main contrib non-free (or

Re: partial patches - server application

2005-01-06 Thread Andreas Metzler
On 2005-01-06 Andreas Barth [EMAIL PROTECTED] wrote: [...] deb http://merkel.debian.org/~aba/debian sid main contrib non-free (or any other combination of suites and components you like) However, there are only the dist files on that place, _no_ downloadable pool is available there. The

Re: partial patches - server application

2005-01-06 Thread Andreas Barth
* Andreas Metzler ([EMAIL PROTECTED]) [050106 11:10]: On 2005-01-06 Andreas Barth [EMAIL PROTECTED] wrote: [...] deb http://merkel.debian.org/~aba/debian sid main contrib non-free (or any other combination of suites and components you like) However, there are only the dist files on that

Re: partial patches - server application

2005-01-06 Thread Florian Weimer
* Andreas Barth: This means: If the local file dists/sid/main/binary-i386/Packages has the sha1-sum of f3a0c1972021af11782c661d1bd5214f1d443868, take the patch named 2005-01-04-1633.27 (and this patch has the given size and sha1-sum). Of course, this patch is a gz'ed file. The Patches are

Re: partial patches - server application

2005-01-06 Thread Andreas Barth
* Florian Weimer ([EMAIL PROTECTED]) [050106 11:45]: * Andreas Barth: This means: If the local file dists/sid/main/binary-i386/Packages has the sha1-sum of f3a0c1972021af11782c661d1bd5214f1d443868, take the patch named 2005-01-04-1633.27 (and this patch has the given size and sha1-sum).

Re: partial patches - server application

2005-01-06 Thread Florian Weimer
* Andreas Barth: Is this really a good idea? patch invokes ed(1) to process ed scripts, and this might lead to execution of arbitrary commands. It is agreed that the usage of patch and ed is _not_ the recommended way for production code (but acceptable for prototype code). However, as

Re: partial patches - server application

2005-01-06 Thread Thiemo Seufer
Florian Weimer wrote: * Andreas Barth: Is this really a good idea? patch invokes ed(1) to process ed scripts, and this might lead to execution of arbitrary commands. It is agreed that the usage of patch and ed is _not_ the recommended way for production code (but acceptable for

Re: partial patches - server application

2005-01-06 Thread Florian Weimer
* Thiemo Seufer: They can be cumulated, see http://lists.debian.org/debian-devel/2004/12/msg00462.html This trick should work for RCS deltas as well. The output from diff -f is, I haven't found an -f option in diff. It's documented in the Info manual, and it's required by POSIX. Hardly

Re: partial patches - server application

2005-01-06 Thread John Hasler
Thiemo Seufer writes: I haven't found an -f option in diff. Look at the info docs. -- John Hasler