Page MenuHomePhabricator

Write maintenance script to bulk update status'
Closed, ResolvedPublic

Description

Granted... UPDATE /*_*/code_rev SET cr_status = 'old' WHERE cr_status = 'new' AND cr_timestamp < NOW() - Some Period AND cr_repo_id = blah would do the job

But might aswell do it semi-properly, eh?

I'm presuming we don't need the status change audit trail?


Version: unspecified
Severity: enhancement

Details

Reference
bz25505

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:17 PM
bzimport set Reference to bz25505.
bzimport added a subscriber: Unknown Object (MLST).

How do you think we should just do the user? Just allow the script to be run with parameter user X?

Commited script in r77355, but it's not autoloading stuff

Chad, any ideas?

Done, needed a bit of core modification in r77358