Alexander Larsson
84f0b90af7
Bump version to 0.8.1
2017-01-18 16:34:26 +01:00
Alexander Larsson
f497abee73
Update bubblewrap to final 0.1.7 release
2017-01-18 16:26:01 +01:00
Alexander Larsson
a2810186b8
appstream update: Allow component ids not ending in .desktop
...
This is needed for runtimes
2017-01-18 13:22:56 +01:00
Alexander Larsson
9791268c6b
document portal: Support access() on directories
2017-01-18 11:32:44 +01:00
Alexander Larsson
4be202442d
document portal: Add some debug spew
2017-01-18 11:32:44 +01:00
Alexander Larsson
8909b5437d
document-portal: Treat newly created files (EXCL) as truncated ones
...
The EXCL pretty much guarantees it is a new file.
2017-01-18 11:32:44 +01:00
Alexander Larsson
13b0c78fe5
document portal: Report right error for setattr
2017-01-18 11:32:44 +01:00
Simon McVittie
dd96ac54f1
tests: Install testpython.py executable
...
The test that uses this file executes it. Install it as an extra
script rather than data to ensure that it can work.
2017-01-18 08:41:03 +01:00
Simon McVittie
63daf2bb95
testlibrary: ensure that contents_array is NULL-terminated
...
Otherwise g_strjoinv() wanders off the end into uninitialized memory.
Signed-off-by: Simon McVittie <smcv@debian.org>
2017-01-18 08:41:03 +01:00
Alexander Larsson
902fb71399
Use seccomp to filter out TIOCSTI ioctl
...
This would otherwise let the sandbox add input to the controlling tty.
2017-01-17 16:36:56 +01:00
Alexander Larsson
455b681cd7
Update to latest bubblewrap version
2017-01-17 16:30:06 +01:00
Matthias Clasen
16bdb672a9
Document RuntimeRepo key
...
Not being documented makes it hard to know that this actually
takes the url of a flatpakrepo file, as opposed to the other url
key in this file, which takes the url to a remote.
2017-01-16 13:38:15 +01:00
Matthias Clasen
165129070a
Document the DefaultBranch key
...
This can be set in .flatpakrepo files for a while.
It just wasn't documented.
2017-01-16 13:38:15 +01:00
Piotr Drąg
920def9f76
Update POTFILES.in
2017-01-16 13:36:36 +01:00
Alexander Larsson
8152331bd0
Make sure /var/tmp is not on tmpfs
...
Apps may rely on /var/tmp not being in ram, for instance when
downloading large files. See for instance:
http://0pointer.net/blog/projects/tmp.html
We make /var/tmp point to ~/.var/app/cache/tmp so that each app get
its own instane, and so that its cleared whe removing xdg-cache-dir
for the app.
2017-01-16 13:04:55 +01:00
Alexander Larsson
c4f0f3245d
Fix update of standalone bundle
...
We regressed on being able to install a bundle twice to update it.
This fixes https://github.com/flatpak/flatpak/issues/462
2017-01-16 11:51:14 +01:00
Alexander Larsson
5c2999fe20
Initilize MAINTAINERCLEANFILES so sub-makefiles can append to it
2017-01-16 11:37:44 +01:00
Cosimo Cecchi
78c3391b78
system-helper: make sure to run with XDG_DATA_DIRS set
...
Otherwise we can see in the log that update-mime-database will complain
about it not being set when installing an application using the system
helper.
2017-01-16 11:36:48 +01:00
Alexander Larsson
0fd0978987
Fix test crash introduced with error message
2017-01-16 11:20:47 +01:00
Alexander Larsson
da0970e290
Remove accidentally added generated files (from pt_BR.po)
2017-01-12 14:58:21 +01:00
Michal Rostecki
2860c0c4ad
configure: Look for the libdwarf headers also in /usr/include/libdwarf
...
Before this change, configure script looked for them only in
$includedir, which doesn't work well with jhbuild.
Fixes #471
2017-01-12 11:52:05 +01:00
Alexander Larsson
4e1bf67bff
Print a warning if the remote metadata cache is not found
2017-01-12 10:45:44 +01:00
Fábio Nogueira
1dc4701404
pt_BR translations file
2017-01-12 10:05:49 +01:00
Fábio Nogueira
1c3b173309
19%
2017-01-12 10:05:49 +01:00
Fábio Nogueira
0f7f9bae04
pt_BR translations file
2017-01-12 10:05:49 +01:00
Alexander Larsson
b12feb5968
Update bubblewrap to 0.1.6
2017-01-12 00:34:27 +01:00
Joaquim Rocha
5dd952e68e
Fix downloading extra data when run from a different thread
...
The main loop that is initiated while the extra data is being downloaded
needs a different context to be the thread-default one, otherwise the
operations just hang when running from a different thread.
2017-01-12 00:23:39 +01:00
Alexander Larsson
d09f5ea072
tests: Add oci-over-http tests.
2017-01-12 00:08:00 +01:00
Alexander Larsson
0fb2f362a8
tests: Move the test repo to a subdirectory (repos/test)
...
This makes the ostree trivial-httpd --autoexit feature work better,
because it seems to exit whenever the root directory changes (i.e. not
only when its deleted).
This means the root dir can't be the repo (because then we can't
update the repo), or the base testdir (because we create files there
too), so instead we make the repo $testdir/repos/test and
$testdir/repos as the httpd root.
2017-01-12 00:04:36 +01:00
Alexander Larsson
4c686332a3
OCI: Create all-readable layer blobs
...
Otherwise we can't export these via http
2017-01-11 22:37:26 +01:00
matthiasclasen
e1bf947be2
Merge pull request #470 from kinvolk/nhlfr/man5-gitignore
...
Add all man5 files to .gitignore
2017-01-04 11:58:38 -05:00
Michal Rostecki
b9401590f6
Add all man5 files to .gitignore
...
flatpak-flatpakref.5 and flatpak-flatpakrepo.5 were not included
in .gitignore.
2017-01-04 15:34:54 +01:00
Patrick Griffis
a410e86fff
builder: Error when failing to include modules
...
Currently it can silently fail if an included file is invalid
or missing. This makes that fatal.
2016-12-22 14:39:41 +01:00
Simon McVittie
6d930d8fd0
flatpak-builder(1): fix typo
...
Found by Debian's Lintian tool.
2016-12-22 09:28:25 +01:00
Alexander Larsson
fed5cb3667
OCI: Stop using json-glib apis that don't exist in 1.0.x
2016-12-21 14:20:28 +01:00
Piotr Drąg
63a9c8f867
Update Polish translation
2016-12-21 09:48:17 +01:00
Alexander Larsson
7f31a1acae
Update NEWS
2016-12-20 22:16:41 +01:00
Alexander Larsson
43727439f3
Update pofiles
2016-12-20 16:46:15 +01:00
Alexander Larsson
bef52f4ee7
Update version to 0.8.0
2016-12-20 16:44:22 +01:00
Alexander Larsson
f20e5f7823
bundles: Support dependencies and runtime-repo
...
If the bundle contains an origin link we can now install related
things from it, such as locale data.
You can also build the bundle with --runtime-repo=URL, where the url
points to a flatpakrepo file for a repo with runtimes. This works
similar to the RuntimeRepo= feature in flatpakref files.
2016-12-20 16:27:57 +01:00
Mario Sanchez Prada
54d65aabc5
Fix CI build with clang: remove unused variable
2016-12-20 16:26:20 +01:00
Mario Sanchez Prada
29510ff4e0
Add unit tests to check the new feature to support multiple installations
...
Test all the new public APIs, making sure that the list of system-wide
installations is returned in the right order according to their priorities.
2016-12-20 09:54:39 +01:00
Mario Sanchez Prada
82906a63bd
Add support for the FLATPAK_CONFIG_DIR environment variable
...
This will be useful for testing purposes, so that we can provide
our own versions of the configuration files normally under
/etc/flatpak/installations.d.
2016-12-20 09:54:39 +01:00
Mario Sanchez Prada
15e7f14ca3
Adjusted internal representation for storage types of system installations
...
I set these as separate bits by mistake when there's no good reason for
them to be like that, as they are not flags that are meant to be combined,
but a list of exclusive values.
2016-12-20 09:52:03 +01:00
Alexander Larsson
92a84cf61e
install: Report errors when finding deps
2016-12-19 20:55:12 +01:00
Mario Sanchez Prada
40eb7fb07d
Add bits to document the multiple installations feature
...
Documented the --installation parameter for all the CLI commands
that accept it, and added a small generic description in the main
flatpak document.
2016-12-19 15:12:06 +01:00
Alexander Larsson
8737153ded
builder: Fix --verbose logging
...
We need to pass the right log domain in.
2016-12-19 14:55:22 +01:00
Alexander Larsson
5ef7e9d582
flatpak.supp: Suppress weird libsoup leak
2016-12-19 14:19:41 +01:00
Alexander Larsson
4ef4a7d982
transactions: Fix leak
2016-12-19 14:19:41 +01:00
Alexander Larsson
5a12917a2f
oci: Fix leak in flatpak_pull_from_oci
2016-12-19 14:19:41 +01:00