SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 143 forks source link

Moving all SORMAS Repositories to different organization #11863

Closed SORMAS-JanBoehme closed 1 year ago

SORMAS-JanBoehme commented 1 year ago

As dicussed in our meeting some time ago we need to move the repositories to a different account.

To avoid any issues with ongoing release cycles, the switch will happen on April 27th, 2023 after the current sprint is finished.

Preparation todos

Announcement for dev community after migration was done

Dear SORMAS contributors.

We have successfully migrated all SORMAS repositories to the SORMAS-Foundation organization on Github. This means you have to update the remote origin of your local repositories. To do so, use the following command for the SORMAS-Project repository:

HTTPS: git remote set-url origin https://github.com/sormas-foundation/SORMAS-Project.git SSL: git remote set-url origin git@github.com:SORMAS-Foundation/SORMAS-Project.git

Adjust the URL accordingly for other repositories. Alternatively you can change the remote origin URL in the GitHub client's "Repository settings" dialog.

Later

Repository List

https://github.com/hzi-braunschweig/SORMAS-Project Action: Move

https://github.com/hzi-braunschweig/SORMAS-Docker Action: Move

https://github.com/hzi-braunschweig/SORMAS-DHIS Action: Move

https://github.com/hzi-braunschweig/sormas-demis-adapter Action: Move

https://github.com/hzi-braunschweig/sormas-survnet-interface Action: Move

https://github.com/hzi-braunschweig/SORMAS-Angular Action: Move

https://github.com/hzi-braunschweig/SORMAS-Stats-next-gen Action: Move

https://github.com/hzi-braunschweig/SORMAS-central-data Action: Move

https://github.com/hzi-braunschweig/EpiDataGen Action: Move

https://github.com/hzi-braunschweig/SORMAS-Security Action: Move

https://github.com/hzi-braunschweig/S2S-Testbed Action: Move

https://github.com/hzi-braunschweig/SORMAS-data-generator (Last change 3 years ago and seems to have the same purpose as "EpiDataGen" - still needed?) Action: Move and Archive

https://github.com/hzi-braunschweig/sormas_hzi_ansible (private and no changes for nearly a year - still needed?) Action: Move

https://github.com/hzi-braunschweig/DEMIS-Test_Environment (fork of https://github.com/gematik/DEMIS-Test_Environment - still needed?) Action: Move

https://github.com/hzi-braunschweig/sormas-issuetracker (fork of https://github.com/healthIMIS/sormas-issuetracker) Action: Move and Archive

https://github.com/hzi-braunschweig/SORMAS-RFC Action: Move and Archive

https://github.com/hzi-braunschweig/SORMAS-Switzerland Action: Move

https://github.com/hzi-braunschweig/SORMAS-Glossary (last change 2 years ago - still needed?) Action: Move

https://github.com/hzi-braunschweig/SORMAS-Luxembourg Action: Move

https://github.com/hzi-braunschweig/SORMAS-Stats-sitrep Achtion: Do not move and delete

https://github.com/hzi-braunschweig/SORMAS-ansible (last change 3 years ago - still needed?) Action: Move

Repositories will be moved to this organization, names will stay the same: https://github.com/SORMAS-Foundation

Projects (i.e. backlog) attached to the organization will be copied to the new organization.

This issue is meant to inform everybody and pool information about things we need to consider for everything to work smoothly.

Pings: @markusmann-vg @bernardsilenou @MateStrysewske @MartinWahnschaffe @fhauptmann @GouthamVadivelmurugan @Candice-Louw @SORMAS-ChristopherMeyer

Project Boards: SORMAS Investigation Board - https://github.com/orgs/hzi-braunschweig/projects/13 (still needed?) SORMAS Product Backlog - https://github.com/orgs/hzi-braunschweig/projects/14/views/1 (move) SORMAS Epic Board - https://github.com/orgs/hzi-braunschweig/projects/8/views/1 (still needed?) SORMAS Approval Board - https://github.com/orgs/hzi-braunschweig/projects/10 (no longer needed) SORMAS Team 2 - DEV - Iteration Backlog - https://github.com/orgs/hzi-braunschweig/projects/3 -Convert to new board in new org SORMAS Team 4 - TEC - Iteration Backlog - https://github.com/orgs/hzi-braunschweig/projects/1 - Convert to new board in new org

bernardsilenou commented 1 year ago

@SORMAS-JanBoehme

StefanKock commented 1 year ago

What needs to be considered (brainstorming from my perspective):

  1. Set up of permission structure in the new organisation with appropriate teams and roles.
  2. Move the repositories with all information (like tickets, wiki) to the new organisation.
    • Configure permissions for the moved Git repos.
    • Make sure that all automation in Github still works.
  3. Move or recreate Project Boards.
  4. Rewrite the origin URL in local Git repos: Give users/developers guidance how to do this.
  5. Rewrite all Git Repo URLs in Jenkins jobs and origin URL in Git repos on Jenkins VM.
  6. Change URLs in documentation (not outdated pages, but active link overviews and current iteration documentation).
markusmann-vg commented 1 year ago

@SORMAS-JanBoehme We just discussed it in the ART Daily. Currently there are preparations ongoing which we (NLI & VG) would like to present and discuss in the meeting you scheduled. Goal of the meeting should be that we have a plan when and how to do the moving. Please do the invitation to this meeting via outlook/Teams as we should not have a public link to the meeting here in GitHub. Thank you

SORMAS-JanBoehme commented 1 year ago

@markusmann-vg Sure, I can schedule another meeting. The one I posted was meant to be a possibility for everyone to be present when the work is being done. So it would be too late for a preparation meeting. This is why I posted it here so everyone could attend without having to be invited first.

I'll remove this link and resend it via e-mail together with a second preparation meeting.

fhauptmann commented 1 year ago

What needs to be considered (brainstorming from my perspective):

1. Set up of permission structure in the new organisation with appropriate teams and roles.

2. Move the repositories with all information (like tickets, wiki) to the new organisation.

   * Configure permissions for the moved Git repos.
   * Make sure that all automation in Github still works.

3. Move or recreate Project Boards.

4. Rewrite the origin URL in local Git repos: Give users/developers guidance how to do this.

5. Rewrite all Git Repo URLs in Jenkins jobs and origin URL in Git repos on Jenkins VM.

6. Change URLs in documentation (not outdated pages, but active link overviews and current iteration documentation).

I can add that we have at least 167 references to "github.com/hzi-braunschweig" in common repos (SORMAS-Project, SORMAS-Docker, Ansible inventories, Ansible source code) that need to be assessed. Furthermore a quick assessment on Jenkins leads to: workspace # grep -r 'github.com/hzi-braunschweig' | wc -l 29806

fhauptmann commented 1 year ago

What needs to be considered (brainstorming from my perspective):

1. Set up of permission structure in the new organisation with appropriate teams and roles.

2. Move the repositories with all information (like tickets, wiki) to the new organisation.

   * Configure permissions for the moved Git repos.
   * Make sure that all automation in Github still works.

3. Move or recreate Project Boards.

4. Rewrite the origin URL in local Git repos: Give users/developers guidance how to do this.

5. Rewrite all Git Repo URLs in Jenkins jobs and origin URL in Git repos on Jenkins VM.

6. Change URLs in documentation (not outdated pages, but active link overviews and current iteration documentation).
  1. Create automation users and add credentials to all automation tasks
MartinWahnschaffe commented 1 year ago

https://docs.github.com/de/repositories/creating-and-managing-repositories/transferring-a-repository

https://github.com/hzi-braunschweig/SORMAS-RFC is no longer needed. We have moved the relevant parts of the RFC structure into our epic outline.

MartinWahnschaffe commented 1 year ago

I have provided the guide on how to change the remote origin URL in the issue description above.

MartinWahnschaffe commented 1 year ago

Migration is planned for 25.05.2023, given that the next release is going through as planned.

bernardsilenou commented 1 year ago

@SORMAS-JanBoehme Please let us not migrate https://github.com/hzi-braunschweig/SORMAS-Stats-next-gen now, but do it at a later phase.

SORMAS-JanBoehme commented 1 year ago

@bernardsilenou Could you please elaborate on the specific reason why we should not do it today?

Because the transfer has already been much later than I was originally planing and I would like to finish it and not have some things still open. Having the repositories spread over two different organizations just makes things more difficult with the whole process behind it.

MartinWahnschaffe commented 1 year ago

All repositories have been moved and all projects have been imported now. Looks like at least my GitHub client automatically changes the origin URL.

Still pending:

bernardsilenou commented 1 year ago

@SORMAS-JanBoehme Just saw https://github.com/SORMAS-Foundation/SORMAS-Project/issues/11863#issuecomment-1562575438 after our meeting, hope no need to reply

StefanKock commented 1 year ago

Migration was done (afaik)