Page MenuHomePhabricator

Investigate whether issues, operations, wikis, etc. can be disabled globally on GitLab
Open, Stalled, MediumPublic

Description

There's some stuff we wouldn't use, as a rule. Much of it can be turned off on a per-project basis, but is there a global way to disable something like issues?

Mention has been made of project templates as a way to handle this - worth checking that out as well.

Event Timeline

It seems likely we'll use a scheduled job to check all repos and disable.

Change 699812 had a related patch set uploaded (by Brennen Bearnes; author: Brennen Bearnes):

[operations/gitlab-ansible@master] disable issues & wikis by default on new projects

https://gerrit.wikimedia.org/r/699812

Change 699812 merged by Brennen Bearnes:

[operations/gitlab-ansible@master] disable issues & wikis by default on new projects

https://gerrit.wikimedia.org/r/699812

See Draft: Add tools for configuring all projects. Needs a bit of work, but presumably we can run configure-projects as a periodic job.

greg triaged this task as Medium priority.Jul 21 2021, 8:35 PM

The UI surprises me - Issues are listed in the sidebar, and https://gitlab.wikimedia.org/groups/releng/-/issues can be reached, but (rightfully) no project can be chosen (and https://gitlab.wikimedia.org/groups/releng/-/issues/new is a 404). The sidebar distraction might be something to forward to upstream?

brennen edited projects, added GitLab; removed GitLab (Initialization).

The sidebar distraction might be something to forward to upstream?

There's a claim on the upstream Disable Issues at instance level (#213361):

We will eventually address this via the framework being developed for cascading settings -- #291082 (closed)

Following what happened after that gets a bit difficult, but it seems like some work has been done. Noting this to follow up on:

Cascading Namespace Settings developer documentation (#326524)

brennen changed the task status from Open to Stalled.Oct 15 2021, 8:49 PM
brennen moved this task from Doing to Radar on the User-brennen board.