Skip to content

'Transactional' package extraction #8

@maraf

Description

@maraf

Package extraction include write to packages.config should succeed as an unit or any partial outputs should be deleted in case of exception.

Toughts:
Use kind of a transaction log.

Installation

  • Save package id and version.
  • After each file extraction, save a path to log.
  • Write entry to packages.config and delete transaction log.

Unstallation

  • Save package id and temp directory patb.
  • Copy each file to temp directory.
  • Remove entry from packages.config.
  • Delete temp directory.

Check transaction log on PackageManager start.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions