Repository navigation
Update libcosmic and take the detached spawn from cosmic-launch - #40
Merged
Merged
Conversation
libcosmic moved its process helpers into a crate of their own, cosmic-launch, and no longer re-exports them, so cosmic::process::spawn stopped resolving and the Dependabot updates of libcosmic and iced_test could not build. Opening a link now calls cosmic_launch::process::spawn, the same double fork that keeps the browser out of Keyloom's process tree. libcosmic already builds the crate for its desktop helpers, and the lockfile keeps it, libcosmic, and iced_test at one commit. libcosmic's own "process" feature no longer gates anything Keyloom uses, so it is dropped from the feature list.
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.
Moves libcosmic, iced_test, and the crates that come with them to libcosmic
dfc68d1, which is newer than thedd108aathat #35 and #36 propose. Those two could not build on their own, and both change the same lock entry, so this replaces them.Why they failed: libcosmic moved its process helpers into a new crate,
cosmic-launch, and no longer re-exports them, socosmic::process::spawn(used to open links) stopped resolving.The fix: Keyloom depends on
cosmic-launchfrom the same repository and callscosmic_launch::process::spawn, the same detached double fork as before. libcosmic already builds that crate for its desktop helpers. The now-unusedprocessfeature is dropped from libcosmic's feature list.Validation, run locally:
cargo fmt --all -- --checkcargo clippy --all-targets --all-features --locked -- -D warningscargo test --verbose --locked(352 passed, 23 ignored)cargo deny check advisories bans sourcescargo test --locked screenshots -- --ignored(18 passed); the removal dialog and a keyboard deck render as beforeNot checked: opening a link from the running app on a real desktop.