Repository navigation
chore(org.flatpark.Spawn): update to 0.2.0 - #1571
Merged
Merged
Conversation
Host config file with shims (commands VS Code's extension host and programs that look for a file first can find and run on the host), absolute paths under /usr, /bin, /lib forwarded, exec hooks safe after fork in threaded processes. Part of #1565.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the shared extension
org.flatpark.Spawnto flatpark-spawn 0.2.0. Part of #1565.What's new in 0.2.0
~/.config/flatpark-spawn/config.yaml, read on the host:use_login_shell_path,include_pathandexclude_pathdecide where commands are looked up;shimslists commands to put in every app'sPATHas links that run on the host.flatpark-spawn checkreports problems in the file. Without the file, nothing changes.LD_PRELOADbefore it starts its extension host and pty host, so the preload library never reaches the processes extensions run in. Programs like vscode-neovim also look for a command on disk before they run it. A shim covers both cases, e.g.shims: [nvim]./usr,/bin,/sbinor/lib*(e.g./usr/bin/nvim) now runs on the host instead of failing with ENOENT.flatpark-spawn checkis now a subcommand. Useflatpark-spawn -- checkto run a host command namedcheck.This PR: the pins and the metainfo release come from the entry's own
resolve-update.shpiped intoupdate-pins.mjs. They match flatpark-spawn's ownpackaging/and the release's SHA256SUMS/SIZES.Tested:
make, the unit tests andmake e2e(81/81 on freedesktop 26.08 and GNOME 51).shims: [nvim].audit-descriptor.mjs,test_shared_extensions.shandtest_registry.shpass.For testers of #1568: once this is merged and published,
flatpak updatebrings 0.2.0 to the extension already installed from FlatPark.