Last modified: 2014-05-27 15:16:55 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 T29294, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27294 - [scap] Rewrite Wikimedia's sync scripts (scap, sync-file, etc.)
[scap] Rewrite Wikimedia's sync scripts (scap, sync-file, etc.)
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Bryan Davis
http://wikitech.wikimedia.org/view/Wm...
aklapper-moreinfo
:
Depends on:
Blocks: 20085
  Show dependency treegraph
 
Reported: 2011-02-10 07:11 UTC by MZMcBride
Modified: 2014-05-27 15:16 UTC (History)
10 users (show)

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


Attachments

Description MZMcBride 2011-02-10 07:11:48 UTC
Wikimedia's sync scripts should be rewritten. Notes about a rewrite are available at <http://wikitech.wikimedia.org/view/Wmsync>.
Comment 1 Andre Klapper 2013-01-29 19:36:23 UTC
MZMcBride:
I assume this is superseded/obsolete by using git-deploy - see bug 43338 and http://lists.wikimedia.org/pipermail/wikitech-l/2013-January/065664.html

Not sure if that's fully sufficient, as there's no actual bugs or goals described in this bug report, just "rewrite".

If so, bug 20085 should also be rechecked.
Comment 2 MZMcBride 2013-01-29 22:26:39 UTC
(In reply to comment #1)
> I assume this is superseded/obsolete by using git-deploy - see bug 43338 and
> http://lists.wikimedia.org/pipermail/wikitech-l/2013-January/065664.html

I'm not sure. Copying Tim and Patrick (Rob L. is already CC'd) to find out.

> Not sure if that's fully sufficient, as there's no actual bugs or goals
> described in this bug report, just "rewrite".
> 
> If so, bug 20085 should also be rechecked.

Yeah... I don't know about the current status of any of this. I know that scap and friends have been around forever and that there are constant calls for a rewrite.
Comment 3 Antoine "hashar" Musso (WMF) 2013-02-01 13:41:59 UTC
I guess that one depends on git-deploy which is bug 43338
Comment 4 MZMcBride 2014-02-06 06:24:07 UTC
Ori rewrote scap in Python (cf. <https://gerrit.wikimedia.org/r/110904>). I suppose the other scripts still need to be rewritten.
Comment 5 Greg Grossmeier 2014-02-21 16:53:57 UTC
Assigning to Bryan as he's taking the dev lead on this right now.

Changed the git-deploy dev tasks tracking bug from 'depends' to a 'see also', mostly to reflect current reality: We're planning to 'complete' the rewrite of scap (and support modules) in python which will inform and feed into the trebuchet (nee git-deploy) work.
Comment 6 Bryan Davis 2014-02-21 23:16:38 UTC
Here's what's been done thus far:
* scap and friends split out from operations/puppet.git to
mediawiki/tools/scap.git
* scap and scap-1 scripts converted from bash to python
* scap-2 and find-nearest-rsync obsoleted by python code changes
* scap now reports failures and aborts to SAL via !log
* scap not reports partial failures to SAL via !log
* scap no longer uses dsh; replaced by python generator and ssh
* scap now reports elapsed time for many stages of push:
** rsync common on tin
** mw-update-l10n on tin
** scap-1 to rsync proxies
** scap-1 to apaches
** scap-rebuild-cdbs on apaches)
** update of apaches (scap-1 + scap-rebuild-cdbs)
** wikiversions.cdb sync
** total scap
Comment 7 Bryan Davis 2014-05-27 15:16:55 UTC
I believe that this is resolved since the merge of I08ec8e987225b8e7fb1ae2119a4623383cba4db7. The only scripts left in the scap collection that have not been converted to python at this point are refreshCdbJsonFiles, restart-twemproxy and scap-recompile.

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


Navigation
Links