threads / discuss / 36965

Tool/Scripts - For maintaining different branches on a repo

Subject: Tool/Scripts - For maintaining different branches on a repo

## tl;dr

3 messages between Jun 19, 2014 and Jun 27, 2014.

replies: 2people: 2as markdown or json

Jagan Teki· Jun 19, 2014, 10:48 UTC · lore
Hi,

I have a single repo with different kinds of branches say 4 branches. Developers will send a patches wrt to specific branch.

Is there any opensource tool/script that does applying patches/maintaining the branches in repo w/o manual intervention?

thanks!
-- 
Jagan.
brian m. carlson· Jun 20, 2014, 22:30 UTC · re: Jagan Teki · lore

Re: Tool/Scripts - For maintaining different branches on a repo

On Thu, Jun 19, 2014 at 04:18:22PM +0530, Jagan Teki wrote:
> Hi,
> 
> I have a single repo with different kinds of branches say 4 branches.
> Developers will send a patches wrt to specific branch.

I presume here that you're referring to emailed patches, or patches in independent files, as opposed to just having branches with commits.

> Is there any opensource tool/script that does applying patches/maintaining
> the branches in repo w/o manual intervention?

If you want something that works with patches specifically, TopGit might do what you want. If what you're looking for is a tool that accepts patches and automatically applies them, I'm not aware of one. It shouldn't be terribly difficult to script, though.

If you don't need to deal with patches and can instead deal with git repositories, GitLab and Gitorious offer merge requests, which might make life easier. I have heard that GitLab is less painful to set up.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Jagan Teki· Jun 27, 2014, 06:27 UTC · re: brian m. carlson · lore

Re: Tool/Scripts - For maintaining different branches on a repo

On Sat, Jun 21, 2014 at 4:00 AM, brian m. carlson <sandals@crustytoothpaste.net> wrote:

Show 8 quoted lines
> On Thu, Jun 19, 2014 at 04:18:22PM +0530, Jagan Teki wrote:
>> Hi,
>>
>> I have a single repo with different kinds of branches say 4 branches.
>> Developers will send a patches wrt to specific branch.
>
> I presume here that you're referring to emailed patches, or patches in
> independent files, as opposed to just having branches with commits.
Let me clear my requirement:

I'm using Thunderbird, the tool will pick the patches with _defined_ subject prefix and apply the respective branches as I inputting.

Please let me know if you still have any clarity.
Show 17 quoted lines
>
>> Is there any opensource tool/script that does applying patches/maintaining
>> the branches in repo w/o manual intervention?
>
> If you want something that works with patches specifically, TopGit might
> do what you want.  If what you're looking for is a tool that accepts
> patches and automatically applies them, I'm not aware of one.  It
> shouldn't be terribly difficult to script, though.
>
> If you don't need to deal with patches and can instead deal with git
> repositories, GitLab and Gitorious offer merge requests, which might
> make life easier.  I have heard that GitLab is less painful to set up.
>
> --
> brian m. carlson / brian with sandals: Houston, Texas, US
> +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
> OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
thanks!
-- 
Jagan.

← back to recent threads