[arch-dev-public] Who broke devtools? - extrapkg svn commit == fail

Dan McGee dpmcgee at gmail.com
Tue Sep 22 17:29:12 EDT 2009


On Tue, Sep 22, 2009 at 12:31 PM, Thomas Bächler <thomas at archlinux.org> wrote:
> Aaron Griffin schrieb:
>>>
>>> What about the simple way:
>>>
>>> if [ -z "$1" ]; then
>>>  echo "Please ..."
>>>  exit 1
>>> done
>>>
>>> This way, the editor code path could be removed again.
>>>
>>> If someone wants a more complex commit message, take Francois' aproach
>>> and
>>> svn commit manually before calling XXXpkg.
>>>
>>> A simple commit message can be given on the command line and doesn't need
>>> a
>>> separate editor.
>>
>> Hmm that seems ok, but we should probably try and prevent things like:
>> $ extrapkg " "
>> via:
>
> If someone wants to explicitly cheat the system, he will succeed anyway, so
> I wouldn't bother.

Considering this script lives on my machine and I've already
hand-hacked it anyway, I'm with Thomas here. :)

-Dan


More information about the arch-dev-public mailing list