Open mario-minati opened 2 years ago
The authentication will use GitHub as an authentication provider via OAuth:
To rise security we can activate 2FA:
To keep the github repos up to date we automatically sync the gitlab repos to github.
The sync is kept with Gitlab - Push mirroring.
Use webhooks as alternative:
The initial project migration follows the Gitlab - Import your project from GitHub to GitLab documentation.
We need to downgrade the functionallity of the github repository to avoid collisions between gitlab and github repositories. This regards at least the issue and pull request handling.
Issues can be disabled:
Pull requests can not be disabled completly. We can close new pull requests automatically and add a message, that pull requests must run against the new gitlab repository,
We need to inform the user that the repository is just a clone of the new gitlab repository. Github gives no way to inform the users that this is a repo copy and should not be used for pull requests.
We could add a custom README message, but that would also be in the gitlab repository.
Unsolved issue
We could add a custom README message, but that would also be in the gitlab repository.
Just an idea, I didn't try this, HTH:
Commit a new tree that has no parents comprised of only the readme file into the repo. Add a branch (e.g. important-notice
) pointing to this commit. Tell GitHub and GitHub only that this branch is the default branch to display. Expected result: when a random GH user visits the initial page for the repo, it only shows the readme file. The previously added git objects are unaffected, business as usual elsewhere.
@MichaelThumes does some testing and development too
We are planning to use a self hosted gitlab server to extend and improve our ci skills.
This ticket will be used to track the progress.