Commit Graph

1327 Commits (42d08ed18c384c807f643089c594921432ee8c76)
 

Author SHA1 Message Date
Alexander Larsson 42d08ed18c NEWS/version: Update to 0.6.1 2016-05-23 09:22:41 +02:00
Alexander Larsson 4bad34f49e readme: Update the link 2016-05-23 09:17:54 +02:00
Alexander Larsson 578d2cc9cf bwrap: Use --unshare-user-try
This makes the user ns optional, as it is not supported everywhere.
For instance Arch disables it by default.
2016-05-23 09:10:39 +02:00
Alexander Larsson 13a02c8d01 Update bubblewrap to export/flatpak/0.6.1 branch
This has fixes for setuid mode without userns support.
Should fix arch and debian support.
2016-05-23 08:56:46 +02:00
Alexander Larsson 958a4b45a7 lib: Fix order of ref/remote in update call 2016-05-20 14:29:54 +02:00
Alexander Larsson 910328e535 Support no-deploy and no-pull via system helper 2016-05-20 13:30:50 +02:00
Alexander Larsson 24d4b60f60 Fix build if SCMP_ARCH_AARCH64 not defined 2016-05-20 11:07:34 +02:00
Alexander Larsson e9c67ec47f Get the system installation dir right in XDG_DATA_DIRS
Its in /var/lib/flatpak, not /var/flatpak
2016-05-20 09:21:19 +02:00
Tristan Van Berkom 501802270e flatpak-builtins-update.c: Fixed loading of arch option
Code was organized in such a way that the --arch option
was being ignored.

https://bugs.freedesktop.org/show_bug.cgi?id=95489
2016-05-19 12:43:01 +02:00
Alexander Larsson 9377d0d94f Merge pull request #164 from amigadave/master
Fix ostree requirement in NEWS
2016-05-19 09:26:37 +02:00
David King bed242270e Fix ostree requirement in NEWS 2016-05-18 15:44:05 +01:00
Bastien Nocera 313d5fb2d3 lib: Fix compilation warnings
lib/flatpak-installation.c: In function ‘flatpak_installation_modify_remote’:
lib/flatpak-installation.c:738:12: warning: return makes integer from pointer without a cast [-Wint-conversion]
     return NULL;
            ^~~~
lib/flatpak-installation.c: In function ‘flatpak_installation_remove_remote’:
lib/flatpak-installation.c:773:12: warning: return makes integer from pointer without a cast [-Wint-conversion]
     return NULL;
            ^~~~
2016-05-18 13:48:23 +02:00
Alexander Larsson e020803554 utils: remove_dangling_symlinks() - fix leak
We were not freeing the iterator.
2016-05-18 13:42:58 +02:00
Alexander Larsson c635633e6b Add --with-system-install-dir option 2016-05-18 11:11:03 +02:00
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