summaryrefslogtreecommitdiff
path: root/tests/test-update-portal.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-03-18 11:06:50 +0100
committerAlexander Larsson <alexl@redhat.com>2020-03-23 17:58:04 +0100
commit124b0be92e0b033c35e04c5dcbea5a9da6915723 (patch)
tree89f2c290ffe010940e529c0e1351b5afb782b90a /tests/test-update-portal.c
parent336a127f5515f69c7d5c6aa7943076035c59bf84 (diff)
downloadflatpak-124b0be92e0b033c35e04c5dcbea5a9da6915723.tar.gz
Drop more collection_id use
Most code that looks for a regular collection id set on the remote is removed, as these should never happen in flatpak repo setups now. Some is replaces with looking at xa.sideload-collection-id: * The libflatpak FlatpakRef::collection-id property now comes comes from the sideload id * Various CLI commands showing or changing the collection-id for a remote now uses the sideload id * Collection id deploy in update now sets the sideload-collection-id instead * Setting the collection id for a remote in libflatpak now sets the sideload id Additionally we now delete the code that allows unsigned summaries when there is a collection id (because there is none). create-usb now uses the sideload id as as collection id source when exporting. The direct repo operations (export, bundle, commit-from) still support collection ids, because on the server we do want to set it so that we can sideload.
Diffstat (limited to 'tests/test-update-portal.c')
-rw-r--r--tests/test-update-portal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test-update-portal.c b/tests/test-update-portal.c
index 3513dfeb..b7940a6c 100644
--- a/tests/test-update-portal.c
+++ b/tests/test-update-portal.c
@@ -130,7 +130,6 @@ progress_cb (PortalFlatpakUpdateMonitor *object,
GVariant *arg_info,
UpdateData *data)
{
- g_autofree char *args = g_variant_print (arg_info, FALSE);
guint32 op = 0;
guint32 n_ops = 0;
guint32 progress = 0;