Page MenuHomePhabricator

Flatten MedaWiki deploy into a single git repo
ClosedPublic

Authored by thcipriani on Oct 25 2016, 11:53 PM.
Referenced Files
Unknown Object (File)
May 7 2023, 2:21 AM
Unknown Object (File)
May 6 2023, 10:04 AM
Unknown Object (File)
May 6 2023, 7:05 AM
Unknown Object (File)
May 6 2023, 6:35 AM
Unknown Object (File)
May 2 2023, 2:04 AM
Unknown Object (File)
May 1 2023, 6:40 AM
Unknown Object (File)
Apr 30 2023, 1:27 PM
Unknown Object (File)
Apr 3 2023, 11:48 AM
Subscribers
Tokens
"Mountain of Wealth" token, awarded by greg."Love" token, awarded by mmodell.

Details

Maniphest Tasks
T147478: Flatten MediaWiki config, all MediaWiki versions, and extensions into a unified git repo
Reviewers
dduvall
mmodell
bd808
demon
Group Reviewers
Release-Engineering-Team
Commits
rMSCA08af4b9da976: Flatten MedaWiki deploy into a single git repo
Patch without arc
git checkout -b D429 && curl -L https://phabricator.wikimedia.org/D429?download=true | git apply
Summary

After the local compilation of wikiversions on the deployment master,
add the entirey of /srv/mediawiki to a unified git repository.

This doesn't yet attempt to change the transport mechanism for sync, nor
does it use much of the scap3 code, but it gets us to a single version
number for deployment.

This also overwrites the mediawiki-config repo as all php-* would be
ignored otherwise.

Fixes T147478

Diff Detail

Repository
rMSCA Scap
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

thcipriani retitled this revision from to Flatten MedaWiki deploy into a single git repo.
thcipriani updated this object.
thcipriani edited the test plan for this revision. (Show Details)
thcipriani added reviewers: bd808, mmodell, dduvall, demon.

W: scap source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first line
N: in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N: (case insensitive).
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: double-check that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders. If
N: this is a local package (not intended for Debian), you can suppress this
N: warning by putting "local" in the version number or "local package" on
N: the first line of the changelog entry.
N:
N: Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N: queue) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: nmu, Type: source
N:
W: scap source: source-nmu-has-incorrect-version-number 3.3.0-1+0~20161025235352.168~1.gbp9bc3c0
N:
N: A source NMU should have a Debian
https://integration.wikimedia.org/ci/job/beta-build-deb/168/ for more details.

thcipriani edited edge metadata.

Pass the message from scap sync to scap deploy-mediawiki

W: scap source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first line
N: in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N: (case insensitive).
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: double-check that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders. If
N: this is a local package (not intended for Debian), you can suppress this
N: warning by putting "local" in the version number or "local package" on
N: the first line of the changelog entry.
N:
N: Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N: queue) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: nmu, Type: source
N:
W: scap source: source-nmu-has-incorrect-version-number 3.3.0-1+0~20161026000313.169~1.gbp15acd3
N:
N: A source NMU should have a Debian
https://integration.wikimedia.org/ci/job/beta-build-deb/169/ for more details.

W: scap source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first line
N: in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N: (case insensitive).
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: double-check that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders. If
N: this is a local package (not intended for Debian), you can suppress this
N: warning by putting "local" in the version number or "local package" on
N: the first line of the changelog entry.
N:
N: Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N: queue) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: nmu, Type: source
N:
W: scap source: source-nmu-has-incorrect-version-number 3.3.0-1+0~20161026003734.170~1.gbpf8fb5f
N:
N: A source NMU should have a Debian
https://integration.wikimedia.org/ci/job/beta-build-deb/170/ for more details.

Remove append arg from git.default_ignore. Made the whole thing crazy for no reason.

W: scap source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first line
N: in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N: (case insensitive).
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: double-check that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders. If
N: this is a local package (not intended for Debian), you can suppress this
N: warning by putting "local" in the version number or "local package" on
N: the first line of the changelog entry.
N:
N: Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N: queue) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: nmu, Type: source
N:
W: scap source: source-nmu-has-incorrect-version-number 3.3.0-1+0~20161026165539.171~1.gbp222506
N:
N: A source NMU should have a Debian
https://integration.wikimedia.org/ci/job/beta-build-deb/171/ for more details.

Ensure that each type of sync-* will update the repo at
/srv/mediawiki with only with the files that are being synced.

This means /srv/mediawiki will become:

  1. A version number for everything deployed to the appservers
  2. A history of all deployments complete with who deployed it and when

This revision also tries hard to ensure that the user who synced the file is
recorded as the commit author in /srv/mediawiki.

W: scap source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first line
N: in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N: (case insensitive).
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: double-check that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders. If
N: this is a local package (not intended for Debian), you can suppress this
N: warning by putting "local" in the version number or "local package" on
N: the first line of the changelog entry.
N:
N: Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N: queue) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: nmu, Type: source
N:
W: scap source: source-nmu-has-incorrect-version-number 3.3.0-1+0~20161027172752.173~1.gbp40456a
N:
N: A source NMU should have a Debian
https://integration.wikimedia.org/ci/job/beta-build-deb/173/ for more details.

W: scap source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first line
N: in the changelog entry. Use the words "NMU" or "Non-maintainer upload"
N: (case insensitive).
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: double-check that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders. If
N: this is a local package (not intended for Debian), you can suppress this
N: warning by putting "local" in the version number or "local package" on
N: the first line of the changelog entry.
N:
N: Refer to Debian Developer's Reference section 5.11.3 (Using the DELAYED/
N: queue) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: nmu, Type: source
N:
W: scap source: source-nmu-has-incorrect-version-number 3.3.0-1+0~20161027183827.174~1.gbp3d4534
N:
N: A source NMU should have a Debian
https://integration.wikimedia.org/ci/job/beta-build-deb/174/ for more details.

I'm comfortable with this pretty much as-is.

mmodell edited edge metadata.
This revision is now accepted and ready to land.Nov 30 2016, 5:36 PM
This revision was automatically updated to reflect the committed changes.