Bug#927350: salsa: does not accept sub-group in --group parameter

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#927350: salsa: does not accept sub-group in --group parameter

Raphael Hertzog-3
Package: devscripts
Version: 2.19.4
Severity: normal
User: [hidden email]
Usertags: origin-kali

$ salsa --group freexian-team list_groups
Id       : 3695
Name     : Extended LTS
Full path: freexian-team/extended-lts
Parent id: 2925
$ salsa --group freexian-team/extended-lts group
salsa error Bad group value in command line

Thus you can't configure repositories in sub-groups except if you
work around this limitation by using "--group-id XXX" instead
of --group.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages devscripts depends on:
ii  dpkg-dev              1.19.6
ii  fakeroot              1.23-1
ii  file                  1:5.35-4
ii  gnupg                 2.2.13-1
ii  gnupg2                2.2.13-1
ii  gpgv                  2.2.13-1
ii  libc6                 2.28-8
ii  libfile-homedir-perl  1.004-1
ii  libfile-which-perl    1.23-1
ii  libipc-run-perl       20180523.0-1
ii  libmoo-perl           2.003004-2
ii  libwww-perl           6.36-1
ii  patchutils            0.3.4-2
ii  perl                  5.28.1-6
ii  python3               3.7.3-1
ii  sensible-utils        0.0.12
ii  wdiff                 1.2.2-2+b1

Versions of packages devscripts recommends:
ii  apt                         1.8.0
ii  at                          3.1.23-1
ii  curl                        7.64.0-2
ii  dctrl-tools                 2.24-3
ii  debian-keyring              2019.03.24
ii  dput                        1.0.3
ii  equivs                      2.2.0
ii  libdistro-info-perl         0.21
ii  libdpkg-perl                1.19.6
ii  libencode-locale-perl       1.05-1
ii  libgit-wrapper-perl         0.048-1
ii  libgitlab-api-v4-perl       0.16-1
ii  liblist-compare-perl        0.53-1
ii  liblwp-protocol-https-perl  6.07-2
ii  libsoap-lite-perl           1.27-1
ii  libstring-shellquote-perl   1.04-1
ii  libtry-tiny-perl            0.30-1
ii  liburi-perl                 1.76-1
ii  licensecheck                3.0.31-3
ii  lintian                     2.12.0
ii  man-db                      2.8.5-2
ii  patch                       2.7.6-3
ii  python3-apt                 1.8.4
ii  python3-debian              0.1.34
ii  python3-magic               2:0.4.15-2
ii  python3-requests            2.21.0-1
ii  python3-unidiff             0.5.5-1
ii  python3-xdg                 0.25-5
ii  strace                      4.26-0.2
ii  unzip                       6.0-22
ii  wget                        1.20.1-1.1
ii  xz-utils                    5.2.4-1

Versions of packages devscripts suggests:
ii  adequate                                  0.15.2
ii  autopkgtest                               5.10
pn  bls-standalone                            <none>
ii  bsd-mailx [mailx]                         8.1.2-0.20180807cvs-1
ii  build-essential                           12.6
pn  check-all-the-things                      <none>
pn  cvs-buildpackage                          <none>
ii  debhelper                                 12.1.1
pn  devscripts-el                             <none>
pn  diffoscope                                <none>
pn  disorderfs                                <none>
ii  dose-extra                                5.0.1-12
pn  duck                                      <none>
ii  faketime                                  0.9.7-3
pn  gnuplot                                   <none>
ii  how-can-i-help                            16
ii  libauthen-sasl-perl                       2.1600-1
ii  libdbd-pg-perl                            3.7.4-3
ii  libfile-desktopentry-perl                 0.22-1
pn  libnet-smtps-perl                         <none>
pn  libterm-size-perl                         <none>
ii  libtimedate-perl                          2.3000-2
pn  libyaml-syck-perl                         <none>
pn  mozilla-devscripts                        <none>
ii  mutt                                      1.10.1-2
ii  openssh-client [ssh-client]               1:7.9p1-10
ii  piuparts                                  0.98
ii  postgresql-client                         11+200+deb10u1
ii  postgresql-client-10 [postgresql-client]  10.5-1
ii  postgresql-client-11 [postgresql-client]  11.2-2
ii  quilt                                     0.65-3
pn  ratt                                      <none>
pn  reprotest                                 <none>
ii  svn-buildpackage                          0.8.7
ii  w3m                                       0.5.3-37

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/perl5/Devscripts/Salsa/Config.pm (from devscripts package)

Reply | Threaded
Open this post in threaded view
|

Bug#927350: salsa: does not accept sub-group in --group parameter

Xavier Guimard-3
Le 18/04/2019 à 13:53, Raphaël Hertzog a écrit :

> Package: devscripts
> Version: 2.19.4
> Severity: normal
> User: [hidden email]
> Usertags: origin-kali
>
> $ salsa --group freexian-team list_groups
> Id       : 3695
> Name     : Extended LTS
> Full path: freexian-team/extended-lts
> Parent id: 2925
> $ salsa --group freexian-team/extended-lts group
> salsa error Bad group value in command line
>
> Thus you can't configure repositories in sub-groups except if you
> work around this limitation by using "--group-id XXX" instead
> of --group.

Hello,

workaround: use --group-id (you can find group id using
`salsa search_group`).

I'll try to find a better way

Cheers,
Xavier

Reply | Threaded
Open this post in threaded view
|

Bug#927350: salsa: does not accept sub-group in --group parameter

Xavier Guimard-3
Le 18/04/2019 à 14:01, Xavier a écrit :

> Le 18/04/2019 à 13:53, Raphaël Hertzog a écrit :
>> Package: devscripts
>> Version: 2.19.4
>> Severity: normal
>> User: [hidden email]
>> Usertags: origin-kali
>>
>> $ salsa --group freexian-team list_groups
>> Id       : 3695
>> Name     : Extended LTS
>> Full path: freexian-team/extended-lts
>> Parent id: 2925
>> $ salsa --group freexian-team/extended-lts group
>> salsa error Bad group value in command line
>>
>> Thus you can't configure repositories in sub-groups except if you
>> work around this limitation by using "--group-id XXX" instead
>> of --group.
>
> Hello,
>
> workaround: use --group-id (you can find group id using
> `salsa search_group`).
>
> I'll try to find a better way
>
> Cheers,
> Xavier

Fixed in
https://salsa.debian.org/debian/devscripts/merge_requests/117/diffs?commit_id=f1ab426839543b45d7177e4529fc53f378771be2

Note that a subgroup must be explicit:

  $ salsa --group perl-team/modules/packages ...

(subgroup names are not unique)