Hi Andreas,

you can use a GitLab-API if you do not want to use the WEB-interface.

To create a new project on science-team you need to:

curl -f 
"https://salsa.debian.org/api/v4/projects?private_token=YOUR_SALSA_TOKEN";
\
  --data 
"path=PROJECTNAME&namespace_id=2136&description=DESCRIPTION&visibility=public"

Best regards

Anton


2018-01-07 21:33 GMT+01:00 Andreas Tille <[email protected]>:
> Hi,
>
> I'd like to create a new repository on Salsa.  On Alioth we used
>
>     ssh git.debian.org "cd /git/debian-science; ./setup-repository 
> $DEBPKGNAME \"$SHORTDESC\""
>
> Is there some similar equivalent I could use in a script on Salsa?
>
> Kind regards
>
>      Andreas.
>
> --
> http://fam-tille.de
>

Reply via email to