• Bug#1101548: FYI: Bug#1101548: dep-14-convert-git-branch-names: specify

    From =?UTF-8?Q?Martin=2D=C3=89ric_Racine@21:1/5 to otto@debian.org on Mon Apr 7 07:20:01 2025
    On Sun, 30 Mar 2025 22:29:13 +0300
    =?UTF-8?B?T3R0byBLZWvDpGzDpGluZW4=?= <otto@debian.org> wrote:
    I just tried performing the DEP14 migration as a DM and got:

    -------
    salsa protect_branch debian/xserver-xorg-video-geode master no
    Error DELETEing https://salsa.debian.org/api/v4/projects/91605/protected_branches/master (HTTP 403): Forbidden {"error":"insufficient_scope","error_description":... at /usr/share/perl5/Devscripts/Salsa/protect_branch.pm line 28.
    -------

    It would be useful for either the --help or the manpage to tell which token scopes are needed for the conversion steps to succeed.

    The DEP-14 conversion tool uses the 'salsa' tool for GitLab
    interactions. What is stated at https://manpages.debian.org/unstable/devscripts/salsa.1.en.html
    applies for it.

    However, I agree it would be easier if the man page for the DEP-14
    conversion tool had this and the suggested permissions explained. I
    will look into that soon.

    I already have created a token. What needs to be documented is 1)
    which scopes must be selected when creating the token for the above
    command to succeed. 2) any caveat that applies to DM, but not
    full-fleged DD.

    Martin-Éric

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)