History of packaging transactions

Registered by Robbie Williamson on 2009-11-08

dpkg, libapt, or similar should keep a reliably parseable record of past transactions -- so that the Ubuntu Software Center can show a sortable and filterable history of past actions, Update Manager can show a history of past Updates, and we can take initial steps towards allowing undo and rollback.

Blueprint information

Status:
Started
Approver:
Robbie Williamson
Priority:
Low
Drafter:
Michael Vogt
Direction:
Approved
Assignee:
Canonical Foundations Team
Definition:
Approved
Series goal:
Accepted for lucid
Implementation:
Started
Milestone target:
None
Started by
Michael Vogt on 2009-12-22

Related branches

Sprints

Whiteboard

Work items:
[mpt] Wireframe of the history screen: TODO
[mpt] Overview of what information should be in the history: TODO
[mpt] How should the history be presented, ordered (cut at some point or not?): TODO
[mvo] define format/location for transaction log file: DONE
[mvo] add code to libapt that writes out what actions it will perform (lp:~mvo/apt/history): DONE
[mvo] ensure that from transaction log its possible to go to the relevant bits in the /var/log/apt/term.log file (via matching dates): DONE
[mvo] ensure it writes transaction status at the end and is tolerant against unfinished transactions (e.g. because of power cut): DONE
[mvo] add code to python-apt that can parse the log: POSTPONED
[mvo] integrate into software-center based on spec: POSTPONED

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.