Mailinglist Archive: opensuse-buildservice (269 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] teach osc to run post-command hooks
  • From: Susanne Oberhauser <froh@xxxxxxxxxx>
  • Date: Mon, 22 Sep 2008 10:02:04 +0200
  • Message-id: <s2i4p487gn7.fsf@xxxxxxxxxxxxx>
Hi Michael,

I like the idea, I just have one suggestion:

make the name convention

/hooks/%{command}.%{when}

so it's

/hooks/build.post

that keeps it open for build.pre

Also the post command IMHO should get the exit status of the command
proper, if any, as "$1".


S.

--
Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business
OPS Engineering Maxfeldstraße 5
Processes and Infrastructure Nürnberg
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References