Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

User private branches support in Stash

Mohan Krishnan March 27, 2013

Gerrit provides functionality for the creation of an access rule for "refs/heads/dev/${username}/*" branch. Essentially in our work flow we want that the developer should be able to push his branches onto some server, and be sure that nobody else can delete or overwrite them. Does Stash provides any mechanism to achieve this ? If not , is this feature in road map ?

1 answer

0 votes
seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2013

Stash does not provide this feature at the moment, but it could be coded with a plugin. We will be shipping repository forking in the next release, however which will provide an alternate way of achieving this.

Mohan Krishnan March 28, 2013

Thanks Seb!

Could you please elaborate how does repository fork provides an alternate way to support

user private branches in Stash . What features will this repository forking feature include ?

seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2013

It means that users can push branches to their own repositories, rather than "pollute" the canonical repository. They will be able to restrict their own fork to be private (so no other user can push or delete refs)

Mohan Krishnan March 29, 2013

So finally private forked repo will be merged to the main repo ? Will there be an inclusion of a review mechanism between this forked repo to main repo merge ( pull requests? )?

seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2013

Yes pull requests will work across repository forks

Mohan Krishnan April 14, 2013

Hi Seb,

Any clue on how can we hook to apply a branch permission (write) to a user id , as soon as the user pushes a branch to the stash server . This will be equivalent to user private branch . This is

a blocker since many of our project teams are looking for this functionality and we are not sure when repository forking will be available in stash .

Regards,

Mohan

seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2013

You can't do this currently. Forking will be released very very soon, I promise!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events