Hello :)

I'm trying to do the same work. I want to be able to create 
repositories/projects via commandline or using a "hack" to do the same work 
manually like gitorious do with the GUI.

Are they something new about this stuff ?

Thanks !

Le jeudi 16 août 2012 15:04:31 UTC+2, guyzmo a écrit :
>
> 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] <javascript:>" "
> 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]

Reply via email to