Commit Graph
1685 Commits
Author SHA1 Message Date
Matthias Clasen eaebfd8cc2 Remove a misleading error message
NAME is not, in fact, required.
2016-08-04 18:39:11 -04:00
Matthias Clasen 8124016247 flatpak update: fail if not installed
Print a diagnostic and fail if the application or runtime
does not exist in flatpak update.
2016-08-04 15:48:45 -04:00
Matthias Clasen 414cd0afce Document --appstream option
This option of flatpak update was undocumented.
2016-08-04 14:08:09 -04:00
Matthias Clasen 66507c9bf1 Stop mentioning test-library.sh
It is not needed.
2016-08-03 18:05:59 -04:00
matthiasclasen 4cce620585 Merge pull request #219 from mwleeds/allow-git-paths
builder: Allow git sources to be specified as paths
2016-08-03 09:45:11 -04:00
Matthias Clasen e50ea6f66a More library tests
Test launching of apps and uninstallation
2016-08-02 10:56:33 -04:00
matthiasclasen 19eabe5de9 Merge pull request #226 from smcv/dist
Distribute flatpak-metadata.xml, fix distcheck
2016-08-02 07:44:13 -04:00
Matthias Clasen e1207256d0 lib: Fix saving of remote titles
We were using the key 'title' in some places, but 'xa.title'
elsewhere. Make it 'xa.title' everywhere. This bug was found
by the new unit tests.
2016-08-01 23:05:38 -04:00
Matthias Clasen 149cff9c5d More library tests
More tests, for FlatpakRef.
2016-08-01 23:05:19 -04:00
Matthias Clasen 109e6984e8 tests: Add library tests
Add a test binary that sets up a remote and exercises some of
the library apis against it.
2016-08-01 23:05:05 -04:00
matthiasclasen 827d070e39 Merge pull request #227 from smcv/install-test-data-hook
build: run install-test-data-hook even if using system bwrap
2016-08-01 08:33:47 -04:00
matthiasclasen 1ae1583b2d Merge pull request #228 from smcv/no-dbus-launch
libtest: replace dbus-launch with dbus-daemon
2016-08-01 08:33:13 -04:00
matthiasclasen b71122ca1e Merge pull request #224 from piotrdrag/pl-update-160801
Updated Polish translation
2016-08-01 08:32:38 -04:00
Simon McVittie 6cc8062cfb libtest: replace dbus-launch with dbus-daemon
dbus-launch is X11-specific and contains a lot of legacy code to
support X11 autolaunching. It should not be part of the Wayland
(and/or Mir) future.

Start a dbus-daemon directly instead.
2016-08-01 11:29:50 +01:00
Simon McVittie f966605563 build: run install-test-data-hook even if using system bwrap
The !WITH_SYSTEM_BWRAP conditional was too broad here.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:28:45 +01:00
Simon McVittie 454764f059 .gitignore: ignore "make dist" output
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:16:53 +01:00
Simon McVittie 8b4f2c120c .gitignore: ignore more gettext output
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:16:12 +01:00
Simon McVittie 4dd59eeecb docs: include sub-documents from $(srcdir)
This fixes "make distcheck".

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:15:07 +01:00
Simon McVittie 6ec373a1f6 Distribute flatpak-metadata.xml in tarball releases
This was missing from 0.6.8, causing a build with xmlto available
to fail.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:09:07 +01:00
Piotr Drąg f529fe89dc Updated Polish translation 2016-08-01 04:02:29 +02:00
Alexander Larsson 07b342a937 Properly make clean the docs 0.6.8 2016-07-31 00:11:31 +02:00
Alexander Larsson 4e67f3cfe8 Update pofiles 2016-07-31 00:08:59 +02:00
Alexander Larsson f93cd615b3 Update for 0.6.8 2016-07-31 00:01:27 +02:00
Alexander Larsson c809ee4fa0 Fix test failures due to desktop validation 2016-07-30 23:52:56 +02:00
Matthias Clasen b42bc359f6 Validate exports in build-export
Do some basic validation of the exported desktop files, service
files and icons.

Suggested by Bastien Nocera.
2016-07-29 18:41:25 -04:00
Matthew Leeds 25d88477c5 builder: Allow git sources to be specified as paths
Currently to use a local copy of a git repo you have to specify the url
as "file:///path/to/repo". This commit allows you to specify a path directly
as "/path/to/repo", which is faster and more space-efficient because
git-clone will hardlink the objects rather than copying them.
2016-07-29 16:01:30 -04:00
Matthias Clasen 75218c4a65 Fix license headers
We were referring to the nonexisting "version 2" of the
Lesser GPL. It should be "version 2.1".
2016-07-29 14:27:49 -04:00
Matthias Clasen 3a281d0782 Add locations to some error messages
When a file is not found, mention where we looked for it.
This provides useful context for understanding the error.
2016-07-29 14:16:31 -04:00
Matthias Clasen 91b7b0a419 Mention app dir in output
This can help making sense out of error messages when something
goes wrong.
2016-07-29 14:15:46 -04:00
Alexander Larsson 764cb91cbe Remove workaround for issue #144 now that ostree is fixed
The fix for this is in ostree 2016.7

https://github.com/flatpak/flatpak/issues/144
2016-07-29 01:20:40 +02:00
Alexander Larsson cbe20d3a6c Require ostree 2016.7 to get fix for issue #144
The new ostree has a fix for delta updates that lets us
re-enable these for updates via the system helper.
2016-07-29 01:20:40 +02:00
Alexander Larsson 3d603bbb30 Merge pull request #215 from flatpak/revert-202-journal-setup
Revert "Set up logging to the journal"
2016-07-29 00:26:02 +02:00
Alexander Larsson 003ef9ee2e Revert "Set up logging to the journal" 2016-07-29 00:24:43 +02:00
matthiasclasen cb9c13cda7 Merge pull request #214 from mwleeds/fix-memory-leaks
builder: Fix a few memory leaks
2016-07-28 16:30:52 -04:00
Matthew Leeds b051571de8 builder: Fix a few memory leaks
These changes fix some memory leaks that valgrind pointed out.
2016-07-28 16:03:42 -04:00
Matthias Clasen 9583e0ddb4 Add a configure summary 2016-07-28 15:02:40 -04:00
Matthias Clasen 772d2ab562 Fix dbus logging
We were adding the --log option in the wrong spot of the dbus-proxy
commandline, causing it to a) not accept it and b) spew a warning.
2016-07-28 09:06:23 -04:00
Matthias Clasen d245ba3574 fuse: Always fail X_OK in access()
Pointed out by Ray Strode.
2016-07-27 16:00:44 -04:00
matthiasclasen c01c6b487a Merge pull request #210 from matthiasclasen/fuse-access
document-portal: Implement access()
2016-07-27 15:46:54 -04:00
Matthias Clasen 0e8faa8c31 document-portal: Implement access()
In testing readonly exports, I noticed that gedit is does not believe
the mode it gets from stat()ing a file a million times. Instead
it calls access() to determine whether to treat it as readonly.
Since the document portal fuse file system did not implement
access(), gedit treated my file as writable and then failed when
I clicked "Save". With this patch, gedit treats the file as read-only
from the get-go.
2016-07-26 14:55:18 -04:00
matthiasclasen 5440b8b88b Merge pull request #169 from matthiasclasen/list-by-arch
--arch doesn't work for "list"
2016-07-26 13:46:56 -04:00
matthiasclasen b80b88b079 Merge pull request #209 from halfline/master
install dbus systemd service file snippet
2016-07-26 13:44:07 -04:00
Matthias Clasen 003d96e3df Add an --arch option to flatpak list
This enables filtering by arch when listing installations.
2016-07-26 13:39:57 -04:00
Ray Strode f5ddf78c79 install dbus systemd service file snippet
flatpak currently installs a gdm env.d and a bash profile.d file to
ensure XDG_DATA_DIRS is set to the right value.  Neither is sufficient
when the dbus daemon is activated as a system --user service.

This commit adds a dbus service file snippet to frob its environment
variable for that case.
2016-07-26 13:33:31 -04:00
Matthias Clasen 369eab84e7 Fix a typo
We were trying to check if O_NOFOLLOW was set here.
(flags & BIT_A) == BIT_B never make sense.
2016-07-25 14:28:57 -04:00
matthiasclasen e9f4e5de1e Merge pull request #202 from matthiasclasen/journal-setup
Set up logging to the journal
2016-07-25 10:38:29 -04:00
Matthias Clasen 6e0d8e394e Document the new option 2016-07-25 10:36:00 -04:00
Matthias Clasen a60f18c183 Add a --journal option to flatpak run
The --journal option takes one of the values yes, no, auto.
2016-07-25 10:36:00 -04:00
Matthias Clasen d7da128818 Optionally redirect stdout and stderr to the journal
Arrange for stdout and stderr to be redirected to the systemd
journal, before exec'ing bwrap. This is under the control of
a pair of run flags. By default, we try to be smart and only
redirect if stderr is not a tty.
2016-07-25 10:36:00 -04:00
matthiasclasen 5216540b7b Merge pull request #205 from mwleeds/fix-typos
doc/flatpak-builder: Fix typos
2016-07-23 15:17:28 -04:00