Fixed
Details
Assignee
Kristian AmlieKristian AmlieReporter
Kristian AmlieKristian AmlieLabels
Story Points
21Priority
(None)Days in progress
6Fix versions
Sprint
NoneBacklog
yes
Details
Details
Assignee
Kristian Amlie
Kristian AmlieReporter
Kristian Amlie
Kristian AmlieLabels
Story Points
21
Priority
Days in progress
6
Fix versions
Sprint
None
Backlog
yes
Zendesk Support
Zendesk Support
Zendesk Support
Checklist
Checklist
Checklist
Created April 28, 2020 at 11:49 AM
Updated June 25, 2024 at 11:55 AM
Resolved October 2, 2020 at 6:02 AM
Acceptance criteria:
Add the new field
clears_artifact_provides
to thetype-info
section of payloadsThe key shall accept a list of string values, nothing else
When writing
rootfs-image
artifacts, by default they contain these entries:"
rootfs-image.*
""
rootfs_image_checksum
" (For backwards compatibility reasons, if we had known it advance we would have called itrootfs-image.checksum
instead, which would be covered by the previous entry)"
artifact_group
"If
--software-name
is given, then only one entry must be included as the default: "rootfs-image.NAME.*
". The checksum should be omitted in this case.If
--software-filesystem
is given, then onlyFS.*
must be included in the default, whereFS
is the supplied value. The checksum should be omitted in this case.When writing
module-image
artifacts, by default they contain one single entry:"
rootfs-image.MODULE.*
", whereMODULE
is the payload typeIf
--software-name
is given, then replaceMODULE
with the name givenIf
--software-filesystem
is given, then replacerootfs-image
with the value givenThere is an option,
--clears-provides
(no short flag, this is only expected to be used by generator scripts), to add more entries to the listThere is an option,
--no-default-clears-provides
, to prevent the inclusion of the default entriesIf
--no-default-software-version
is passed (part of MEN-3076 and MEN-3077), then there also should be no default entries.After assembling all the entries, if the list is empty, it must not be included at all in the Artifact (to enable compatibility with old parsers)
This must have a test
There must be a private API for the client and for deployments to fetch the field
Feature branch name:
feature-partial_updates