On Thu, Jan 25, 2018 at 02:34:53PM +0800, Drew Parsons wrote:
> On Thu, 2018-01-25 at 14:18 +0800, Drew Parsons wrote:
> > The Debian Science group exists on salsa (and Anton has imported most
> > projects from alioth). But the alioth import instructions at
> > http://www.df7cb.de/blog/2017/Salsa_batch_import.html tell us to get
> > the group id (namespace_id) using
> > curl https://salsa.debian.org/api/v4/groups | jq . |
> > less
> >
> > But there is no entry for the Debian Science Team there.
> >
> > That command itself does not report all salsa groups, we need to
> > expand
> > to
> > curl -I https://salsa.debian.org/api/v4/groups | sed -n
> > -e '/Link/p' | awk -F'<|>' '{print $2}' | xargs curl | jq . | less
> >
> > But even then, Debian Science is still not listed.
> >
> > Is the registration of the Debian Science team on salsa incomplet?
>
> Can see the group in the raw https://salsa.debian.org/api/v4/groups.
>
> (science-team 2136, science-team/fenics 2620)
>
> It's those other curl manipulations that are intended to make the data
> readable which are not working.
This is because the GitLab API returns at most 100 results per page.
Debian Science Team appears on the 4th page:
https://salsa.debian.org/api/v4/groups?page=4
More details on the API:
https://docs.gitlab.com/ce/api/groups.html
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer
⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀ http://www.debian.org
Attachment:
signature.asc
Description: PGP signature