[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about Salsa API: How to get all projects (including in subgroups) of a team



Am Samstag, den 10.02.2018, 18:56 +0100 schrieb Andreas Tille:

> I think I have seen the answer to my question here before but I failed
> finding it:  I want to read the certain files of the debian/ dir of all
> projects of a team (including subgroups).  So how can I get the names
> (and subdirs!) of all packaging projects of Debian Science?

Names only. From libgitlab-api-v4-perl:

gitlab-api-v4 configure
[set url and token]
gitlab-api-v4 --all group_projects science-team | jq -r '.[].name'

That is probably easier than scripting.

Regards, Daniel

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: