Clone all Projects as a Submodule of a Group
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=17486) </details> <!--IssueSummary end--> ### Description ``` ### Description When users work with multiple projects it may be desirable to clone and pull all projects that belong to a group. ### Proposal ``git clone https://server.tls/username/`` should clone all repositories of that user/group. ### Links / references There is a feature request in the [old issue tracker](https://github.com/gitlabhq/gitlabhq/issues/3511). There seems to be some interest in such a feature according to the [discussion](https://stackoverflow.com/questions/29099456/how-to-clone-all-projects-of-a-group-at-once-in-gitlab) on Stack Overflow ``` ### Proposal It would be nice feature to grab all projects from group as submodules and group being a top level git project having those submodules. Eg. page http://gitlab/groups/mytestgroup could show a guide either how to init a new repo and #0-level solution provide just guide mkdir mytestgroup cd mystestgroup git init #... these lines printed based on Projects belonging to group git submodule add repourl1.git git submodule add repourl2.git git submodule add repourl3.git #... loop ends or just implement the auto-creation (if the 'group'-repo does not exist) of mytestgroup git repo on server side #non-trivial solution ``` git clone -r http://gitlab/groups/mytestgroup.git ``` or ``` git clone http://gitlab/groups/mytestgroup.git git submodule init ``` ### Links / references https://gitlab.uservoice.com/forums/176466-deprecated-feedback-forum/suggestions/3817051-clone-all-projects-as-a-submodule-of-a-group-a-gr ### Customers https://gitlab.my.salesforce.com/00161000002xBfL
issue