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 ?
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.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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? )?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes pull requests will work across repository forks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't do this currently. Forking will be released very very soon, I promise!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.