Skip to content

An atomic upgrade command #4769

Description

@nikolay

Feature Overview

I always run the following to upgrade all packages:

aqua update
aqua update-checksum --deep --prune
aqua install

Unfortunately, this is not atomic; if the third or second command fails partially, aqua.yaml will contain uninstallable versions.

I propose creating a new command that would do this in a transaction, allowing upgrades that can be installed to proceed, while those that fail to install or obtain the signatures are skipped. The command should list which packages were not upgraded if a newer upstream version is available, and why.

Why is the feature needed?

Otherwise, your only option is to manually revert the failed-to-install packages and then run aqua update-checksum --deep --prune.

Example Code

$ 

Configuration

Note

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions