RotherOSS / otobo

OTOBO is one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. https://otobo.io/
GNU General Public License v3.0
250 stars 71 forks source link

Use a self hosted gitlab server for oss development #2018

Open mario-minati opened 1 year ago

mario-minati commented 1 year ago

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.

mario-minati commented 1 year ago

The authentication will use GitHub as an authentication provider via OAuth:

To rise security we can activate 2FA:

mario-minati commented 1 year ago

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:

mario-minati commented 1 year ago

The initial project migration follows the Gitlab - Import your project from GitHub to GitLab documentation.

mario-minati commented 1 year ago

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,

mario-minati commented 1 year ago

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

daxim commented 1 year ago

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.