lp:~roguescholar/flatpak/+git/trunk

Owned by Peter J. Mello
Get this repository:
git clone https://git.launchpad.net/~roguescholar/flatpak/+git/trunk

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/flatpak/flatpak.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 50 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 50 seconds — see the log

Branches

Name Last Modified Last Commit
flatpak-1.10.x 2024-04-19 10:07:52 UTC
NEWS: Retroactively add 1.10.9 release date

Author: Simon McVittie
Author Date: 2024-04-19 10:05:35 UTC

NEWS: Retroactively add 1.10.9 release date

The release was prepared under embargo and it wasn't immediately obvious
which day it was going to be released, so I left out the release date
at the time.

Signed-off-by: Simon McVittie <smcv@collabora.com>

flatpak-1.12.x 2024-04-19 10:06:53 UTC
NEWS: Retroactively add 1.12.9 release date

Author: Simon McVittie
Author Date: 2024-04-19 10:05:35 UTC

NEWS: Retroactively add 1.12.9 release date

The release was prepared under embargo and it wasn't immediately obvious
which day it was going to be released, so I left out the release date
at the time.

Signed-off-by: Simon McVittie <smcv@collabora.com>

flatpak-1.14.x 2024-04-19 10:06:03 UTC
NEWS: Retroactively add 1.14.6 release date

Author: Simon McVittie
Author Date: 2024-04-19 10:05:35 UTC

NEWS: Retroactively add 1.14.6 release date

The release was prepared under embargo and it wasn't immediately obvious
which day it was going to be released, so I left out the release date
at the time.

Signed-off-by: Simon McVittie <smcv@collabora.com>

main 2024-04-19 10:05:35 UTC
NEWS: Retroactively add 1.15.8 release date

Author: Simon McVittie
Author Date: 2024-04-19 10:05:35 UTC

NEWS: Retroactively add 1.15.8 release date

The release was prepared under embargo and it wasn't immediately obvious
which day it was going to be released, so I left out the release date
at the time.

Signed-off-by: Simon McVittie <smcv@collabora.com>

pgriffis/no-ld-preload 2024-04-08 13:43:28 UTC
run: Don't inherit LD_PRELOAD/LD_AUDIT from the host

Author: Patrick Griffis
Author Date: 2024-04-04 21:41:52 UTC

run: Don't inherit LD_PRELOAD/LD_AUDIT from the host

I don't think this env var makes much sense to pass into the sandbox
for similar reasons to LD_LIBRARY_PATH. Libraries from the host
just aren't relevant.

Users can still pass `--env=LD_PRELOAD=/foo` to use this functionality.

pgriffis/show-changelog 2024-01-08 03:18:01 UTC
Add --show-changelog flag to flatpak-info

Author: Patrick Griffis
Author Date: 2024-01-08 03:18:01 UTC

Add --show-changelog flag to flatpak-info

This shows the latest changelog entry from the appstream data for
a given app.

export-commands 2023-05-03 11:39:28 UTC
Validate exported commands a bit

Author: Matthias Clasen
Author Date: 2023-05-03 11:35:27 UTC

Validate exported commands a bit

Avoid obvious nonsense.

pgriffis/subsets-info 2023-02-23 20:07:02 UTC
Show subset information on info and remote-info

Author: Patrick Griffis
Author Date: 2023-02-23 20:04:43 UTC

Show subset information on info and remote-info

appstreamcli-compose 2023-01-08 00:48:28 UTC
Merge branch 'main' into appstreamcli-compose

Author: Patrick
Author Date: 2023-01-08 00:48:28 UTC

Merge branch 'main' into appstreamcli-compose

wip/smcv/workflows 2022-11-17 19:04:51 UTC
meson: Extend timeout for test-oci-registry.sh

Author: Simon McVittie
Author Date: 2022-11-17 19:04:51 UTC

meson: Extend timeout for test-oci-registry.sh

This seems to be slower than usual when we're doing a `make distcheck`.

Signed-off-by: Simon McVittie <smcv@collabora.com>

mwleeds/GHSA-45jq-5658-v38x 2022-08-23 02:05:09 UTC
system-helper: Validate ref arg in RemoveLocalRef method

Author: Phaedrus Leeds
Author Date: 2022-07-24 01:10:24 UTC

system-helper: Validate ref arg in RemoveLocalRef method

This patch could be important in case the ref arg was maliciously
crafted to try to convince flatpak-system-helper to delete an arbitrary
file on the filesystem. However, in practice (a) recent versions of
libostree will not accept such a ref name which has e.g. "../" in it
thanks to https://github.com/ostreedev/ostree/pull/1286, and (b) even on
ancient versions of Flatpak that use a version of libostree without the
aforementioned patch, the exploit does not appear to be successful, at
least on Debian 9.

See https://github.com/flatpak/flatpak/security/advisories/GHSA-45jq-5658-v38x

update-readme-logo 2022-07-26 19:28:05 UTC
README: Use new Flatpak logo

Author: Phaedrus Leeds
Author Date: 2022-07-26 19:27:22 UTC

README: Use new Flatpak logo

See https://github.com/flatpak/flatpak.github.io/issues/537

mwleeds/cli-msg-use-bold-more 2022-07-26 03:23:28 UTC
app: Use bold_on/bold_off variables for consistency/clarity

Author: Phaedrus Leeds
Author Date: 2022-07-26 02:45:02 UTC

app: Use bold_on/bold_off variables for consistency/clarity

mwleeds/fuzzy-matching-improvements 2022-07-26 02:19:29 UTC
run: Implement fuzzy ref matching and alias support

Author: Phaedrus Leeds
Author Date: 2022-04-10 03:41:50 UTC

run: Implement fuzzy ref matching and alias support

We've had the feature for a long time that allows you to use a substring
instead of a full app ID in the install and uninstall commands. The only
reason I didn't add it to the run command back then was that I wasn't
sure it was ok to add interactive prompts to flatpak-run (it is often
invoked by other programs rather than users directly). But in fact we
already have a prompt in case there's ambiguity about which branch to
use; this commit just repurposes that to also address ambiguity about
which ref to use.

Long story short, this allows you to do "flatpak run firefox" instead of
"flatpak run org.mozilla.firefox".

As discussed in #4848, we let the user avoid needing to respond to a
prompt every time by letting them save the alias (trust-on-first-use).
The aliases can be added, removed, or viewed with the separate alias
command.

Helps: #1258

bump-glib-dependency 2022-06-13 16:36:44 UTC
Bump glib requirement to 2.46 (from 2.44)

Author: Alexander Larsson
Author Date: 2022-06-13 16:32:13 UTC

Bump glib requirement to 2.46 (from 2.44)

Since we switched to libappstream we really have an implicit dependency
on this, as there are no versions of it building with glib earlier
than 2.46.

This isn't dropping a lot of old code, but at least it is more truthful
about our actual dependencies.

fix-slow-tests 2022-06-13 10:54:16 UTC
main: Don't install polkit agent when running in tests, fixing slowness.

Author: Alexander Larsson
Author Date: 2022-06-13 10:54:16 UTC

main: Don't install polkit agent when running in tests, fixing slowness.

In the tests we don't use a systemwide helper anyway, so the polkit
stuff is unnecessary. Also, for some reason this was taking a very
long time for me, causing the tests to be super slow.

flatpak-1.8.x 2022-02-05 17:03:58 UTC
Update Polish translation

Author: Piotr Drąg
Author Date: 2022-02-05 11:56:57 UTC

Update Polish translation

flatpak-1.2.x 2022-01-17 10:44:08 UTC
Use system copy of xdg-dbus-proxy for build-time tests if configured

Author: Simon McVittie
Author Date: 2019-04-12 17:24:39 UTC

Use system copy of xdg-dbus-proxy for build-time tests if configured

This follows the same logic as the system bwrap.

Otherwise, build-time tests will fail when we are using a system
xdg-dbus-proxy and not compiling our own (the symptom is that testlibrary
hangs).

Signed-off-by: Simon McVittie <smcv@collabora.com>

Closes: #2823
Approved by: matthiasclasen

(cherry picked from commit 8115489116aa85ec848318782cdb6c49400aaaf9)

new-home-host-all-perms 2022-01-14 15:14:57 UTC
FlatpakContext: Add new filesystem flag "all" to mean recursive negation

Author: Alexander Larsson
Author Date: 2022-01-14 15:14:57 UTC

FlatpakContext: Add new filesystem flag "all" to mean recursive negation

This new flag gets set for overrides with filesystems that have
"!home:all" or "!host:all", or commandline args
"--nofilesystem=home:all" or "--nofilesystem=host:all". Then it
changes the new recursive permission dropping to only affect
filesystems with the flag set.

The regular !home now behaves as it did before the recent change
allowing existing behaviour change. The new syntax for the overrides
file is ignored (except for a warning) by older versions of flatpak.
However, even the warning is unlikely to happen because the :all
overrides are really not useful in app permissions themselves
but rather only in overrides (in file or cli), so they are not
likely to be seen unless you update flatpak and manually use them.

With this change we need to change flatpak-builder to use
--nofilesystem=host:all for more recent versions of flatpak to fix
the security issue.

wip/pgriffis/no-a11y-filtering 2021-12-20 22:04:07 UTC
run: Add --no-a11y-filtering arg

Author: Patrick Griffis
Author Date: 2021-12-20 22:00:26 UTC

run: Add --no-a11y-filtering arg

This allows bypassing all filtering for the a11y bus. This is only
intended for testing and not regular use which is why it is only
an argument and not a permission.

fix-libflatpak-docs-build 2021-11-19 02:38:22 UTC
doc: Fix build of libflatpak-docs.html

Author: Phaedrus Leeds
Author Date: 2021-11-19 02:38:22 UTC

doc: Fix build of libflatpak-docs.html

valgrind-check-for-leaks 2021-11-16 00:13:42 UTC
tests: Update glib.supp for GLib 2.64.6

Author: Phaedrus Leeds
Author Date: 2021-11-16 00:13:42 UTC

tests: Update glib.supp for GLib 2.64.6

make-valgrind-check-manual 2021-11-13 02:40:03 UTC
CI: Move valgrind to a manual job

Author: Phaedrus Leeds
Author Date: 2021-11-13 02:40:03 UTC

CI: Move valgrind to a manual job

It seems a bit overzealous to run this 6 hour job on every single push
to every PR and branch, so make it a manually triggered check.

add-skip-ci-mechanism 2021-11-08 20:33:05 UTC
ci: Add mechanism for skipping [ci skip]

Author: Phaedrus Leeds
Author Date: 2021-11-08 20:06:47 UTC

ci: Add mechanism for skipping [ci skip]

Now we can add [skip ci] to a commit message to skip CI when it's not
needed, to avoid wasting resources. Thanks
https://github.com/veggiemonk/skip-commit/issues/5

fix-4200-configure-polkit-prompt 2021-10-26 22:34:29 UTC
system-helper: Avoid most polkit prompts for pinning

Author: Phaedrus Leeds
Author Date: 2021-10-26 22:19:21 UTC

system-helper: Avoid most polkit prompts for pinning

Currently if the user instructs Flatpak to install a runtime into the
system installation, they are prompted with a polkit dialog saying
"Authentication is required to configure software installation". This is
because we automatically "pin" runtimes that are explicitly installed so
they are not automatically removed. But it is not correct to prompt the
user for authorization, since (a) the runtime install operation itself
is what they initiated, so it's confusing for the prompt to be for
something else, and (b) there are not usually prompts anyway for runtime
install operations when the user is in the privileged group (e.g. sudo),
and (c) the pinning of the runtime is not a particularly security
sensitive configuration option.

This commit shows one way to fix this bug, by avoiding the polkit prompt
in case the user is in the privileged group and in a local active
session, the same conditions used to skip prompts for runtime
installation. However one can argue this is not a great solution as it
still allows the possibility the user would be prompted for this action
in case they don't meet the aforementioned conditions. So I'll propose
another solution as a separate PR.

Unfortunately this is difficult to add a unit test for, since the
system-helper service that runs for the test suite doesn't do polkit
checks; see flatpak_authorize_method_handler()

Fixes #4200

pgriffis/gtk-theme-name-mapping 2021-08-11 17:59:02 UTC
Handle GTK themes with . in their name by replacing . with _

Author: Patrick Griffis
Author Date: 2021-08-11 17:56:40 UTC

Handle GTK themes with . in their name by replacing . with _
Having a . in a theme name currently makes it impossible to package
because extension points use . for separators. Instead we can just
map those to _ and package them under that name.

faster-prune 2021-04-26 07:40:21 UTC
tests: Add test for the flatpak prune implementation

Author: Alexander Larsson
Author Date: 2021-04-23 09:33:06 UTC

tests: Add test for the flatpak prune implementation

wip/smcv/revert-4076 2021-03-17 14:09:24 UTC
Revert "flatpak-utils-http: Don’t use GMainLoop"

Author: Simon McVittie
Author Date: 2021-03-17 14:05:36 UTC

Revert "flatpak-utils-http: Don’t use GMainLoop"

This reverts commit c1561b1dedfbf98b2efb842ee66165421ab1422b,
which seems to trigger a hang in the
test-oci-registry@system.wrap test-case.

Signed-off-by: Simon McVittie <smcv@collabora.com>

wip/hadess/yacc-warnings 2021-03-03 14:56:04 UTC
app: Fix deprecation warning

Author: Bastien Nocera
Author Date: 2021-03-03 14:52:35 UTC

app: Fix deprecation warning

The "new way" is supported since at least 2010 (!).

app/parse-datetime.y:302.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
  302 | %pure-parser
      | ^~~~~~~~~~~~
      | %define api.pure

wip/hadess/fix-no-utf8-support 2021-02-23 12:33:06 UTC
common: Fix Spawn portal method not working with UTF-8 files

Author: Bastien Nocera
Author Date: 2021-02-23 12:33:06 UTC

common: Fix Spawn portal method not working with UTF-8 files

When the portal's Spawn method is used with the environment cleared,
it's very likely that the "flatpak run" that ends up being run will be
in an environment without UTF-8 support.

If one of the files or directories we try to expose to the sub-sandbox
contains UTF-8/non-ASCII characters, then "flatpak run" would fail with:
error: Invalid byte sequence in conversion input

This is caused by GOption trying to parse the --filesystem option for
flatpak, as, when using the G_OPTION_ARG_CALLBACK argument type, GOption
will split the option name from its value, and try to convert the value
to UTF-8. Which will fail because there's no UTF-8.

It won't however do that if we tell the option parser that the value is
a filename using G_OPTION_FLAG_FILENAME, so set it.

T30368-upstream 2020-10-15 22:24:32 UTC
Make listing refs work for sideload repos

Author: Phaedrus Leeds
Author Date: 2020-10-08 01:01:09 UTC

Make listing refs work for sideload repos

This commit makes
flatpak_installation_list_remote_refs_sync() work for local URIs
pointing at sideload repos, e.g.
"file:///media/mwleeds/flatpaks/.ostree/repo" where a command "flatpak
create-usb /media/mwleeds/flatpaks ..." was previously run. This is
important because the Endless fork of gnome-software uses that API to
list apps on a USB drive. The API worked before Flatpak 1.7.1 so making
it work again basically involves reverting parts of
336a127f5515f69c7d5c6aa7943076035c59bf84.

This commit also makes the remote-ls command work for file:// URIs to
sideload repos, which is useful behavior for debugging, and is also the
behavior mentioned in this blog post:
https://blogs.gnome.org/mclasen/2018/08/26/about-flatpak-installations/

auto-remove-unused 2020-08-31 16:14:47 UTC
app: Remove EOL unused runtimes in update command

Author: Phaedrus Leeds
Author Date: 2020-08-24 14:49:26 UTC

app: Remove EOL unused runtimes in update command

In case a runtime becomes unused and then later becomes End-Of-Life, it
is currently not removed. So this commit removes such runtimes in the
update command, as discussed in #2639. A unit test is included.

I am planning to propose to use the FlatpakTransaction API added here in
gnome-software, so that users don't have to use the CLI at all for
runtimes to be cleaned up. KDE Discover already removes unused runtimes
periodically.

flatpak-1.6.x 2020-07-09 08:49:49 UTC
Merge pull request #3731 from flatpak/fix-1.6.x

Author: Philip Withnall
Author Date: 2020-07-09 08:49:49 UTC

Merge pull request #3731 from flatpak/fix-1.6.x

Fix flatpak-1.6.x branch to contain 1.6.5

barthalion/copy-icons-symlinks 2020-06-02 09:52:56 UTC
utils: Resolve symlinks in copy_icon()

Author: Bartłomiej Piotrowski
Author Date: 2020-06-02 09:48:18 UTC

utils: Resolve symlinks in copy_icon()

When app-info contains a symlink ${ID}.png pointing to actual
icon file, copy the target instead of storing invalid symbolic
link.

flatpak-progress-before-p2p-drop 2020-03-23 05:39:52 UTC
Add a FlatpakProgress object

Author: Abderrahim Kitouni
Author Date: 2020-03-21 19:30:17 UTC

Add a FlatpakProgress object

To avoid the complexities of passing (and chaining) OstreeAsyncProgress
objects around, we only create one just before calling to ostree.
The rest of flatpak only ever uses the new FlatpakProgress object.

Co-authored by: Philip Chimento <philip@endlessm.com>

flatpak-1.4.x 2020-02-14 10:38:58 UTC
Update pofiles for release

Author: Alexander Larsson
Author Date: 2020-02-14 10:38:58 UTC

Update pofiles for release

wip/WSL 2019-10-20 23:14:40 UTC
Merge pull request #3183 from Virakal/patch-1

Author: Matthew Leeds
Author Date: 2019-10-20 23:14:40 UTC

Merge pull request #3183 from Virakal/patch-1

Minor documentation typo fix

wip/tingping/eula-metadata 2019-09-24 21:39:18 UTC
WIP: Show EULA metadata at install time

Author: TingPing
Author Date: 2019-09-24 21:39:18 UTC

WIP: Show EULA metadata at install time

flatpak-1.0.x 2019-09-19 13:20:15 UTC
Update pofiles for release

Author: Alexander Larsson
Author Date: 2019-09-19 13:20:15 UTC

Update pofiles for release

fix-uninstall-unused-versions 2019-09-10 13:59:09 UTC
Handle 'versions' key when finding local related ref

Author: Alexander Larsson
Author Date: 2019-09-10 13:57:04 UTC

Handle 'versions' key when finding local related ref

We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes https://github.com/flatpak/flatpak/issues/3004

wip/oci-labels 2019-09-03 14:06:06 UTC
tests: Add tests for oci registries using labels instead of annotations

Author: Alexander Larsson
Author Date: 2019-09-03 14:06:06 UTC

tests: Add tests for oci registries using labels instead of annotations

gh-pages-archived 2018-08-27 12:11:36 UTC
Update docs to v1.0.0

Author: Will Thompson
Author Date: 2018-08-22 15:03:11 UTC

Update docs to v1.0.0

flatpak-0.10.x 2018-05-30 02:02:08 UTC
.gitmodules: Update libglnx URL

Author: Matthew Leeds
Author Date: 2018-05-30 01:51:51 UTC

.gitmodules: Update libglnx URL

flatpak-0.8.x 2018-01-30 13:49:06 UTC
Update pofiles

Author: Alexander Larsson
Author Date: 2018-01-30 13:49:06 UTC

Update pofiles

release-0.9.99 2017-10-09 10:44:15 UTC
update pofiles

Author: Alexander Larsson
Author Date: 2017-10-09 10:44:15 UTC

update pofiles

145 of 45 results
This repository contains Public information 
Everyone can see this information.

Subscribers