Modify

Ticket #754 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

Plugin for SVN checkout

Reported by: somekool <[email protected]…> Owned by: solj
Priority: major Milestone: Bcfg2 1.2.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc: [email protected]…, [email protected]

Description

I have this Action various times for multiple svn repository. I need bcfg2 to check out and update SVN repository on my servers. There is some stuff I simply don't need to package as a RPM. and Having BCFG2 check them out for me. is great.

<BoundAction? timing='pre' when='always' name='checkout_mrepo' command='if [ -d /opt/mrepo ]; then (cd /opt/mrepo; svn up -r123); else svn co -r123 https://svn.host.foo/svn_repo/mrepo/trunk /opt/mrepo; fi;' status='ignore'/>

this could be specified with something like

<BoundSvnCheckout? name='checkout_mrepo' svnpath='https://svn.host.foo/svn_repo/mrepo/trunk' svnrev='123' directory='/opt/mrepo'/>

thank you

Attachments

Change History

comment:1 Changed 13 years ago by solj

  • Milestone changed from Bcfg2 1.0.0 Release to Bcfg2 1.0.1 Release

comment:2 Changed 13 years ago by dclark

I also would love this functionality, however I think for implementing we should look into using a vcs abstraction layer that would may the plugin work with svn and a bunch of other (distributed) version control systems.

Candidates look like:

At first glance solj liked anyvc ( irc conversation).

comment:3 Changed 13 years ago by solj

  • Milestone changed from Bcfg2 1.0.1 Release to Bcfg2 1.1.0 Release

comment:4 Changed 13 years ago by https://www.google.com/accounts/o8/id?id=AItOawmSAqcanZjC_zUMz6-24nRYFLJWSQtV0vw

comment:5 Changed 12 years ago by solj

  • Milestone changed from Bcfg2 1.1.0 Release to Bcfg2 1.2.0 Release

I'm gonna try and get this done in 1.2.0.

comment:6 Changed 12 years ago by solj

  • Owner changed from desai to solj
  • Status changed from new to accepted

Still need to test the svn side of things but an initial attempt at this is in 41edd7fddc7cb53d0fe3880c7707eb0f58879e59.

comment:7 Changed 12 years ago by solj

  • Status changed from accepted to closed
  • Resolution set to fixed

This still needs testing, but will be included in 1.2.0.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.