Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev sync to main for 0.2.0 #28

Merged
merged 55 commits into from
Dec 26, 2024
Merged

Dev sync to main for 0.2.0 #28

merged 55 commits into from
Dec 26, 2024

Conversation

crazyscot
Copy link
Owner

No description provided.

crazyscot and others added 30 commits November 3, 2024 09:49
… at build time

- always set BUILT_DEB_FILE to silence a warning
- make better use of BUILT_DEB_FILE
- set RUST_BACKTRACE at build time
- don't upload a deb in release workflow unless the matrix is configured to build one
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.16 to 0.23.18.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](rustls/rustls@v/0.23.16...v/0.23.18)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# Conflicts:
#	.github/workflows/release.yml
- initial file format is TOML
- lots of refactoring, most notably the CLI argument structures
- added CLI options `--show-config` and `--config-files`
- renamed CLI options --ipv4, --ipv6 to --address-family 4|6  (short
  args `-4` and `-6` unchanged)
- Correctly propagate the AddressFamily resulting from the DNS lookup down to the ssh subprocess.
- remove duplicated remote_host argument from Channel::transact, extract it from Parameters iunstead
- tidy up Channel::transact arguments, remove unused try_from<&CliArgs> for CopyJobSpec
- README.md: add notes on limitations, move most of Contributing out to its own file
- CONTRIBUTING.md: created
- lib.rs: add MSRV policy
- troubleshooting.rs: add ssh note
- use consistent styling
- use consts and lazy statics instead of factories
- we can't help where crates pull in other dependencies, but we can
at least align our own use
…messages

* Supported time formats: local, utc, rfc3339
* On the CLI: --time-format rfc3339
* In the configuration: time_format="rfc3339"
This fixes some sunspots introduced by configuration
- use split-debuginfo="unpacked"
- add notes about setting up a local cargo config to use mold
use dirs instead of etcetera to remove a crate dependency
Use that instead of ssh2_config.
This adds support for include directives.
- Parser returns a HostConfiguration struct, which is a figment::Provider
- make it clear that you can only use Parser once
- extract arbitrary types from ssh config files
  - Use extract_lossy() to allow strings to coerce to ints and bools
  - Use figment Profile to specify that this is for a given host
- consolidate and deduplicate pretty-printing code in manager
- provide config source information
- improve config error output
  - add a newtype wrapper for figment::Error with custom Display
  - custom display for figment::error::Kind
- split up ssh.rs into component parts for readability
- merge Manager::default and Manager::empty
- rename Manager::new -> standard
- hide Manager::without_files() behind cfg(test)
…Host

- Update error message output to suit
- --show-config outputs settings for the job where possible
  - This overhauled DisplayAdapter::fmt()
  - Tweak source display for values read from files
  - add cli_beats_config_file test
- remove toml scaffolding
- update config module docs for file format
- AddressFamily
- - rename enum variants to Inet / Inet6 / Any
- - serialize as "inet4" / "inet6" to align with ssh config
- - accept aliases "4" / "6"
- - no need to use IntOrString now we've changed config file format
- PortRange
- - no need to deserialise via IntOrString
- - drop From<u64>
- - derive Default
- HumanU64
- - no need to deserialize from IntOrString
- - ser/de as string for now
- drop IntOrString as no longer used
- Allow fields in config files to be specified in randomised case,
including snake or kebab.
- Render fields in CamelCase to make the human experience closer to ssh.
- Parse enums case insensitively
@crazyscot crazyscot merged commit 2f802f3 into main Dec 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant