[deployments] use provides and software versions to determine if the artifact is already installed

Description

Currently, based on the artifact name, both backend and client decide if the new artifact should be installed or not.
With different types of software it doesn't make much sense.
We should either check versions of particular software or completely remove the check.

Affects versions

None

Environment

None

Checklist

Activity

Show:

AlanMay 3, 2023 at 9:17 AM

Will this be in 3.6?

Krzysztof JaśkiewiczJanuary 11, 2023 at 9:47 AM

Kristian AmlieJanuary 4, 2023 at 10:19 AM

: Correct. This is for compatibility with old artifacts before Clears Provides was introduced. They would behave in this way, deleting everything. You can use the mender-artifact --no-default-clears-provides option to test it.

Krzysztof JaśkiewiczJanuary 4, 2023 at 9:32 AM

 not sure I understand this part:

does it mean that if the artifact contains

it will be the same as

and all existing provides will be deleted?

Krzysztof JaśkiewiczJanuary 3, 2023 at 12:28 PM

estimate still looks correct

Fixed

Details

Assignee

Reporter

Story Points

Priority

Days in progress

8

Sprint

Backlog

yes

Zendesk Support

Checklist

Created November 29, 2022 at 8:50 AM
Updated June 25, 2024 at 11:55 AM
Resolved January 16, 2023 at 9:20 AM