Hello Mohammed,

On 17/12/2007, Mohammed Adnène Trojette <[EMAIL PROTECTED]> wrote:
> On Sun, Dec 16, 2007, Raphael Geissert wrote:
> > Attaching the right/working script this time.
>
> Hello Raphael and thanks for your contribution!
>
> I've had a very very quick look at your script. But how is your script
> more practical than the usual:
>
>  $ zcat file.diff.gz | patch -p1

Your example is only applies patches.
My script is used to extract all the changes/patches from a
multi-patch (i.e. diff.gz) file.

If you ls debian/patches (following the example I used on my first
message) you will see a lot of .patch files, which were extracted from
the .diff.gz
Once that's done, all the patches can be reversed by issuing
for i in debian/patches/*; do patch -R -p1 < $i; done
Now the source tree is identical to the one from .orig.tar.gz, except
of course for the files under debian/.
So if a maintainer wants to use quilt to manage the patches, all he
needs to do now is fix the rules file and ls debian/patches/ >
debian/patches/series

This script lets maintainers move from a "all in diff.gz" approach of
patches maintenance to a "all under debian/" one.


>
> I will be happy to add your script, but I am a little reluctant to
> add a 15-line script if it does not improve significantly our job as
> maintainers.
>
> Looking forward to hearing from you,
> --
> Mohammed Adnène Trojette
>

Hope that explains what this script does in a better way.

Sincerely,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition

Reply via email to