flatpak-builder/app
Philip Withnall b6828cda31 repo-update: Disallow changing collection IDs
Emit an error message if the user tries to change the collection ID of
an existing repository between two non-empty values. Allow them to set a
collection ID where one was not set before. Changing the collection ID
once it’s already been set will break updates for all clients who have
previously pulled from the repository.

If a developer really wants to change the collection ID for a
repository, they’re going to have to recreate the repository from
scratch.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2017-08-18 14:23:03 +02:00
..
Makefile.am.inc build: Add AM_* variables to all per-target special variables 2017-07-06 15:05:58 +01:00
flatpak-builtins-add-remote.c remote-add: Verify that GPG is enabled if collections are 2017-08-18 14:23:03 +02:00
flatpak-builtins-build-bundle.c common: Support collection IDs in flatpak{ref,repo} and bundle files 2017-08-18 14:23:03 +02:00
flatpak-builtins-build-commit-from.c app: Add support for collection IDs to built-in flatpak commands 2017-08-18 14:23:03 +02:00
flatpak-builtins-build-export.c app: Add support for collection IDs to built-in flatpak commands 2017-08-18 14:23:03 +02:00
flatpak-builtins-build-finish.c Merge pull request #900 from pwithnall/lan-and-usb-preparation 2017-07-08 20:54:28 -04:00
flatpak-builtins-build-import-bundle.c common: Support collection IDs in flatpak{ref,repo} and bundle files 2017-08-18 14:23:03 +02:00
flatpak-builtins-build-init.c builder: Support sdk-extensions also for apps 2017-04-04 15:52:36 +02:00
flatpak-builtins-build-sign.c build-sign: Support empty id to mean sign all apps 2016-12-13 12:39:06 +01:00
flatpak-builtins-build.c common: Add and use constants for flatpak-metadata(5) groups and keys 2017-07-07 16:06:21 +01:00
flatpak-builtins-delete-remote.c Warn about extra arguments in flatpak remote-delete 2016-09-27 14:30:11 +02:00
flatpak-builtins-document-export.c Warn about extra arguments in flatpak document-export 2016-09-27 14:30:11 +02:00
flatpak-builtins-document-info.c Warn about extra arguments in flatpak document-info 2016-09-27 14:30:11 +02:00
flatpak-builtins-document-list.c Rename flatpak_dir_get_system() into flatpak_dir_get_system_default() 2016-12-16 19:17:13 +00:00
flatpak-builtins-document-unexport.c Warn about extra arguments in flatpak document-unexport 2016-09-27 14:30:11 +02:00
flatpak-builtins-enter.c flatpak-enter: warn when not running as root 2017-07-09 14:27:26 -07:00
flatpak-builtins-info.c fix crash in flatpak info when app is not present in origin 2017-07-14 12:21:32 +01:00
flatpak-builtins-install.c common: Support collection IDs in flatpak{ref,repo} and bundle files 2017-08-18 14:23:03 +02:00
flatpak-builtins-list-remotes.c remotes: Improve output formatting 2017-05-03 11:06:43 +02:00
flatpak-builtins-list.c Handle app ids with dashes when ignoring locale/debug. 2017-05-30 18:07:46 +02:00
flatpak-builtins-ls-remote.c common/dir: Fix error handling for flatpak_dir_lookup_repo_metadata() 2017-08-18 14:23:03 +02:00
flatpak-builtins-make-current.c common: Make flatpak_split_partial_ref_arg more regular and capable 2016-10-14 12:08:37 +02:00
flatpak-builtins-override.c Rename flatpak_dir_get_system() into flatpak_dir_get_system_default() 2016-12-16 19:17:13 +00:00
flatpak-builtins-repo-update.c repo-update: Disallow changing collection IDs 2017-08-18 14:23:03 +02:00
flatpak-builtins-repo.c common/utils: Allow collection-id to be updated from repo config 2017-08-18 14:23:03 +02:00
flatpak-builtins-run.c run: Use new flatpak_find_current_ref helper. 2017-05-22 13:12:01 +02:00
flatpak-builtins-uninstall.c Fix all clang warnings 2016-12-13 10:20:28 +01:00
flatpak-builtins-update.c Use the CLI progress for update --appstream too 2017-05-22 17:01:14 +02:00
flatpak-builtins-utils.c general: Add missing `static` modifier to various local methods 2017-07-06 14:41:21 +01:00
flatpak-builtins-utils.h remote-add/modify: Break out gpg loading code to helper 2017-05-09 15:56:31 +02:00
flatpak-builtins.h Add a repo command 2017-04-18 12:36:23 +02:00
flatpak-main.c general: Add missing `static` modifier to various local methods 2017-07-06 14:41:21 +01:00
flatpak-transaction.c common: Support collections in check_for_updates() and forward the results 2017-08-18 14:23:03 +02:00
flatpak-transaction.h transaction: Always update metadata for remotes on update/install 2017-05-09 13:25:21 +02:00