Hi Bram, 
Thank you for your awnser,
I've tried the API and it does great when deleting the project, but the 
repository folder does not move.
I could rm -rf the folder aftewards but is there an cleaner way to remove a 
project ?
Thank you.

Regards


Le lundi 16 février 2015 10:52:43 UTC+1, Bram Daams a écrit :
>
> Did you try using the gitlab API?
>
> https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/projects.md
>
> Bests,
>
> Bram
>
> Op maandag 16 februari 2015 09:39:18 UTC+1 schreef Pierre Lerouge:
>>
>> Hi, 
>> I'm trying to remove a project before re-importing it
>> (it's an SVN - Git migration automation test)
>> For the moment I'm only creating a bare repository and pushing it to the 
>> gitlab repository folder and launching an rake task 
>> (gitlab-rake gitlab:import:repos), 
>> I'm seeing some strange behaviour when browsing the tags for instance, 
>> But only after several import of the same project which have added some 
>> tag and branches.
>>
>> My question is : how can I remove the project before re-pushing it ? 
>> I've tried simply rm -rf the repository folder and running an cleanup 
>> rake task, but the project still exists in gitlab.
>> what would be the best way to re-import a project without having some 
>> strange behaviour (like having a list of branches in the file view that 
>> doesn't match the branch view
>>
>> I'm using this configuration : 
>> System information
>> System:         Debian 7.6
>> Current User:   git
>> Using RVM:      no
>> Ruby Version:   2.1.2p95
>> Gem Version:    2.2.1
>> Bundler Version:1.5.3
>> Rake Version:   10.3.2
>> Sidekiq Version:2.17.0
>>
>> GitLab information
>> Version:        7.3.1
>> Revision:       1660aa2
>> Directory:      /opt/gitlab/embedded/service/gitlab-rails
>> DB Adapter:     postgresql
>> URL:            http://XXXXX
>> HTTP Clone URL: http://XXXX/some-project.git
>> SSH Clone URL:  git@XXXXX:some-project.git
>> Using LDAP:     yes
>> Using Omniauth: no
>>
>> GitLab Shell
>> Version:        2.0.0
>> Repositories:   /var/opt/gitlab/git-data/repositories
>> Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks/
>> Git:            /opt/gitlab/embedded/bin/git
>>
>>
>> Thank you for your time
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/831a74f1-5fca-4723-87e2-f96526968e1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to