SubMasters Death - Alternative

Benjamin Schieder <blindcoder-1k+CIuW/[email protected]> Tue, 14 Feb 2006 14:43:11 +0100
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
I propose an alternative to SubMasters death should it really need to
stay alive...

As discussed with netrunner on IRC I created a mirror of the subversion
repository (well, I only included trunk/) and applied all(!) SubMaster
patches. Most even applied fine while others needed serious handwork.

Anyway, the idea is this:
ROCK Developers get write access to this repository. Checkins will be
forwarded to SubMaster. The method is this:

svn co https://scavenger.homeip.net/svn/rock-community/trunk
cd trunk
< change stuff >
svn ci

The checkin message needs this format:

<submaster username> <submaster password>
Benjamin Schieder:
	destroyed everything!

A pre-commit hook will now use the supplied username and password to forard
the patch to SubMaster. The commit message without the authentication token
will be the SubMaster comment (part above the patch) and the diff will be
attached as normal.
A post-commit hook will then remove the authentication token from the svn
log history.

If you check in a patch but do _not_ want to forward it to SubMaster (because
there are patches in SubMaster not in this mirror repository for example)
you substitute the authentication token like this:

-SM
Benjamin Schieder:
	apply some SubMaster patches




Comments are welcome and encouraged.
If you want an account in this repository, sent me a private email with your
htpasswd-encrypted password. You can create one using this command:

	htpasswd -n <username>

The line you should send me will then appear on stdout.


Greetings,
	Benjamin
-- 
#!/bin/sh #!/bin/bash #!/bin/tcsh #!/bin/csh #!/bin/kiss #!/bin/ksh
#!/bin/pdksh #!/usr/bin/perl #!/usr/bin/python #!/bin/zsh #!/bin/ash

Feel at home? Got some of them? Want to show some magic?

	http://shellscripts.org

_______________________________________________
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)

iD8DBQFD8d5vr0OTeImXvg8RAmiBAJ0TtyuHFoQp0OIC4wpfwc54FM8anACgtieC
PZznyHgT39rL9ZjWYG4s6+Y=
=NkkW
-----END PGP SIGNATURE-----