Tags versus Trunk

24 views
Skip to first unread message

Nerolabs

unread,
Aug 6, 2010, 12:36:29 PM8/6/10
to Webistrano
Hello --

Looking to consolidate our release engineering into Webistrano. Two
of our groups are a bit smaller / leaner and they deploy directly
from /trunk so it's easy to just setup the Project in Webistrano
"respository" as "https://code/svn/www/trunk/".

However, I'm specifically looking for a way on deployment just to type
in the tag number for projects that deploy from tags: https://code/svn/www/tags/MY_TAG

Just checking before I write some custom code for Webistrano if
anybody had done this, or if it's on the roadmap?

Nero

Afam Agbodike

unread,
Aug 6, 2010, 2:13:33 PM8/6/10
to webis...@googlegroups.com
I've done it by adding a config parameter named "tag" that is set to
prompt, and then slightly modifying the "repository" config parameter
to something like:

https://svndomain.com/repos/project/tags/#{tag}

Thereby setting the URL that is pulled on checkout to whatever has
been set in the tag parameter.

Hope that helps.

> --
> You received this message because you are subscribed to the Google Groups "Webistrano" group.
> To post to this group, send email to webis...@googlegroups.com.
> To unsubscribe from this group, send email to webistrano+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/webistrano?hl=en.
>
>

--
Afam

Andrew Edmond

unread,
Aug 6, 2010, 2:38:06 PM8/6/10
to webis...@googlegroups.com
Actually after I made this post, I tried that approach and it worked. Then
your post came through and I thought to myself: great minds think alike :)

Andrew

Jonathan Weiss

unread,
Aug 6, 2010, 3:44:13 PM8/6/10
to webis...@googlegroups.com
Cheers,

> Just checking before I write some custom code for Webistrano if
> anybody had done this, or if it's on the roadmap?

Not that I'm aware of.

Jonathan

--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss

Reply all
Reply to author
Forward
0 new messages