[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: give us a hand with arch

From: Mark A. Flacy
Subject: Re: [Gnu-arch-users] Re: give us a hand with arch
Date: Sat, 27 Sep 2003 12:43:20 -0500

>>>>> "Tom" == Tom Lord <address@hidden> writes:
>> From: "Mark A. Flacy" <address@hidden>
>> You could also add a pre-commit hook to ~/.arch-params/hook that checks
>> the return code from arch_run_hook() that allows you to return an error
>> code that aborts the commit operation.  Pass at least the log file name
>> to the hook[1], and Bob's your uncle.
Tom> That's true but mostly beside the point -- wouldn't such a hook be
Tom> more for some form of acceptance testing than for log editting?

I believe that would be the heaviest use of such a hook.

I would also imagine that at least one implementation of such a hook would
provide a way to edit the log file so that it could pass inspection.  A
non-existent or effectively blank log file would not pass inspection, would
it?  I guess that you can provide that edit logic as well as anyone else.

To me, the entire edit loop problem seems to fit better into the
maybe-never-to-be-written overarch layer rather than the core.  That's
about all I've got to say on the subject, so you can drive a stake into
this thread AFAIC.

 Mark A. Flacy
 Any opinions expressed above are my own.  Any facts expressed above
 are, ummm, facts.
"I guess that it's pretty much downhill from here."
 -- Me on my 40th birthday

reply via email to

[Prev in Thread] Current Thread [Next in Thread]