Hello,
I want to be able to create projects and repositories from
commandline (so I can integrate it in a python library I'm writing). So,
I've done my homework, I looked for documentation, and only found:
https://gitorious.org/gitorious/pages/Api
which gives almost nothing. So I've looked over the mailing-list,
and the status is pretty unclear. It seems there used to be a way using
curl, as stated in a thread (from Reid Ellis, "Re: [gitorious]
API/Programatically Create Repo?"):
curl -D- -d 'repository[name]=myrepos'
-d 'repository[description]=myrepos'
-d 'repository[merge_requests_enabled]=1'
-u "[email protected]"
"https://gitorious.org/MYPROJECT/repositories"
I even tried to add authenticity_token, but I only get 500 errors
(even with -H "Accept: text/html"). And Reid says it worked one year
ago...
Then, cjohansen, in "Re: API Support" states in march that there is
no API support for the time being... and then Marius MÃ¥rnes Mathiesen
suggests to add github's API to gitorious.
So this question has already been asked a few times in the past,
with no clear statement on the question. That's quite sad that the only
FLOSS git based project management tool has no API to program
interactions and tools with it :-S.
So, could someone explain why the restful request does not work
anymore, was it intended ? Would it be possible to bring it back ? What
could be the plans to bring back this feature in an elegant way ?
Is there any other hackish solution to still do it ?
Thanks,
--
Guyzmo
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]