Version Control for ticket objects

To List,

I went to the RT Training in San Francisco last year and I thought I
heard
Jesse mention that the 3.8.x version had “subversion” built-into
it, or at
least set up so it could be used.

The reason I ask is because I want to set up a Ticket Custom Field to
contain the ID of a program that needs to be modified and then initiate some
version control to “check out” when the ticket is opened and “check in” when
resolved. Did I hear wrong or is this possible?

Kenn
LBNL

I went to the RT Training in San Francisco last year and I thought I heard Jesse mention that
the 3.8.x version had “subversion” built-into it, or at least set up so it could be used.

The reason I ask is because I want to set up a Ticket Custom Field to contain the ID of a
program that needs to be modified and then initiate some version control to “check out” when
the ticket is opened and “check in” when resolved. Did I hear wrong or is this possible?

Kenn

I suspect Jesse was referring to this

but I honestly can’t make out enough of what you’re trying to
accomplish to provide commentary. You could certainly run the svn
commandline from within a scrip action if needed.

-kevin

Kevin,

Thanks. I’ll look at that.

What I was thinking about doing was to have a Custom Field (let’s call it
“Program Id”) that would contain the name of an object in a version control
library and then have a URL for that CF that contains a shell that would
evaluate the transaction type and CF value. In that evaluation it would
either check out the object from the VC library (specified in the shell) and
put it in a workarea. If it was a resolve, it would check it back in. Of
course, this is just a preliminary idea. I have to flesh out the logistics,
but I think it would work.

Kenn
LBNLOn Mon, Jun 28, 2010 at 10:26 AM, Kevin Falcone falcone@bestpractical.comwrote:

On Thu, Jun 24, 2010 at 12:42:14PM -0700, Kenneth Crocker wrote:

I went to the RT Training in San Francisco last year and I thought I
heard Jesse mention that
the 3.8.x version had “subversion” built-into it, or at least set up
so it could be used.

The reason I ask is because I want to set up a Ticket Custom Field to
contain the ID of a
program that needs to be modified and then initiate some version
control to “check out” when
the ticket is opened and “check in” when resolved. Did I hear wrong or
is this possible?

Kenn

I suspect Jesse was referring to this
RT-Integration-SVN-0.04 - RT Integration-SVN Extension - metacpan.org
but I honestly can’t make out enough of what you’re trying to
accomplish to provide commentary. You could certainly run the svn
commandline from within a scrip action if needed.

-kevin

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

What I was thinking about doing was to have a Custom Field (let’s call it “Program Id”) that
would contain the name of an object in a version control library and then have a URL for that
CF that contains a shell that would evaluate the transaction type and CF value. In that
evaluation it would either check out the object from the VC library (specified in the shell)
and put it in a workarea. If it was a resolve, it would check it back in. Of course, this is
just a preliminary idea. I have to flesh out the logistics, but I think it would work.

That certainly sounds like something you could script, assuming it can
be done by the RT webuser, but it doesn’t have anything to do with the
RT-Integration-SVN module

-kevin

Kevin,

Yea. I’m gonna look at that link you sent me first. It certainly might save
me a bunch of time.

Thanks.

KennOn Mon, Jun 28, 2010 at 11:26 AM, Kevin Falcone falcone@bestpractical.comwrote:

On Mon, Jun 28, 2010 at 11:18:28AM -0700, Kenneth Crocker wrote:

What I was thinking about doing was to have a Custom Field (let’s call
it “Program Id”) that
would contain the name of an object in a version control library and
then have a URL for that
CF that contains a shell that would evaluate the transaction type and
CF value. In that
evaluation it would either check out the object from the VC library
(specified in the shell)
and put it in a workarea. If it was a resolve, it would check it back
in. Of course, this is
just a preliminary idea. I have to flesh out the logistics, but I
think it would work.

That certainly sounds like something you could script, assuming it can
be done by the RT webuser, but it doesn’t have anything to do with the
RT-Integration-SVN module

-kevin

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com