grimborg / gitgitlab

GitGitLab: Gitlab Git Plugin

Home Page:https://gitgitlab.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create project under a namespace

sameersbn opened this issue · comments

Is it possible to specify the namespace under which the project should be created?
when i do git lab create -t <project name> a new project is created under the user namespace. Would it be possible to add an option to specify the namespace under which the project should be created, e.g. git lab create -t -n <namespace> <project name> or git lab create -t <namespace>/<project name>

Good idea! I'll look into it.

@grimborg thanks. 👍

commented

The create project API requires a namespace_id and so far there doesn't seem to be an API endpoint that can convert a namespace name -> id, which makes this difficult to implement.

Will have to look into this further.