Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move mediawiki install to using the debian package #63

Open
frankduncan opened this issue May 15, 2020 · 0 comments
Open

Move mediawiki install to using the debian package #63

frankduncan opened this issue May 15, 2020 · 0 comments
Labels
tech debt Technical Debt that should be Paid sometime

Comments

@frankduncan
Copy link
Collaborator

Talked about here:

https://chat.opentechstrategies.com/#narrow/stream/45-Lever-for.20Change/topic/Servers/near/82799

But what it boils down to is that instead of installing N different mediawiki instances, one for each competition, we should use the main mediawiki debian package. This will allow us to ensure that all wikis get updated at the same time, and that they stay up to date via the normal mediawiki updates.

To implement it, there will need to be fancy symlinked things by which the directory knows which LocalSettings to pull in in order to display the correct wiki with the correct permissions. However, all extensions will be available to all wikis, so those will similarly get updates in general. This will simplify the install, as the extensions can be moved out into their own ansible files, as opposed to being looped in and duplicated on the main ones.

Then, when ansible installing a new competition, all you have to do is enable them by updating the localsettings file correctly.

There is a small issue that when updating major versions via debian, you will have to run update.php manually for all installed competitions, so code should be written to help ease that process. That should be relatively rare.

@frankduncan frankduncan added the tech debt Technical Debt that should be Paid sometime label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech debt Technical Debt that should be Paid sometime
Projects
None yet
Development

No branches or pull requests

1 participant