clearlinux / swupd-client

Software update client
Other
116 stars 61 forks source link

Group manifest artifacts under the same directory in the statedir #1568

Closed castulo closed 4 years ago

castulo commented 4 years ago

This PR groups all the manifest-related artifacts that swupd downloads under the same "manifest" directory, so we keep a better consistency within the statedir.

This PR is built on top of #1567 and it needs to be merged first.

Related to #1539

castulo commented 4 years ago

@otaviobp This PR should be ready for review, it has tests failing because there were some changes in the API tests. But the changes in the API tests tests are safe, the location where manifests are changed so things like this had to be changed: from sudo mkdir -p "$STATE1"/10 to sudo mkdir -p "$STATE1"/manifest/10

castulo commented 4 years ago

Rebased