MEN-Mikro-Elektronik / 13MD05-90

MDIS5 System Package for Linux (including drivers)
Other
4 stars 4 forks source link

GitHub to GitLab Migration #157

Open dpfeuffer opened 5 years ago

dpfeuffer commented 5 years ago

Notes for the GitHub to GitLab Migration:

dpfeuffer commented 1 year ago

I will discuss this issue next week and will give further information (some requirements how to do the migration).

dpfeuffer commented 1 year ago

Migration requirements

1. Project Structure

All repos from https://github.com/MEN-Mikro-Elektronik shall be migrated to the internal GitLab server into the new defined subgroup structure: https://swdev-git1.dev.men.de/project/13/13mdis

13MD05-90 restructuring

The descriptions of the subgroups above contain migration notes with the info which repos should be sorted where.

2. Archived State

All repos under https://github.com/MEN-Mikro-Elektronik shall be set to archived state, to be still available under the old locations without the possibility to perform any changes.

The first line of the README.md file of each archived repo shall indicate the archived state to have this information also in a cloned/pulled repo. First line could be: *** This repo is read-only (archived at GitHub.com). The repo was migrated to gitlab.com/duagon/*. *** Note: All public required MDIS repos shall be mirrored from swdev-git1 to gitlab.com/duagon later on.

3. Issues

All issues from https://github.com/MEN-Mikro-Elektronik/13MD05-90/issues shall be migrated to https://swdev-git1.dev.men.de/project/13/13mdis/linux to have the valuable information about the maintenance work of the last years handy at swdev-git1.

I would prefer to continue using Issues rather than Instep PRs. GitLab issues can be easily assigned to developers and milestones and linked to GitLab merge requests and related issues. InStep PR handling is not so comfortable.

4. Wiki

The wiki of the 13MD05-90 repo https://github.com/MEN-Mikro-Elektronik/13MD05-90/wiki shall not be migrated to GitLab. It contains mainly a copy of the CM Guideline and the original repo of the CMG is already at swdev-git1.

dpfeuffer commented 1 year ago

@mad-jsanjuan @mad-jrodriguez What do you think about restructuring all the MDIS repos as suggested above (see 1. Project Structure)? The repos should only be restructured at GitLab but not within the 13MD05-90 MDIS SW packet. Do you see any drawback?

mad-jsanjuan commented 1 year ago

@mad-jsanjuan @mad-jrodriguez What do you think about restructuring all the MDIS repos as suggested above (see 1. Project Structure)? The repos should only be restructured at GitLab but not within the 13MD05-90 MDIS SW packet. Do you see any drawback?

I think this new structure makes sense. I don't see any drawback at the moment. We will have to edit the .gitmodules accordingly. The .gitmodules file will let us control where the new repository is and keep the path in which the submodule will be cloned inside the 13MD05-90 MDIS SW packet.

So now we have:

[submodule "13M037-06"]
        path = 13M037-06
        url = ../13M037-06.git

And we should be able to tweak those to be:

[submodule "13M037-06"]
        path = 13M037-06
        url = ../../COM/LL-Drv/13M037-06.git