In the repo refresh script, rename --clean to --clean-all. Then add a --clean option which would clean the commit/commit-run/etc data for only those repo(s). Need to be careful about shared data (e.g. in forks).
--clean
--clean-all
size: --> 2
size: 2 --> 4
forge:tv/4479
Example:
$ paster script production.ini ../scripts/refresh-all-repos.py -- --nbhd /p/ --project ebeide --all --clean
Found a problem with forks...
Broke up big deletes into chunks to avoid exceeding max bson doc size. Tested by running against an allura repo clone on a sandbox.
Log in to post a comment.
size: --> 2
size: 2 --> 4
forge:tv/4479
Example:
Found a problem with forks...
Broke up big deletes into chunks to avoid exceeding max bson doc size. Tested by running against an allura repo clone on a sandbox.