paster script /var/local/config/production.ini /var/local/allura/scripts/refresh-all-repos.py -- --all /p/ myproj code
runs repository.py's def refresh(
which has the new refresh_repo
but also the old stuff. We want a way to run only refresh_repo for all repos
forge:tv/4142
QA: Run the refresh script against some sandbox repos.
Main logic of the script is the same, I just cleaned it up and added some new options. I ditched the multiprocessing approach and added a
--project-regex
option so we can just fire up a bunch of these for different shortname ranges. Also added a--dry-run
option.This is branched off of tv/3759. The refresh process on that branch only does 'the new stuff.'
Siteops prep is ticketed here: https://trac.geek.net/trac/siteops/ticket/51110
Good.
For reference, we'll want to use front-anchored regexes like
--project-regex=^a
Merged dev into tv/3759, then rebased tv/4142 to tv/3759, and tagged tv/4142 with
withdev_20120516
.