mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-29 12:23:17 -04:00
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.
38 lines
1.4 KiB
C
38 lines
1.4 KiB
C
/*
|
|
* Copyright © 2015 Red Hat, Inc
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* Authors:
|
|
* Alexander Larsson <alexl@redhat.com>
|
|
*/
|
|
|
|
#if !defined(__FLATPAK_H_INSIDE__) && !defined(FLATPAK_COMPILATION)
|
|
#error "Only <flatpak.h> can be included directly."
|
|
#endif
|
|
|
|
#ifndef __FLATPAK_RELATED_REF_PRIVATE_H__
|
|
#define __FLATPAK_RELATED_REF_PRIVATE_H__
|
|
|
|
#include <flatpak-related-ref.h>
|
|
#include <flatpak-dir-private.h>
|
|
|
|
FlatpakRelatedRef *flatpak_related_ref_new (const char *full_ref,
|
|
const char *commit,
|
|
char **subpaths,
|
|
gboolean download,
|
|
gboolean delete);
|
|
|
|
#endif /* __FLATPAK_RELATED_REF_PRIVATE_H__ */
|