On Tuesday 24 November 2009 14:26:34 Raphael Hertzog wrote:
> How stable are the quilt metadata and what do you mean by "easy"?
The metadata is versioned, and the current version is 2. Here is an example
how to apply a series of patches:
set -e
mkdir .pc
echo 2 > .pc/.version
for patch in $(cat patches/series); do
patch -b -B .pc/$patch/ -p1 < $patch
echo patch >> .pc/applied-patches
done
Of course supporting additional features like different strip levels,
compressed patches, etc. makes things a little more complicated, but none of
that is really hard, and also it's probably not needed in your case.
> Anyway, if we clean up the patch to propose the shell variant as an
> alternative to the C variant with a configure option to use it, would you
> accept it?
I don't see a strong reason why not. It still is the wrong solution to the
bootstrap problem though; I would be much happier to add a simple "quilt-
apply-series" script like the above example. (The patch-wrapper script might
be even nicer for you guys though.)
Andreas
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev