Commit Graph

2794 Commits

Author SHA1 Message Date
Alexander Larsson
d1fae1f476 remote-ls: Don't show Locale/Debug and secondary arches by default.
Locale and Debug extensions, and refs for a secondary arch, when the
primary arch alternative exists, are not shown unless you specify
--all or -a.

This makes the default output more useful.
2017-05-30 17:41:24 +02:00
Alexander Larsson
f072d585b0 list: Don't list .Locale and .Debug by default (override with -a) 2017-05-30 17:41:01 +02:00
Alexander Larsson
f616ada02b build-update-repo: Remove unwanted deltas before updating summary
The list of deltas is stored in the summary, so we need to delete
them before we generate the summary, not before.

This means there is a short period where people may use the old summary
which references the old, now deleted summaries. However, that is
better than it referencing the deleted deltas forever.
2017-05-30 15:16:12 +02:00
Alexander Larsson
475dde6263 run: Add debug sprew for all bwrap arguments 2017-05-30 13:40:40 +02:00
Matthias Clasen
f8f35f9675 Merge pull request #820 from matthiasclasen/add-full-docs2
document store: Document as-needed functionality of AddFull
2017-05-30 06:18:13 -04:00
Matthias Clasen
0202c9688b Merge pull request #823 from AsciiWolf/cs-update
Update Czech translation
2017-05-30 06:17:09 -04:00
AsciiWolf
7ea534758d Update Czech translation 2017-05-30 12:06:14 +02:00
Alexander Larsson
d8000183f6 extra-data: Print exit status if apply_extra_data script fails 2017-05-30 11:12:37 +02:00
Matthias Clasen
5d610b9ddd document store: Document as-needed functionality of AddFull
Mention the new flag and its functionality in the portal API
documentation.
2017-05-29 09:43:35 -04:00
Alexander Larsson
c620ba642d document portal: Fix race condition when unmounting old version
Fixes https://github.com/flatpak/flatpak/issues/814
2017-05-26 16:56:58 +02:00
Alexander Larsson
333f308a2b builder: Don't warn for unknown properties starting with x-
Fixes https://github.com/flatpak/flatpak/issues/809
2017-05-26 16:34:43 +02:00
Alexander Larsson
4a54450400 documents: paths in the apps dir ar always accessible
When using the as-needed flag in AddFull, we need to consider
the files in the target apps app-specific dir also accessible.

Fixes https://github.com/flatpak/flatpak/issues/815
2017-05-26 13:05:43 +02:00
Matthias Clasen
acb37bc1e9 Merge pull request #812 from AsciiWolf/cs-update
Update Czech translation
2017-05-24 14:44:05 -04:00
AsciiWolf
b1726fc3df Update Czech translation 2017-05-24 15:52:23 +02:00
Mathieu Bridon
8b9df0ddcf Automatically use a separate builddir with Meson
Meson does not support builddir == srcdir, so there is no reason to
require developers to set "builddir" to true in their manifests, when we
can just do the right thing.
2017-05-24 15:18:26 +02:00
Patrick Griffis
1775eab41c run: Handle file paths when forwarding uris
Ideally it would always be a URI but it seems in real usage you
do get normal paths.
2017-05-24 13:19:39 +02:00
Alexander Larsson
e75cff6bb5 export: Store the app id in the X-Flatpak key
We need this, because it may not correspond 100% to
the desktop file id, as flatpak allows suffixes if you
want multiple desktop files in one app.
2017-05-24 12:02:42 +02:00
Alexander Larsson
71408adbb3 Don't error out when updating metadata for disabled remotes 2017-05-24 11:42:18 +02:00
Alexander Larsson
d2c51a8553 Fix installation of test-keyring2 2017-05-23 14:32:46 +02:00
Alexander Larsson
cf2b44b04b Update pofiles 0.9.4 2017-05-23 12:08:40 +02:00
Alexander Larsson
6fb15f4f76 Dist test-keyring2 dir 2017-05-23 12:08:23 +02:00
Alexander Larsson
e89facde7f deploy: Ensure xa.ref, if set, is correct 2017-05-23 11:41:58 +02:00
Alexander Larsson
aa3ff4650e Update NEWS for release 2017-05-23 11:36:59 +02:00
Alexander Larsson
c8659e4530 progress: Update at 300msec on the CLI
Writing things on the console every 100msec doesn't really
make any sense, the progress bar is not finegrained enough
and you can't read the text that fast anyway.
2017-05-23 10:18:35 +02:00
Alexander Larsson
aeb31f7941 export: Always set a xa.ref commit metadata
This makes it easier to reverse-map from commits to refs, for
e.g. statistics, but it also in the future will allow use to
not sign the summary and still use the system-helper.
2017-05-22 17:30:04 +02:00
Alexander Larsson
23399ddc35 Use the CLI progress for update --appstream too 2017-05-22 17:01:14 +02:00
Alexander Larsson
e41cb789fa builder: Add support for screenshot mirroring
Specify --mirror-screenshots-url=URL and then copy the resulting
appdata/screenshots directory to the URL, then these
will be used instead of the upstream screenshots.
2017-05-22 16:18:45 +02:00
Alexander Larsson
e47a726061 lib: Fix update checking
There was a typo in 44cf5076
2017-05-22 15:28:53 +02:00
Alexander Larsson
dbf52de6fd Bump version to 0.9.4
This is in preparation for a release to come, but also
to let you check for new features in configure.
2017-05-22 14:37:41 +02:00
Alexander Larsson
dac242fb49 Remove unused variables 2017-05-22 13:40:11 +02:00
Alexander Larsson
1ecbf0666c lib: Add flatpak_installation_update_appstream_full_sync with progress 2017-05-22 13:32:58 +02:00
Alexander Larsson
dfaf925dd0 document-portal: Add XDP_ADD_FLAGS_AS_NEEDED_BY_APP to AddFull
If this is set, we only rewrite paths that are needed for the
target application. I.e. the ones that are *not* accessible by
that application.
2017-05-22 13:12:13 +02:00
Alexander Larsson
c08dff31a9 document-portal: Lock just once in AddFull for many paths 2017-05-22 13:12:01 +02:00
Alexander Larsson
1f77af15cb common: Add flatpak_context_load_for_app helper
This looks for an installed app, using the current
one, and loads its permissions and overriders
(ignoring the ones from the runtime).

This is useful if you want to know the permissions
for an application by name, such as in the
document portal.
2017-05-22 13:12:01 +02:00
Alexander Larsson
ea2af15dc0 run: Use new flatpak_find_current_ref helper. 2017-05-22 13:12:01 +02:00
Alexander Larsson
2023ca03c2 common: Add flatpak_find_current_ref helper 2017-05-22 13:12:01 +02:00
Alexander Larsson
8cd7a0ab31 common: Expose FlatpakExports
This will be needed for the document portal to be able to
detect what directories an app has access to.
2017-05-22 13:11:58 +02:00
Matthias Clasen
9564da53f8 Small documentation improvements
Add some missing newlines, and document that
AddFull was added in version 2.
2017-05-22 09:26:42 +02:00
Matthias Clasen
ea0f97efe7 Correct mountpoint handling
As a file path, the mountpoint should probably be sent
as ay. Also, remove an extra level of gvariant wrapping.
2017-05-22 09:26:23 +02:00
Matthias Clasen
c2ed604b2e Add some hints when icons are not found
We have some extra conditions here that are not evident
from the rename-icon key in the manifest, so add some
verbose output to make it easier to figure out why an
icon is not renamed.
2017-05-22 09:25:44 +02:00
Alexander Larsson
e63d089435 Remove unused variable
Fixes clang warning
2017-05-22 09:25:00 +02:00
Alexander Larsson
4f828942f7 Update to latest libglnx and use the new GLnxTmpFile API 2017-05-22 09:08:49 +02:00
Alexander Larsson
f4d8f5680b builder: Add CPPFLAGS similar to the existing flags 2017-05-22 08:50:18 +02:00
Alexander Larsson
f4281aacb1 builder: Update doc for latest cflags vs env var change 2017-05-22 08:49:52 +02:00
Alexander Larsson
ff8c9ddef6 builder: Make c/cxx/ldflags not override env
This allows you to easily construct flags by appending,
but also lets you override it completely if necessary.
2017-05-22 08:41:30 +02:00
Matthias Clasen
f05f012e19 Merge pull request #803 from mrkara/master
Added Turkish translation
2017-05-20 10:26:13 -04:00
Çağatay Yiğit Şahin
f92a92c50b Added Turkish translation
by GNOME Turkish Translation Team

Signed-off-by: Muhammet Kara <muhammetk@gmail.com>
2017-05-20 10:16:58 +03:00
Alexander Larsson
77a7aa6adb document-portal: Bump version to 2 due to new AddFull method 2017-05-19 17:03:15 +02:00
Alexander Larsson
6ce8521b64 document-portal: Add AddFull() operation
This allows you to add multiple paths at the same time, plus
grant an app access to it, plus it returns the fuse mount path.

This allows you to avoid a lot of roundtrip in common cases.
2017-05-19 17:01:46 +02:00
Alexander Larsson
bda7575e79 Add version property to all dbus interfaces 2017-05-19 14:38:22 +02:00