Merge ~ilasc/launchpad:repack-for-zero-candidates into launchpad:master
Proposed by
Ioana Lasc
Status: | Merged |
---|---|
Approved by: | Ioana Lasc |
Approved revision: | 25cdb06b8fc2703f0baea6dbe26cea149d6a5706 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ilasc/launchpad:repack-for-zero-candidates |
Merge into: | launchpad:master |
Diff against target: |
78 lines (+40/-7) 2 files modified
lib/lp/code/scripts/repackgitrepository.py (+10/-7) lib/lp/code/scripts/tests/test_repack_git_repositories.py (+30/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+401868@code.launchpad.net |
Commit message
Handle zero candidates in repack job
Description of the change
This MP attempts to fix 2 issues:
1: When we have zero repository candidates for repacks with the previous code we were getting:
File "lib/lp/
self.start_at = repackable_
IndexError: list index out of range
2: We were not logging in the right place the final count of repacks requested per job run. Moved that log statement to "isDone()".
To post a comment you must log in.