Handle ctrl-C in publish-ftpmaster
Bug #819674 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jeroen T. Vermeulen |
Bug Description
The new python-based publish-ftpmaster handles exceptions by restoring the backup copy of the archive directory. It should do the same on ctrl-C.
Related branches
lp:~jtv/launchpad/bug-819674
- William Grant: Approve (code)
-
Diff: 109 lines (+75/-6)2 files modifiedlib/lp/archivepublisher/scripts/publish_ftpmaster.py (+14/-6)
lib/lp/archivepublisher/tests/test_publish_ftpmaster.py (+61/-0)
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Actually, I've described the old script. The new script is simpler, and may not need any special handling since it does its work in the backup dists directory, not the "real" dists directory, and only moves the updated data into place once it has succeeded.