Re: automated patch dependency and conflict tracking

Benjamin Schieder <blindcoder-1k+CIuW/[email protected]> Tue, 14 Feb 2006 12:29:26 +0100
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
On Mon, Feb 13, 2006 at 05:19:28PM +0100, Benjamin Schieder wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Stefan Fiedler wrote:
> > [ patch-group and patch-report ]
> 
> Hi Stefan.
> 
> First, it's a very nice script and indeed helpful.
> 
> But it would be even more helpful if it wouldn't just assume a sane environment
> and being called directly.
> 
> Checks like
> 
> if [ -z "`which lsdiff`" ] ; then
> 	echo "lsdiff not found!" >&2
> 	echo "Please install the package 'patchutils'!" >&2
> 	exit 1
> fi
> 
> would be nice :)
> Also, you should check for command line arguments being sane (like the existence
> of patches in the patchdir) as well as checking for -h --help -v --verbose switches.
> This is a good start for that: http://shellscripts.org/project/template


Also, if your scripts would output the calls to 'patch' that are necessary to
apply the patches it would be even better :)

Greetings,
	Benjamin
-- 
 _  _     _   _            _   
| \| |___| |_| |_  __ _ __| |__
| .` / -_)  _| ' \/ _` / _| / /
|_|\_\___|\__|_||_\__,_\__|_\_\
| |  (_)_ _ _  ___ __
| |__| | ' \ || \ \ /
|____|_|_||_\_,_/_\_\
Play Nethack anywhere with an x86 computer:
	http://www.crash-override.net/nethacklinux.html

_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFD8b8Wr0OTeImXvg8RAu5TAKCJCH6k1A1ThKI1vNWgidMjbX5HJwCg0MLp
AZHK5+6fQLHEQG8Hb3ngUEw=
=37Ov
-----END PGP SIGNATURE-----