|
|
# freedesktop.org GitLab
|
|
|
|
|
|
We have set up an instance of GitLab here to provide hosting to our member projects. We are planning to eventually migrate most freedesktop.org projects and services to run on top of GitLab, though this is still in extremely early stages.
|
|
|
|
|
|
Below is a rough guide to the migration. GitLab also provides its own [comprehensive help](https://gitlab.freedesktop.org/help), which is available from the drop-down menu at the top of every page.
|
|
|
|
|
|
If you need any help, please file an issue on freedesktop/freedesktop, or contact the admins via the [sitewranglers@lists.freedesktop.org](mailto:sitewranglers@lists.freedesktop.org) list or #freedesktop on Freenode.
|
|
|
|
|
|
## What is being provided on GitLab?
|
|
|
|
|
|
We are offering the full slate of GitLab services to fd.o projects: code hosting and review, issue tracking, wikis, GitLab Pages, and CI with a container registry available. This is all fully supported, with as much uptime as we can get and full backups available.
|
|
|
|
|
|
This is very early days for the deployment, so whilst we'll keep an eye on things, we would like to hear about any issues you find. Similarly, if you have grand plans ('I'm going to set up a CI config to build all of Debian every hour and host the results as a globally-available repository'), we'd love to hear about them too, so we can help out and make sure everything works for you.
|
|
|
|
|
|
## Am I being forced to migrate? What do I do now?
|
|
|
|
|
|
For now, you do not _need_ to do anything. Eventually, we want to migrate all projects to using GitLab for code hosting, etc, and are looking at [sunsetting many other services](freedesktop/freedesktop#4).
|
|
|
|
|
|
We do not have a firm timeline for a full migration, and will be taking each project and service individually. We will make every reasonable effort to keep the services you currently rely on available for as long as possible, and will try to keep the transition as smooth as possible.
|
|
|
|
|
|
## How do I create/access my user account?
|
|
|
|
|
|
If you already have a UNIX shell account on freedesktop.org, also used for Git write access, an account has been created for you on this GitLab instance. Simply enter the email address you used when creating your account and request a password reset from the sign-in page. This should result in a password-reset mail arriving in your inbox.
|
|
|
|
|
|
If this doesn't work, it's pretty likely that your email has changed. Please ping an admin and we'll happily change it for you, though we may ask for out-of-band identity verification.
|
|
|
|
|
|
If you do not have an SSH account, but only have an account on Bugzilla, Mailman, Phabricator, or some other web-based service, this account has not been migrated, and you will have to create a new account on this instance.
|
|
|
|
|
|
We strongly recommend setting up [two-factor authentication](https://gitlab.freedesktop.org/help/user/profile/account/two_factor_authentication.md#two-factor-authentication).
|
|
|
|
|
|
You can also configure external identity providers to authenticate you: at time of writing, these are GitHub, GitLab, Google, and Twitter. To add an external provider to your account, go to your user settings by navigating to Settings in the top right-hand menu, then selecting the Account tab.
|
|
|
|
|
|
## How do I access my project? How can I migrate?
|
|
|
|
|
|
When you sign in with your SSH account, you will have access to the groups you were in on the old system. This group is private to its members only, and does not yet contain any of the repositories, website, wiki data, etc.
|
|
|
|
|
|
Each project will have a different migration plan, and in the initial stages we will do migration quite gradually, until we all get the hang of it. If you are interested in migrating your project, please file an issue on this project with the 'Migration' label. We'll look at each project on several axes: how big/complex the project is, how many users there are, and which services need migration, and fit you in to our migration timeline.
|
|
|
|
|
|
## How do I set up CI for my project?
|
|
|
|
|
|
Currently, if you create a `gitlab-ci.yml` file, this will just work according to the [documentation](https://gitlab.freedesktop.org/help/ci/README.md). However, getting more beefy runners is currently a WIP: please get in touch with us before you start using CI, so we can make sure to not DoS the entire service.
|
|
|
|
|
|
(If you have large VMs which can serve as runners, please also contact us!)
|
|
|
|
|
|
## How do I set up GitLab Pages for my project?
|
|
|
|
|
|
We currently allow custom domains only for GitLab Pages, including *.freedesktop.org domains. You can set up Pages as per the documentation (which includes setting up CI to generate the static pages); if you would like a *.freedesktop.org domain for your project, please ping an admin and we can make this happen for you.
|
|
|
|
|
|
## Why migrate to GitLab?
|
|
|
|
|
|
Simply put, our old suite of services wasn't great. The integration between our git hosting (custom SSH), viewing (cgit), code review (mailing lists & patchwork), CI (Jenkins), and issue tracking (Bugzilla) was poor. Those tools also didn't offer support for code review in the style that many people are used to.
|
|
|
|
|
|
Our user authentication system, forked from Debian's in 2004, required manual admin intervention to add SSH keys and manage groups, sometimes resulting in totally arbitrary delays. There is no reason admins should have to be dealing with group membership, but the system we chose (probably still the best choice at the time) constrained us.
|
|
|
|
|
|
Over the years, we saw a fair few projects leave freedesktop.org for GitHub and other services where the offering was much better.
|
|
|
|
|
|
As well as the duct-tape services, our physical infrastructure was approaching life expiry, and was starting to wheeze a bit - particularly in disks. GitLab can easily be run in the cloud: doing so and migrating gives us some room to deal with our physical machines and sensibly replace them. This is not something which was easily doable before, as a great deal of admin time was going to just treading water with our existing services.
|
|
|
|
|
|
We did consider other services; most of the rationale for why we ended up with GitLab is available in [GNOME's evaluation](https://wiki.gnome.org/Initiatives/DevelopmentInfrastructure) when they went through a similar process. We walked through with that with them, providing input and listening to what others had to say, and ultimately came to the same (but independent) conclusion that GitLab was the best service to offer.
|
|
|
|
|
|
Our GitLab instance is hosted on the Google Cloud Platform, fully controlled by the freedesktop.org administrators, and is running the fully open-source GitLab Consumer Edition stack. Various projects in this group contain our Helm/Kubernetes configuration for the running instance.
|
|
|
|
|
|
## Can I speak to your supervisor?
|
|
|
|
|
|
You can file issues on the [freedesktop/freedesktop project](https://gitlab.freedesktop.org/freedesktop/freedesktop), email the [public list](https://lists.freedesktop.org/mailman/listinfo/sitewranglers), or find us on Freenode #freedesktop. If you would like to speak to someone privately, @daniels is largely responsible for this, and has contact details listed on his user page.
|
|
|
|
|
|
## How can I help?
|
|
|
|
|
|
Documentation is great. Just hanging around and helping triage and respond to issues is great. Helping on #freedesktop is great. Making suggestions is great. Pinging an admin and asking 'I see this particular issue needs some attention, how can I help with that?' is also great. If there's anything stopping you from helping out, please feel free to ask us and we'll see how we can fix it. |
|
|
\ No newline at end of file |