On Tue, Mar 26, 2002 at 05:18:37PM -0300, Rodrigo Senra wrote:

Oi Rodrigo, tudo bem?

>     Is there a way to define profiles to patch-o-matic.
>     I mean to define a subset of desired patches with Y as the default answer
>     and N to the rest and them submit it to p-o-m?

you can just give the 'runme' script a list of patches. Like

cd patch-o-matic
./runme pending/foo.patch extra/bar.patch base/buz.patch

runme in latest CVS also has a '--batch' option which removes the necessity
of piping 'y' to stdin.

>     I'll need this for testing purposes. Is there anybody working on this ?

It's already there.

>     I guess it is just a matter of changing 'runme' script in order to read 
>     a default-answers-file and used it instead of stdin. Or I could pipe
>     p-o-m to a Python script that would act as the user answering Y or N.

yes, you can just pipe something to stdin.  Shell-script is enough, no need
for python.

>     Suggestions ?

-- 
Live long and prosper
- Harald Welte / [EMAIL PROTECTED]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

Reply via email to