[git-users] Re: auto branching origin server

2012-11-22 Thread Jeffrey Marans
I'm beginning to get the feeling that GIT offers solutions that are elegant 
in their simplicity.

Thanks.


On Wednesday, November 21, 2012 1:37:14 PM UTC-5, Jeffrey Marans wrote:
>
> I'm working on converting 20 cvs modules into snv/git repositories in 
> order to determine which is most appropriate for my client's needs.
> The module to repo conversion is going well because the cvs2svn/git tools 
> work as documented.  Thanks for that.
>
> I've been able to write some autobranch code that runs on our bugzilla 
> server against the SVN repos and is triggered by a bugs table update.
> I'm at a loss how to accomplish the same results against the GIT origin.
>
> Any suggestions would be appreciated.
>
> Jeff.
>

-- 




Re: [git-users] Re: auto branching origin server

2012-11-22 Thread Konstantin Khomoutov
On Thu, 22 Nov 2012 04:06:06 -0800 (PST)
Jeffrey Marans  wrote:

> When a Bugzilla bug transitions to the ASSIGNED state a stored
> procedure in the Bugzilla mysql database bugs table fires a script
> that forks a bug branch on the origin server.
> 
> SVN commands allow me to script server side branching.  I need to
> effect the same results with GIT.

$ cd /path/to/a/(bare)/git/repo
$ git branch bug-$BUG master

-- 




[git-users] Re: auto branching origin server

2012-11-22 Thread Jeffrey Marans
When a Bugzilla bug transitions to the ASSIGNED state a stored procedure in 
the Bugzilla mysql database bugs table fires a script that forks a bug 
branch on the origin server.

SVN commands allow me to script server side branching.  I need to effect 
the same results with GIT.

On Wednesday, November 21, 2012 1:37:14 PM UTC-5, Jeffrey Marans wrote:
>
> I'm working on converting 20 cvs modules into snv/git repositories in 
> order to determine which is most appropriate for my client's needs.
> The module to repo conversion is going well because the cvs2svn/git tools 
> work as documented.  Thanks for that.
>
> I've been able to write some autobranch code that runs on our bugzilla 
> server against the SVN repos and is triggered by a bugs table update.
> I'm at a loss how to accomplish the same results against the GIT origin.
>
> Any suggestions would be appreciated.
>
> Jeff.
>

--