Pushmi
view release on metacpan or search on metacpan
Configure a cron job to run this command every 5 minutes.
Configure your local svn
Set up your svn server to serve /var/db/my-local-mirror at
"http://slave.repository/svn"
For your existing Subversion checkouts, you may now switch to the slave
using this command:
svn switch --relocate http://master.repository/svn http://slave.repository/svn
From there, you can use normal "svn" commands to work with your
checkout.
Setup auto-verify
You can optionally enable auto-verify after every commit by setting
revision property "pushmi:auto-verify" on revision 0 for the repository,
Which can also be done with:
pushmi verify --enable /path/to/repository
lib/Pushmi.pm view on Meta::CPAN
=item Configure your local svn
Set up your svn server to serve F</var/db/my-local-mirror> at
C<http://slave.repository/svn>
=back
For your existing Subversion checkouts, you may now switch to the slave
using this command:
svn switch --relocate http://master.repository/svn http://slave.repository/svn
From there, you can use normal C<svn> commands to work with your checkout.
=item Setup auto-verify
You can optionally enable auto-verify after every commit by setting
revision property C<pushmi:auto-verify> on revision 0 for the
repository, Which can also be done with:
pushmi verify --enable /path/to/repository
t/auth-relayed.t view on Meta::CPAN
[qr{svn: MKACTIVITY of '/svn/\!svn/act/.*': authorization failed \(http://localhost:$perlbal_port\)}]);
is_svn_output(['mkdir', '--non-interactive', '--no-auth-cache', '--username' => 'test', '--password' => 'test', -m => 'mkdir', "$perlbal_url/X/orzzzz"],
['','Committed revision 4.']);
is($masterdepot->repos->fs->revision_prop(4, 'svn:author'), 'test', 'user is correct');
is($slavedepot->repos->fs->revision_prop(4, 'svn:author'), 'test', 'user is correct');
# XXX why do we need to authenticate as test?? svn_authz is totally crazy
is_svn_output(['sw', '--non-interactive', '--no-auth-cache', '--username' => 'test', '--password' => 'test', '--relocate', "$perlbal_url/A", "$master_url/A", $copath],
[]);
( run in 1.138 second using v1.01-cache-2.11-cpan-5511b514fd6 )