Page MenuHomePhabricator

[scap] Report summary of file updated at end of scap/sync-*
Open, MediumPublic

Description

Nik asked for this after debugging a Cirrus outage. He's like to be warned when a sync-file/sync-dir doesn't update any files. In this particular instance he did a git fetch on tin followed by a git log HEAD..origin/master and then a sync-dir. Oops, forgot git rebase.

Could either log to the operator's console, or maybe even better add "updated N files on M hosts" stanza to the SAL announcement.


Version: wmf-deployment
Severity: normal

Details

Reference
bz67091

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:39 AM
bzimport added a project: Deployments.
bzimport set Reference to bz67091.
bzimport added a subscriber: Unknown Object (MLST).

Is this relatively easy with the new scap?

It's possible but not easy. Something like rsync --info=COPY,DEL ... and then scraping the rsync output could be used to do it in theory.

greg lowered the priority of this task from High to Medium.Nov 25 2014, 10:57 PM
greg set Security to None.
greg moved this task from To Triage to Next: Feature on the Deployments board.