Last modified: 2014-10-28 14:58:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41861 - Sanity check wikiversions.dat on operations/mediawiki-config
Sanity check wikiversions.dat on operations/mediawiki-config
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-07 19:57 UTC by Sam Reed (reedy)
Modified: 2014-10-28 14:58 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-11-07 19:57:37 UTC
Not exactly sure where to file this, but whatever.

For the operations/mediawiki-config repo, it'd be useful if we can sanity check wikiversions.dat like sync-wikiversions does

e.g. for errors like this:
reedy@fenari:/home/wikipedia/common$ sync-wikiversions Everything else to 1.21wmf3
Invalid version dir '/home/wikipedia/common/php-1.21wm3' for wiki 'acewiki'.


This is done by using:

reedy@fenari:/home/wikipedia/common$ multiversion/refreshWikiversionsCDB
wikiversions.cdb successfully built.


which is a submodule of mediawiki-config now

Can we have jenkins fail the changeset if we don't get "wikiversions.cdb successfully built."?
Comment 1 Antoine "hashar" Musso (WMF) 2012-11-22 08:34:51 UTC
Some actions:
- write a PHPUnit test that shell out to refreshWikiversionsCDB
- make sure refreshWikiversionsCDB returns non 0 exit code on failure, that will fail the build in Jenkins.
Comment 2 Antoine "hashar" Musso (WMF) 2013-03-06 19:36:40 UTC
We might want to make sure we only have two versions to catch versions typos as highlighted with https://gerrit.wikimedia.org/r/52442
Comment 3 Krinkle 2013-06-25 18:35:44 UTC
Lowering priority due to these being hard to test. They rely at least on 2 things we don't:
* /usr/local/apache; /home/wikipedia/common need to exist (hardcoded in the definitions)
* php-foo and php-bar need to exist
* more...
Comment 4 Gerrit Notification Bot 2014-01-06 16:46:13 UTC
Change 105698 had a related patch set uploaded by Hashar:
sanity test for refreshWikiversionsCDB

https://gerrit.wikimedia.org/r/105698
Comment 5 Gerrit Notification Bot 2014-10-28 14:57:18 UTC
Change 105698 abandoned by Hashar:
sanity test for refreshWikiversionsCDB

Reason:
Not much interest after a few months, so abandoning and will wont fix the bug as well.

https://gerrit.wikimedia.org/r/105698
Comment 6 Antoine "hashar" Musso (WMF) 2014-10-28 14:58:05 UTC
There was not much interest after a few months, so I abandoned the Gerrit patch and mark this bug as WONTFIX.

Feel free to takeover the original patch and rebase it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links