| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
If a remote is added or modified in the cloned FlatpakDir
we also drop caches in the one in the installation.
Fixes #1882
Closes: #1883
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
This fixed coverity issue 1471683.
Closes: #1880
Approved by: mwleeds
|
| |
|
|
|
|
|
|
| |
Use the helper function to decide whether to use the system helper in
one more place.
Closes: #1874
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the system helper process exits due to being idle the
FlatpakSystemHelper dbus proxy will return errors on
all calls, because it resolves the well known name to
a unique name on creation, which means it will try
to talk to the old idle-exited instance.
The fix is to not use GDBusProxy, but instead manually
call g_dbus_connection_call_sync().
Fixes #1845
Closes: #1873
Approved by: mwleeds
|
| |
|
|
|
| |
Closes: #1872
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1870
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1870
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
| |
I don't think there is really an acceptable setting that does
the right thing always, so disable any adding/removing
of brackets.
Closes: #1870
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1870
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Setting an error with second_error->message is going to work poorly
when second_error has never been set non-NULL.
Related to #1845, although not necessarily the full solution.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1867
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
This allows libflatpak users to also add runtime remotes
as needed by bundles.
Closes: #1868
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the flatpak_transaction_add_install_flatpakref method
to easily install from flatpakref files. It additionally
adds a new signal called add-new-remote which is called in two
cases:
To ask if the user wants to add a "normal" remote for the url
specified by a flatpakref file.
When a new remote is required for the runtimes the application
depends on.
Closes: #1868
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
This will be used as the default when installing something that
doesn't specify a ref, such as a flatpakref file.
Closes: #1868
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
Fixes https://github.com/flatpak/flatpak/issues/1672
Closes: #1828
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
When you're looking at the Flatpak Command Reference on
docs.flatpak.org, it's not clear that it was generated from the flatpak
repo. So add a notice to the docbook that's used to generate the HTML.
This was pointed out by
https://github.com/flatpak/flatpak-docs/pull/134
|
| |
|
|
|
|
| |
The FICLONE ioctl suppression was hit via a different
codepath too, so tweak the callstack for the
suppression.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is used to create the /var/lib/flatpak repo if
needed so that other later operations work. We have
some partial support for it not working in various
operations (using the allow_empty argument) but
this is in no way complete. For example, this
can easily happen if you have a per-user installation
but no system one and then you run flatpak install
with no --user, then it will try to figure out
which one to use and die.
|
| |
|
|
|
|
|
|
|
|
| |
This is the equivalent of commit 86fd56dce for the commands added
in commit 2465cf4 to test #1587.
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #1864
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
| |
This was left over after commit 86fd56d.
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #1864
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
For some reason I hit this with a test remote, and it crashes. Make
it return an error instead.
Closes: #1854
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1849
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
| |
This fixes an out-of-tree build.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1848
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
| |
This was already set up for common/, but not yet for app/.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1848
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1847
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the case that the collection ID configured on a remote is NULL the
repo metadata comes from the summary file. But if there's an error
fetching the summary in _flatpak_dir_get_remote_state() and then
flatpak_remote_state_ensure_metadata() is called, the
metadata_fetch_error variable will be NULL and "unknown error" will be
returned as the error message. This commit returns the
summary_fetch_error message in that case so the user gets a slightly
more helpful error message.
Some Endless computers in Africa have recently been hitting this code
path and printing "unknown error" messages.
Closes: #1844
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1851
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When the user runs with gid=X, but X doesn't have an entry in
/etc/groups, then a segmentation fault occured. This was happening
because flatpak-run.c didn't guard against a NULL pointer after calling
getgrgid() in flatpak_run_setup_base_argv.
Closes: #1850
Closes: #1851
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
| |
With the newly introduced generated sources in app/,
the (parallel) GNOME ci builds were failing. Add the
generated sources to BUILT_SOURCES to fix that. For
good measure, also add them to CLEAN_FILES.
Closes: #1843
Approved by: mwleeds
|
| | |
|
| |
|
|
|
| |
Closes: #1842
Approved by: mwleeds
|
| | |
|
| |
|
|
|
| |
Closes: #1841
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1841
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
RevokePermissions revokes permissions, not grants them.
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
This command removes all permissions for a given app
from the permission store.
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
This shows all the entries pertaining to a particular
app from the permission store.
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
This removes an item from the permission store.
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
This command dumps the content of the permission store
database(s).
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
| |
This commit generates the code for the permission
store interface. Subsequent commits will use it.
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
| |
This adds the xml interface definition for
org.freedesktop.impl.portal.PermissionStore.
Subsequent commits will use this interface.
Closes: #1837
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
ostree 2018.6 is in updates-testing now, use that.
Closes: #1840
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
Since we now are ok with no-xattrs this means we can run on tmpfs.
Closes: #1839
Approved by: alexlarsson
|
| |
|
|
|
|
|
| |
We don't require these anymore
Closes: #1839
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Include annotations:
org.freedesktop.appstream.appdata
org.freedesktop.appstream.icon-{64,128}
into OCI bundles. This not only makes the bundle self-describing, but also
if the bundle is imported into a registry, it becomes possible to browse
the registry and recreate an appstream by only retrieving the annotations
for relevant images, without having to download the actual images.
The icon annotations are formatted as data: URI's with base64 data. The idea
is that a server-side process to collect annotations could extract the icons
to separate storage and rewrite the URI's to remote URL's.
Closes: #1834
Approved by: alexlarsson
|
| |
|
|
|
| |
Closes: #1836
Approved by: alexlarsson
|
| |
|
|
|
|
|
|
|
| |
ostree_repo_copy_config() returns (transfer full).
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1831
Approved by: mwleeds
|
| | |
|
| | |
|