Revert/fix a install
Idea here is that when installed, if a user say upgrades a package, there could be a stack command that would revert/fix that upgraded version back to the known installed version. This might be useful when messing around with newer packages/features when u want to get back to a stable state, without reinstalling...
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Not
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
If installation was idempotent, they could just re-run the installation. On the other hand, snapshotting a virtual machine is probably a better way to achieve the end goal, since it would revert even if the configuration was broken by the attempted update. - Doug
Ya, from the meetup there are I think alot of people who don't like the VM approach (or using a VM at all), since its not especially realistic (and slow as ass). It seems like there could be a simple tool that would take a ".trace" file in and at least attempt to restore/fix the pkgs that were installed (since they should be listed in the install trace anyway). I don't think it should be a core functionality but a tool might make sense. -Josh