Re: [rt-users] RT and Subversion

2009-09-16 Thread Ben
Can any one help me on this?
 
Thanks,
 
Ben

--- On Tue, 9/15/09, Ben uy...@yahoo.com wrote:


From: Ben uy...@yahoo.com
Subject: RT and Subversion
To: RT Users rt-users@lists.bestpractical.com
Date: Tuesday, September 15, 2009, 11:27 AM







Hi, All,

I have a quick question. I use RT and subversion and scmbug. 
I have created several queues undr RT, also several projects under one repos in 
subversion.
My question is: how can I let the ticket owner can make changes to one projects 
in subversion?
for example, I have queueA, queueB, queueC, under subversion repos, I have 
projectA, projectB, projectC.  User A have a ticket in queueA, then he can 
check in to projectA, userB has a ticket in queueB, then he can check in to 
projectB.
 
Thanks!
 
Ben



  ___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Re: [rt-users] RT and Subversion

2009-09-16 Thread Tom Lahti
I do this with subversion hooks that call the RT REST API and some custom
fields.  The programmer puts Ticket: 123 as the first line of the comment at
commit.  The hooks validate the ticket data using REST API before allowing the
commit, and they also post information about the commit back to the ticket.

My hooks are written in ruby and use the rt-client library from rubyforge
(which I am the author of).


Ben wrote:
 Can any one help me on this?
  
 Thanks,
  
 Ben
 
 --- On *Tue, 9/15/09, Ben /uy...@yahoo.com/* wrote:
 
 
 From: Ben uy...@yahoo.com
 Subject: RT and Subversion
 To: RT Users rt-users@lists.bestpractical.com
 Date: Tuesday, September 15, 2009, 11:27 AM
 
 Hi, All,
 
 I have a quick question. I use RT and subversion and scmbug.
 I have created several queues undr RT, also several projects under
 one repos in subversion.
 My question is: how can I let the ticket owner can make changes to
 one projects in subversion?
 for example, I have queueA, queueB, queueC, under subversion repos,
 I have projectA, projectB, projectC.  User A have a ticket in
 queueA, then he can check in to projectA, userB has a ticket in
 queueB, then he can check in to projectB.
  
 Thanks!
  
 Ben
 
 
 
 
 
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com


-- 
-- 
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] RT and Subversion

2009-09-16 Thread Ben
thanks, Tom
 
I used scmbug to hook subversion with RT, is there a way to complete task with 
scmbug?
 
also Tom, does your way need a lot work to do?
 
 
Regards,
 
Ben

--- On Wed, 9/16/09, Tom Lahti t...@bitstatement.net wrote:


From: Tom Lahti t...@bitstatement.net
Subject: Re: [rt-users] RT and Subversion
To: Ben uy...@yahoo.com
Cc: RT Users rt-users@lists.bestpractical.com
Date: Wednesday, September 16, 2009, 1:51 PM


I do this with subversion hooks that call the RT REST API and some custom
fields.  The programmer puts Ticket: 123 as the first line of the comment at
commit.  The hooks validate the ticket data using REST API before allowing the
commit, and they also post information about the commit back to the ticket.

My hooks are written in ruby and use the rt-client library from rubyforge
(which I am the author of).


Ben wrote:
 Can any one help me on this?
  
 Thanks,
  
 Ben
 
 --- On *Tue, 9/15/09, Ben /uy...@yahoo.com/* wrote:
 
 
     From: Ben uy...@yahoo.com
     Subject: RT and Subversion
     To: RT Users rt-users@lists.bestpractical.com
     Date: Tuesday, September 15, 2009, 11:27 AM
 
     Hi, All,
 
     I have a quick question. I use RT and subversion and scmbug.
     I have created several queues undr RT, also several projects under
     one repos in subversion.
     My question is: how can I let the ticket owner can make changes to
     one projects in subversion?
     for example, I have queueA, queueB, queueC, under subversion repos,
     I have projectA, projectB, projectC.  User A have a ticket in
     queueA, then he can check in to projectA, userB has a ticket in
     queueB, then he can check in to projectB.
      
     Thanks!
      
     Ben
 
 
 
 
 
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com


-- 
-- 
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- 



  ___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Re: [rt-users] RT and Subversion

2009-09-16 Thread Kevin Falcone
On Wed, Sep 16, 2009 at 01:01:47PM -0700, Ben wrote:
thanks, Tom
 
I used scmbug to hook subversion with RT, is there a way to complete task 
 with scmbug?
 
also Tom, does your way need a lot work to do?

http://search.cpan.org/dist/RT-Integration-SVN/ 
lets you close tickets with svn commit messages

-kevin

Regards,
 
Ben
 
--- On Wed, 9/16/09, Tom Lahti t...@bitstatement.net wrote:
 
  From: Tom Lahti t...@bitstatement.net
  Subject: Re: [rt-users] RT and Subversion
  To: Ben uy...@yahoo.com
  Cc: RT Users rt-users@lists.bestpractical.com
  Date: Wednesday, September 16, 2009, 1:51 PM
 
  I do this with subversion hooks that call the RT REST API and some custom
  fields.  The programmer puts Ticket: 123 as the first line of the 
 comment at
  commit.  The hooks validate the ticket data using REST API before 
 allowing the
  commit, and they also post information about the commit back to the 
 ticket.
 
  My hooks are written in ruby and use the rt-client library from rubyforge
  (which I am the author of).
 
  Ben wrote:
   Can any one help me on this?
  
   Thanks,
  
   Ben
  
   --- On *Tue, 9/15/09, Ben /[1]uy...@yahoo.com/* wrote:
  
  
   From: Ben [2]uy...@yahoo.com
   Subject: RT and Subversion
   To: RT Users [3]rt-us...@lists.bestpractical.com
   Date: Tuesday, September 15, 2009, 11:27 AM
  
   Hi, All,
  
   I have a quick question. I use RT and subversion and scmbug.
   I have created several queues undr RT, also several projects under
   one repos in subversion.
   My question is: how can I let the ticket owner can make changes to
   one projects in subversion?
   for example, I have queueA, queueB, queueC, under subversion repos,
   I have projectA, projectB, projectC.  User A have a ticket in
   queueA, then he can check in to projectA, userB has a ticket in
   queueB, then he can check in to projectB.
  
   Thanks!
  
   Ben
  
  
  
  
   
 
  
   ___
   [4]http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
  
   Community help: [5]http://wiki.bestpractical.com
   Commercial support: [6]sa...@bestpractical.com
  
  
   Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
   Buy a copy at [7]http://rtbook.bestpractical.com
 
  --
  -- 
 Tom Lahti
 BIT Statement LLC
 
 (425)251-0833 x 117
 [8]http://www.bitstatement.net/
  -- 
 
 References
 
Visible links
1. http://us.mc369.mail.yahoo.com/mc/compose?to=uy...@yahoo.com
2. http://us.mc369.mail.yahoo.com/mc/compose?to=uy...@yahoo.com
3. 
 http://us.mc369.mail.yahoo.com/mc/compose?to=rt-us...@lists.bestpractical.com
4. http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
5. http://wiki.bestpractical.com/
6. http://us.mc369.mail.yahoo.com/mc/compose?to=sa...@bestpractical.com
7. http://rtbook.bestpractical.com/
8. http://www.bitstatement.net/

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] RT and Subversion

2009-09-16 Thread Tom Lahti
 http://search.cpan.org/dist/RT-Integration-SVN/ 
 lets you close tickets with svn commit messages

That should be easy enough in a custom post-commit hook, too.  Just parse the
commands out of the subversion log message fetched with 'svnlook' and do the
corresponding thing with the rt command line or the REST API.

-- 
-- 
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] RT and Subversion

2009-09-16 Thread Kevin Falcone
On Wed, Sep 16, 2009 at 01:28:48PM -0700, Tom Lahti wrote:
  http://search.cpan.org/dist/RT-Integration-SVN/ 
  lets you close tickets with svn commit messages
 
 That should be easy enough in a custom post-commit hook, too.  Just parse the
 commands out of the subversion log message fetched with 'svnlook' and do the
 corresponding thing with the rt command line or the REST API.

You've just described how it works

-kevin
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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