[Pushmi-users] Please, I need help...Authentication issues

Leif Canfield leif.canfield at adayana.com
Tue Mar 4 13:11:45 EST 2008


Ok, I've been working on this and I got it to work, but I need someone to explain what the precommit and postcommit scripts are doing.  In order to make it work I had to turn them off.  The scripts were installed with the pushmi package and the code is below:

pre-commit:
#!/bin/sh
export SVKNOSVNCONFIG=1
export PUSHMI_CONFIG=
/usr/bin/perl '-I/etc/perl' '-I/usr/local/lib/perl/5.8.8' '-I/usr/local/share/perl/5.8.8' '-I/usr/lib/perl5' '-I/usr/share/perl5' '-I/usr/lib/perl/5.8' '-I/usr/share/perl/5.8' '-I/usr/local/lib/site_perl' '-I.' /usr/bin/pushmi runhook $1 --txnname $2

post-commit:
#!/bin/sh
export SVKNOSVNCONFIG=1
export PUSHMI_CONFIG=
/usr/bin/perl '-I/etc/perl' '-I/usr/local/lib/perl/5.8.8' '-I/usr/local/share/perl/5.8.8' '-I/usr/lib/perl5' '-I/usr/share/perl5' '-I/usr/lib/perl/5.8' '-I/usr/share/perl/5.8' '-I/usr/local/lib/site_perl' '-I.' /usr/bin/pushmi unlock $1 --revision $2
/usr/bin/perl '-I/etc/perl' '-I/usr/local/lib/perl/5.8.8' '-I/usr/local/share/perl/5.8.8' '-I/usr/lib/perl5' '-I/usr/share/perl5' '-I/usr/lib/perl/5.8' '-I/usr/share/perl/5.8' '-I/usr/local/lib/site_perl' '-I.' /usr/bin/pushmi verify $1 --revision $2 &

The syncing seems to work just fine without these, but I'm worried that it's doing something that I'm going to need.
Thank you!
Leif


More information about the Pushmi-users mailing list