Closed Bug 466149 Opened 12 years ago Closed 12 years ago

pushlog hook should check that database schema actually exists

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: ted)

Details

Currently the pushlog hook just checks for the existence of the pushlog file. If the file exists, but is an empty file (which can happen if the pushlog-feed has tried and failed to open it), things will fall over. The hook should check to see that the expected schema exists as well.
Pushed a fix + test:
http://hg.mozilla.org/users/bsmedberg_mozilla.com/hghooks/rev/e01c47ecad88

We'll need to get this rolled out, but I'll wait so we can get the hgpoller changes rolled out at the same time.
Assignee: nobody → ted.mielczarek
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Product: Release Engineering → Developer Services
You need to log in before you can comment on or make changes to this bug.