It would be nice if launchpadlib supported a mode where changes were discarded at the end of the session.
Bug #708771 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Triaged
|
Low
|
Unassigned | ||
wrested |
Confirmed
|
Low
|
Unassigned |
Bug Description
Some utilities support a --dry-run mode (e.g. lp-land). While they can implement this by simply avoiding changing the database, this can be a poor simulation if later changes depend on earlier ones. It would be nice if instead, they could make the changes, but tell launchpadlib to discard all changes at the end of the session.
Changed in wrested: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.
This depends on the ability to control database sessions from a web service client, a feature we've considered and put off indefinitely. For the time being, your best bet is to simulate a dry run by running your script against staging.