chore: shorter test asserts, vendored openssl, complete workflow overhaul#94
Merged
cococonscious merged 5 commits intomainfrom Sep 9, 2024
Merged
chore: shorter test asserts, vendored openssl, complete workflow overhaul#94cococonscious merged 5 commits intomainfrom
cococonscious merged 5 commits intomainfrom
Conversation
clippy warns about assert_eq that could be shortened to assert, which is now failing, so I had to fix it. Renovate will be used as a GitHub App, which is why there's no renovate GitHub workflow.
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
Merged
cococonscious
added a commit
that referenced
this pull request
Nov 26, 2024
## 🤖 New release * `koji`: 2.2.0 -> 3.0.0 (⚠️ API breaking changes) ###⚠️ `koji` breaking changes As koji is not a library, the information below is a bit irrelevant. The actual breaking change is the change of CLI arguments. ``` --- failure constructible_struct_adds_field: externally-constructible struct adds field --- Description: A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field. ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/constructible_struct_adds_field.ron Failed in: field ConfigArgs._user_config_path in /tmp/.tmpHS9YHR/koji/src/lib/config.rs:43 field ConfigArgs._current_dir in /tmp/.tmpHS9YHR/koji/src/lib/config.rs:44 --- failure function_parameter_count_changed: pub fn parameter count changed --- Description: A publicly-visible function now takes a different number of parameters. ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/function_parameter_count_changed.ron Failed in: koji::questions::create_prompt now takes 2 parameters instead of 3, in /tmp/.tmpHS9YHR/koji/src/lib/questions.rs:266 koji::commit::commit now takes 1 parameters instead of 6, in /tmp/.tmpHS9YHR/koji/src/lib/commit.rs:37 --- failure pub_module_level_const_missing: pub module-level const is missing --- Description: A public const is missing, renamed, or changed from const to static. ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/pub_module_level_const_missing.ron Failed in: Q_IS_BREAKING_CHANGE in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:21 Q_SUMMARY in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:19 Q_COMMIT_TYPE in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:17 Q_HAS_OPEN_ISSUE in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:22 Q_BODY in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:20 Q_SCOPE in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:18 Q_ISSUE_REFERENCE in file /tmp/.tmpIfvFCR/koji/src/lib/questions.rs:23 ``` <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [3.0.0](v2.2.0...v3.0.0) - 2024-11-26 ### Added - type filtering, multi-line body support ([#99](#99)) - breaking change footers ([#101](#101)) - [**breaking**] stage files, better args, deps ([#102](#102)) - add shell completions subcommand ([#106](#106)) - non-default vendored-openssl feature ([#98](#98)) - *(cargo)* add documentation and repository links ([#88](#88)) ### Changed - split test and coverage, deps ([#107](#107)) - shorter test asserts, vendored openssl, complete workflow overhaul ([#94](#94)) - *(readme)* better badges ([#100](#100)) - *(gitignore)* add intellij, vim, vscode and git ([#96](#96)) - update repository url, badges and license ([#93](#93)) - use asdf ### Fixed - *(autocomplete)* check for empty repo before revwalk ([#105](#105)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Finley Thomalla <[email protected]>
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.
The workflows are now based on release-plz for simplicity's sake.
cargo clippycomplained about the boolean test assertions, so I shortened them.As the build for Windows failed because of openssl, I removed the dependency and instead used the "vendored-openssl" feature of git2 instead, which seems to work great so far.
Additionally, I added myself to the package authors as I forgot to do it in the commit I did right after the transfer.