[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



Hi Sébastien,

On Sun, Feb 11, 2018 at 10:23:35AM +0100, Sébastien Villemot wrote:
> 
> > 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?
> 
> The closer to what you want is the list_projects.sh script that I wrote for
> salsa-scripts:
> 
>   https://salsa.debian.org/mehdi/salsa-scripts/

Cool, exactly what I was imagining,
 
> But I think it does not currently work with subgroups, so it probably needs to
> be improved.

I'm positively convinced that subgroups do more harm than good so in
Debian Med team we were not using these.  I'll see what I can do.

Additional question:  Is there any kind of annonymous SALSA_TOKEN for
read only access?  I would like to run the script on a public server
and thus do not want to use my private token.

Kind regards

        Andreas.

-- 
http://fam-tille.de


Reply to: