Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
infra:nextgen [2017/10/08 00:38] – [Current Situation] skunnyk | infra:nextgen [2018/02/17 20:14] (current) – [Hardware] skunnyk | ||
---|---|---|---|
Line 28: | Line 28: | ||
Even if we don't update our workflow, we need to get rid of our old servers. We can thank UNamur 100000x for their free hosting for the last decade, but I think we need to find a new sponsor. Maybe Gandi (with m8t) can be a solution. | Even if we don't update our workflow, we need to get rid of our old servers. We can thank UNamur 100000x for their free hosting for the last decade, but I think we need to find a new sponsor. Maybe Gandi (with m8t) can be a solution. | ||
- | This can be some cloud services or dedicated servers or something else. We don't need unlimited resources, only 2 or 3 instances with enough ram / cpu / disk and good stability | + | This can be some cloud services or dedicated servers or something else. We don't need unlimited resources, only 2 or 3 instances with enough ram / cpu / disk and good stability. |
On the DNS side, maybe outsource this to a provider. | On the DNS side, maybe outsource this to a provider. | ||
+ | |||
+ | **What do we need** : | ||
+ | 2 instances (VM are ok), per instances: | ||
+ | * 2/ | ||
+ | * 6GB Ram | ||
+ | * ~ 50GB Disk | ||
+ | |||
+ | And a backup server. As we can keep our servers at namur, they can serve as a backup site. | ||
===== Software ===== | ===== Software ===== | ||
Line 50: | Line 58: | ||
| CI Integration | ✔ | ✔ | | ✔ | ✔ | | | CI Integration | ✔ | ✔ | | ✔ | ✔ | | ||
- | ==== Proof of Concept ==== | + | ===== Proof of Concept |
We need a VM (Debian) for testing the self-hosted alternatives and the migration workflow. | We need a VM (Debian) for testing the self-hosted alternatives and the migration workflow. | ||
Current POC of Gitea is here: https:// | Current POC of Gitea is here: https:// | ||
- | | **TODO | + | ==== Phase 1 ==== |
- | | Create organisations/ | + | Projects |
- | | Sync all repos | | | + | |
- | | Configure all repos (Bugzilla/ | + | - Each Xfce project should be placed under specific category — " |
- | | Migrate Git hooks (Github/Bugzilla) | | | + | - Allow to register for everybody in order to create issues and pull requests ✔ |
- | | Set up user profiles for core devs in advance | | | + | - Users with higher level of privileges can create their own user repositories |
- | | Make sure we have a landing page | | | + | - Users can be added as project collaborators in order to commit to the repo directly (multiple project maintainers): |
- | | Integrate the Xfce website header somehow | + | - Some git hooks/configs are required: deny force push to git master, deny deleting master repo, deny deleting projects from organizations |
+ | - git post-receive hook : use a " | ||
+ | - Enable github oauth ? | ||
+ | |||
+ | Migration from Cgit | ||
+ | |||
+ | - All git repos, project descriptions and hooks should be migrated to gitea | ||
+ | - Cgit could remain | ||
+ | - Keep a git-daemon for the git:/ protocol | ||
+ | |||
+ | |||
+ | |||
+ | Style and GUI | ||
+ | |||
+ | - Gitea' | ||
+ | | ||
+ | - Starting page should redirect to list of organizations unless user is signed in | ||
+ | |||
+ | Migration from Bugzilla | ||
+ | |||
+ | - Issues link should redirect to bugzilla initially: Done with " | ||
+ | |||
+ | ==== Phase 2 ===== | ||
+ | Gitea hacking | ||
+ | |||
+ | - Transifex translation commits can be (optionally) hidden from gitea web gui | ||
+ | |||
+ | Migration from Bugzilla | ||
+ | |||
+ | - Migrate all issues from bugzilla to gitea | ||
+ | - New " | ||
+ | - Product categories should be replaced with gitea issue tags (they should be created for each repo) | ||
+ | - Bug statuses such as duplicate/ | ||
+ | - Bug statuses such as open/closed bugs should be migrated as open/closed issue statuses | ||
+ | - All attachments (even patches) should be migrated as attachments | ||
+ | - Write a simple web server which will redirect from old bugzilla pages to new gitea issue pages (there should be a small db with (" |