Commit Graph

1313 Commits (c6486d01a21fabbfc3f0023d9e9e8c4a203d669e)
 

Author SHA1 Message Date
Alexander Larsson c6486d01a2 tests: Fix distcheck
Don't clean out the test files on a regular clean.
2016-05-18 10:45:16 +02:00
Alexander Larsson 4af71aae7b Fix distcheck: clean up some more generated files 2016-05-18 10:30:47 +02:00
Alexander Larsson 1216e0ea68 tests: Fix distcheck breaking on gpg dir not writable
We make a copy of the gpg homedir so that gpg can write (e.g. a lock file)
to the directory.
2016-05-18 10:26:11 +02:00
Alexander Larsson d961290d40 tests: EXTRA_DIST the test keyrings 2016-05-18 10:16:59 +02:00
Alexander Larsson b3853f45af Update version to 0.6.0 2016-05-17 18:53:34 +02:00
Alexander Larsson 8397a15a3b Update to latest bubblewrap 2016-05-17 18:25:33 +02:00
Simon McVittie aa91b28a74 test-configure: use correct quoting
CFLAGS, FOO, BAR may contain spaces.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 18:05:41 +02:00
Simon McVittie d4738cca16 tests: skip running flatpak at build time if bwrap doesn't work
Distribution autobuilders are often more locked-down than the
environment in which the distribution binaries actually run.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 18:05:12 +02:00
Simon McVittie d6b1c9ff3c tests: package_version.txt is in the $builddir
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 18:01:46 +02:00
Simon McVittie 70e70d2f6a test-doc-portal: rely on service activation to start D-Bus service
This is a more realistic integration test anyway.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 17:59:23 +02:00
Simon McVittie 4828632456 test-doc-portal: rely on G_TEST_BUILDDIR to find services
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 17:59:04 +02:00
Simon McVittie 513f795c65 testdb: rely on G_TEST_SRCDIR to find databases
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 17:57:24 +02:00
Simon McVittie a7a49065a7 Don't install non-executable test files executable
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 17:55:42 +02:00
Alexander Larsson 3d232bbe15 Merge pull request #161 from smcv/spelling
Fix various spelling mistakes
2016-05-17 17:51:20 +02:00
Alexander Larsson aa11387031 tests: Add test-run-system.sh 2016-05-17 17:49:55 +02:00
Alexander Larsson b697a78dd3 system-helper: Support running unprivileged on session bus
This is only useful for testing.
2016-05-17 13:06:59 +02:00
Alexander Larsson 294639ba2a test-run: Split null update to its own test 2016-05-17 13:05:43 +02:00
Alexander Larsson f36a57b3b1 tests: Use gpg signatures during test 2016-05-17 13:04:44 +02:00
Simon McVittie a4641280a7 Fix various spelling mistakes
Mostly detected by Debian's Lintian tool.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 11:43:32 +01:00
Alexander Larsson dcd8d85900 lib: Make flatpak_installation_drop_caches return TRUE on success 2016-05-17 12:09:32 +02:00
Alexander Larsson f916e87d74 system-helper: Add --no-idle-exit commandline argument
This is useful for tests and debugging, where we don't want it to
accidentally idle.
2016-05-17 11:56:58 +02:00
Alexander Larsson 18992c2fa0 Look at FLATPAK_SYSTEM_DIR env var for default system dir
This is useful for testing
2016-05-17 11:55:41 +02:00
Alexander Larsson 251dcdb680 system-helper: Never use a system helper recursively 2016-05-17 11:54:44 +02:00
Alexander Larsson 6b4e5dd903 tests: Put --user in an env var
This means we can optionally skip it
2016-05-17 10:50:02 +02:00
Alexander Larsson c432c417c2 tests: Add test for update 2016-05-17 10:32:29 +02:00
Alexander Larsson 3b291090c7 Merge pull request #160 from matthiasclasen/docs
Some library doc updates
2016-05-17 10:17:01 +02:00
Matthias Clasen fab3e4b991 Document new FlatpakInstallation api 2016-05-16 21:25:48 -04:00
Matthias Clasen d30ef7c602 Document FlatpakBundleRef apis 2016-05-16 19:50:30 -04:00
Matthias Clasen 0cfd001d9b Add some new api to the docs 2016-05-16 19:49:48 -04:00
Matthias Clasen e7d53ca7cb Add new FlatpakRemote apis to the docs 2016-05-16 19:37:08 -04:00
Matthias Clasen d784322f4e Fix a doc comment typo
Tis was causing the docs for flatpak_remote_get_disabled not
to be picked up.
2016-05-16 19:36:30 -04:00
Tristan Van Berkom b13fc460df flatpak-run.c: Handle arm and aarch64 arches
Allows 32bit applications to run in the sandbox on a 64bit aarch64 host.

https://bugs.freedesktop.org/show_bug.cgi?id=95421
2016-05-16 16:28:55 +02:00
Alexander Larsson 4316c9e104 lib: Add API to add/modify/remove remotes 2016-05-16 16:26:17 +02:00
Alexander Larsson b24aff6580 Remove unused variables 2016-05-16 16:25:09 +02:00
Alexander Larsson d1d73bd2b2 run: Remove old seccomp arch code
There was a merge error when we switched to bubblewrap, this
code was replaced with the code that only adds the target
arch, but we forgot to remove this old code.
2016-05-16 10:45:27 +02:00
Alexander Larsson 7cffe7c1b1 Actually export flatpak_installation_drop_caches 2016-05-16 10:22:45 +02:00
Alexander Larsson 90c909a932 Fix clang warnings 2016-05-13 16:26:47 +02:00
Alexander Larsson 1504f7bd7f system-helper: Support add/modify/delete of remotes 2016-05-13 16:23:43 +02:00
Alexander Larsson 4a8a225447 remote-delete: Actually look at --force flag 2016-05-13 16:23:13 +02:00
Alexander Larsson 2875cdead5 remote-delete: Move to FlatpakDir and add checks for installed refs
You can't remove a remote unless you --force or there are no installs
from it.
2016-05-13 14:17:46 +02:00
Alexander Larsson 753cdc97fd Fix typo: flatpak_dir_modify_remove -> flatpak_dir_modify_remote 2016-05-13 13:59:48 +02:00
Alexander Larsson 096eb67c25 lib: Add flatpak_installation_drop_caches 2016-05-13 13:55:00 +02:00
Alexander Larsson 392f80a4aa FlatpakDir: Add in-memory summary cache
Remote summary files are cached for 5 minutes.
2016-05-13 13:15:45 +02:00
Alexander Larsson fa6e6c51ef Duplicate ostree_repo_remote_list_refs in FlatpakDir
This way we can later add a local summary cache to it.
2016-05-13 11:32:40 +02:00
Alexander Larsson 0098164cd6 Register dbus errors for FLATPAK_ERROR
This allows us to transparently pass them from the system helper.
2016-05-12 22:03:42 +02:00
Alexander Larsson 29390fff39 Change portal error names to not contain Flatpak 2016-05-12 22:03:09 +02:00
Alexander Larsson 5407b8efc6 system-helper: Support uninstall 2016-05-12 21:23:36 +02:00
Alexander Larsson 3964504438 Fix triggers with installation dir on a symlink 2016-05-12 21:16:40 +02:00
Alexander Larsson e5649ead07 Fix debug spew with -v 2016-05-12 21:16:18 +02:00
Alexander Larsson fe0a1be5f8 common: Add flags for flatpak_dir_uninstall
This is better than a list of booleans.
2016-05-12 19:52:48 +02:00