Repository navigation
Review fixes: plugin permissions and shutdown, shell fallback, safer installs, CI - #13
Merged
Merged
Conversation
…installs, CI new-tab and split with run now need the Input permission as well as Panes. A stopped plugin is cut off at once, runs in its own process group, and is killed if it ignores being asked to stop. A shell that can't be started falls back to /bin/sh and says why instead of aborting. Installs and approvals report write errors and leave the old version if the new one can't be turned on. Registry downloads and archives have size and file-count limits. CI runs Clippy and the Rust and Python tests on pull requests and pushes. proc-macro-error2 is gone from the dependency tree, the Python package's version is written once, and the docs agree on the number of built-in plugins and on notarisation.
rustfmt.toml sets a 120-column width. No behaviour changes: the same 258 tests pass before and after.
The unpacked-size limit read sizes from tar's listing, where they follow the owner's name. An archive could pick a name with spaces in it to move the size out of place, and was then written to disk in full before being refused. Tar now unpacks to a pipe first and the bytes are counted, so nothing is written past the limit.
APFS refuses a file name that isn't UTF-8, so the theme folder test only checks one where it could be made. BSD script takes the command after the file, not with -c.
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.
Fixes from a code review of 1.3.1, a formatting pass, and what the new CI turned up. Five commits: the fixes first, then
cargo fmton its own so the first one stays readable, then three small follow-ups.Plugins
new-tabandsplitwithruntype a command into a shell, so they now need the Input permission as well as Panes.Shell
/bin/shruns in its place and says why.Housekeeping
proc-macro-error2is gone from the dependency tree, which clears the future-incompatibility warning.lumen_plugin/__init__.py.rustfmt.toml(120 columns) and a reformat ofsrc/. No behaviour changes.macOS, found by the first CI run there
scriptwith util-linux arguments. Both now run on macOS.CI passes on Linux and macOS: 259 Rust tests and 29 Python tests. Not done here: splitting up
workspace.rs, pinning the Rust toolchain, and theblock 0.1.6future-incompatibility warning on macOS.