Could we have the import tool support importing git repositories with above nested groups?
Alternatively could we support to import all the required git repositories based on the Android repo manifest file, for example, the default one at https://android.googlesource.com/platform/manifest ?
I think the existing import tool belongs more to Platform than Discussion, so I'll let @DouweM take a look at this.
First thoughts: I didn't even know we had this! Is it something we want to continue supporting? (If people use it frequently, then I guess we do need to do so!)
@xiaogang_gitlab Are you suggesting to have the import tool support importing nested groups? That's not directly related to Gerrit/AOSP as far as I can see. If it currently doesn't, that sounds like a bug we should fix. /cc @dzaporozhets
I think it would also be interesting to build an actual Gerrit importer tool in the GitLab UI that understands that manifest format and imports all the projects into a specific group, but that's obviously more complex :)
@DouweM Yes for the import tool to import from the repo storage into the Gitlab and present the multi-layer paths in the way as Google like https://android.googlesource.com. Since it remains the same structure, there's almost no need for end users to update their script.
Yes it would be even better to have the capability to parse the manifest files.
At current state import from URL does not support URL parsing with automatic creating of groups hierarchy. I think we can make it work with manifest file. Its not necessary related to nested groups as it should be able to work with flat and deep nested structure. I believe main benefit here is providing one file to GitLab and have GitLab creating all necessary groups, nested groups and projects. /cc @DouweM
@dzaporozhets The request as written seems to be about the existing https://docs.gitlab.com/ee/raketasks/import.html tool, which looks at the dirs in repositories and automatically creates groups/projects for them. I don't think that currently works with nested groups.
@DouweM I can confirm that it does not import existing repositories with nested subdirectories. We are running a trial right now. Here is the message I sent to our trial contact regarding this:
Importing an existing project with nested directories using gitlab-rake gitlab:import:repos does not create subgroups or move imported repositories into subgroups even if the entire group structure was created in the GUI before the import. I tried importing both with no existing groups and also importing after I manually created nested groups to match our structure. In both cases the imports failed with the message " * Failed trying to create group top_group/subgroup"
The request as written seems to be about the existing https://docs.gitlab.com/ee/raketasks/import.html tool, which looks at the dirs in repositories and automatically creates groups/projects for them. I don't think that currently works with nested groups
@DouweM ok then we should implement/fix it. Probably should be a separate issue describing exact problem
GitLab is moving all development for both GitLab Community Edition
and Enterprise Edition into a single codebase. The current
gitlab-ce repository will become a read-only mirror, without any
proprietary code. All development is moved to the current
gitlab-ee repository, which we will rename to just gitlab in the
coming weeks. As part of this migration, issues will be moved to the
current gitlab-ee project.
If you have any questions about all of this, please ask them in our
dedicated FAQ issue.
Using "gitlab" and "gitlab-ce" would be confusing, so we decided to
rename gitlab-ce to gitlab-foss to make the purpose of this FOSS
repository more clear
I created a merge requests for CE, and this got closed. What do I
need to do?
Everything in the ee/ directory is proprietary. Everything else is
free and open source software. If your merge request does not change
anything in the ee/ directory, the process of contributing changes
is the same as when using the gitlab-ce repository.
Will you accept merge requests on the gitlab-ce/gitlab-foss project
after it has been renamed?
No. Merge requests submitted to this project will be closed automatically.
Will I still be able to view old issues and merge requests in
gitlab-ce/gitlab-foss?
Yes.
How will this affect users of GitLab CE using Omnibus?
No changes will be necessary, as the packages built remain the same.
How will this affect users of GitLab CE that build from source?
Once the project has been renamed, you will need to change your Git
remotes to use this new URL. GitLab will take care of redirecting Git
operations so there is no hard deadline, but we recommend doing this
as soon as the projects have been renamed.
Where can I see a timeline of the remaining steps?