Hello,

I am trying to programatically create a repo inside a project. I found
a thread mentioning CURL and I tried paying around with it to no luck,
I assume the authentication system has changed since then, as I keep
getting auth errors (Invalid Token...).

Any idea of how I could do this? My final test was

curl -X put -H "Accept: text/xml" -d
"repository[name]=test&repository[description]=Test&repository[merge_requests_enabled]=1"
-u [email protected]:password -k 
https://192.168.1.106/project/repositories/new

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to