Hi,

On Fri, 11 Sep 2020, Xavier wrote:
> Something like:
> 
>   $ salsa --group xx-team --all --no-fail protect_branch master no
>   $ salsa --group xx-team --all --no-fail rename_branch \
>           --source-branch=master --dest-branch=debian/master
>   $ salsa --group xx-team --all --no-fail rename_branch \
>           --source-branch=upstream --dest-branch=master
>   $ salsa --group xx-team --all --no-fail protect_branch master md
> 
> NB: I didn't verify if "--all" is compatible with these commands but I
> can fix that if this doesn't work. I think Raphaël Hertzog tried it;
> Raphaël, did you ?

Yes, for pkg-security we use:
$ salsa --conf-file +./salsa-pkg-security.conf update_safe --all --verbose

And the config file has SALSA_RENAME_HEAD and SALSA_SOURCE_BRANCH and
SALSA_DEST_BRANCH to take care of this operation. AFAIK we did not have
to do anything regarding the branch protection, but maybe I'm wrong.

https://salsa.debian.org/pkg-security-team/pkg-security-team/-/blob/master/salsa-pkg-security.conf

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog <hert...@debian.org>
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋    The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄⠀⠀⠀⠀   Debian Long Term Support: https://deb.li/LTS

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to