-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix warning highlight for trailing whitespace #1037
Conversation
11139fc
to
89d8130
Compare
Thanks for this! I noticed the feature missing when I got a warning from A couple of notes regarding differences with
would print red at the end.
That being said, it works for me™ and code doesn't look obviously bad to me. |
89d8130
to
1b3f81a
Compare
I updated the CL to take this into account ! thanks for pointing it out. There is now a new test with this specific setup.
Not sure how to do that with current implementation, as all the |
if this PR is stale, i'd love to take it and complete it, i truely need this feature to make proper reviews 😌 |
the PR works but there are just conflicts to solve 😋 also i'd say that maybe having the addition whitespaces in green and the removal whitespaces in red would look a bit better rather than all red? 😊 |
@wescande I'm very sorry I didn't give this work proper attention when you did it. I think there are two factors: (1) it arrived at a time when I had a new job and (2) it's a pretty technical area and for some reason I hadn't noticed problems with whitespace highlighting. Hi @amtoine, very nice to see you here! Unless @wescande wants to work on this then it would be fantastic if you could finalize this work. I'd like to suggest a path forwards.
What do you think? |
87f2096
to
95237c2
Compare
Hi Hi @amtoine , I rebased the PR in order to solve the merge conflict in Because of that, I am no longer able to run the
For me it no longer works (cf above picture). Did you do some more change ?
If Dan think it is a good idea why not, but I think atomic change are better and therefore it should not be done in this PR.
Please feel free to do so 🙏 Hi @dandavison, I am not sure I understand your concern. There are test added with the PR that cannot pass without it (even with it they do not pass anymore 😭 ). What would be the value of adding the test separately ? The behavior is well explained in the first picture, and can be summarized in "trailing whitespace does not appear as an error".
Does not display the 2 spaces at the end of bar as an error. |
A few hours laters... Current patch still fail I'll have a look at the empty line now |
12e3186
to
e825a4f
Compare
And done ✔️ ! I fixed the I fixed the last test_whitespace_complex_error and added yet another test related to empty line whitespace. This actually made me realize I could simplify the logic and remove the temporary vec storage Unrelated: |
@wescande
ohh yes of course 👍
but it's not always an error, right?
i could not find anything in the again, thanks for taking this after all this time, i think it's a truely important feature 😌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for working on this @wescande! It's a really obscure part of the codebase and I've asked a couple of questions about the changed non-test code.
I do not know :/
@amtoine I do recommend using
Some test of this PR are using |
@dandavison |
@wescande there's a couple of questions here that I'd love to get your answers to while this is still fresh in your brain. But other than that I'm ready to ship this and get it in the next release. |
fe6411b
to
684bbd1
Compare
Sorry, github notification are not appearing in my main mail box and I missed your comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic, thanks very much for this work @wescande!
@dandavison when will this go in the next release? 😏 |
I was hoping to get ripgrep-format output into the next release: #1410 |
gotcha, just to have an idea 😌 for the time being, i've compiled from source and it works like a charm so far 🤩 |
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [alajmo/mani](https://github.com/alajmo/mani) | minor | `v0.23.0` -> `v0.25.0` | | [aquaproj/aqua-registry](https://github.com/aquaproj/aqua-registry) | minor | `v4.6.0` -> `v4.17.0` | | [cli/cli](https://github.com/cli/cli) | minor | `v2.29.0` -> `v2.30.0` | | [dandavison/delta](https://github.com/dandavison/delta) | minor | `0.15.1` -> `0.16.5` | | [direnv/direnv](https://github.com/direnv/direnv) | patch | `v2.32.2` -> `v2.32.3` | | [fluxcd/flux2](https://github.com/fluxcd/flux2) | patch | `v2.0.0-rc.3` -> `v2.0.0-rc.5` | | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | minor | `v1.52.2` -> `v1.53.2` | | [junegunn/fzf](https://github.com/junegunn/fzf) | minor | `0.40.0` -> `0.41.1` | | [starship/starship](https://github.com/starship/starship) | minor | `v1.14.2` -> `v1.15.0` | | [twpayne/chezmoi](https://github.com/twpayne/chezmoi) | minor | `v2.33.6` -> `v2.34.1` | | [weaveworks/eksctl](https://github.com/weaveworks/eksctl) | minor | `v0.141.0` -> `v0.144.0` | --- ### Release Notes <details> <summary>alajmo/mani</summary> ### [`v0.25.0`](https://github.com/alajmo/mani/releases/tag/v0.25.0) [Compare Source](https://github.com/alajmo/mani/compare/v0.24.0...v0.25.0) ##### Features - Add more box styles to table and tree output ##### Misc - Update golang to 1.20.0 ### [`v0.24.0`](https://github.com/alajmo/mani/releases/tag/v0.24.0) [Compare Source](https://github.com/alajmo/mani/compare/v0.23.0...v0.24.0) ##### Features - Add ability to create/sync remotes </details> <details> <summary>aquaproj/aqua-registry</summary> ### [`v4.17.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.17.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.16.0...v4.17.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.17.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.17.0) | https://github.com/aquaproj/aqua-registry/compare/v4.16.0...v4.17.0 #### 🎉 New Packages [#​12976](https://github.com/aquaproj/aqua-registry/issues/12976) [knadh/listmonk](https://github.com/knadh/listmonk): High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app [#​13007](https://github.com/aquaproj/aqua-registry/issues/13007) [koki-develop/gat](https://github.com/koki-develop/gat): cat alternative written in Go [#​13010](https://github.com/aquaproj/aqua-registry/issues/13010) [ktock/container2wasm](https://github.com/ktock/container2wasm): Container to WASM converter [#​12964](https://github.com/aquaproj/aqua-registry/issues/12964) [terramate-io/terramate](https://github.com/terramate-io/terramate): Terramate adds powerful capabilities such as code generation, stacks, orchestration, change detection, data sharing and more to Terraform ### [`v4.16.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.16.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.15.0...v4.16.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.16.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.16.0) | https://github.com/aquaproj/aqua-registry/compare/v4.15.0...v4.16.0 #### 🎉 New Packages [#​12958](https://github.com/aquaproj/aqua-registry/issues/12958) [caarlos0/svu](https://github.com/caarlos0/svu): Semantic Version Util #### Fixes [#​12900](https://github.com/aquaproj/aqua-registry/issues/12900) loeffel-io/ls-lint: Fix `files` Follow up [#​12669](https://github.com/aquaproj/aqua-registry/issues/12669) [#​12874](https://github.com/aquaproj/aqua-registry/issues/12874) goreleaser/nfpm: Support old versions ### [`v4.15.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.15.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.14.1...v4.15.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.15.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.15.0) | https://github.com/aquaproj/aqua-registry/compare/v4.14.1...v4.15.0 #### 🎉 New Packages [#​12853](https://github.com/aquaproj/aqua-registry/issues/12853) [datarootsio/tf-profile](https://github.com/datarootsio/tf-profile): CLI tool to profile Terraform runs, written in Go [@​ponkio-o](https://github.com/ponkio-o) #### Fixes [#​12814](https://github.com/aquaproj/aqua-registry/issues/12814) soywod/himalaya: Follow up changes of himalaya v0.8.0 https://github.com/soywod/himalaya/releases/tag/v0.8.0 > Changed release archive extensions from .tar.gz to .tgz. ### [`v4.14.1`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.14.1) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.14.0...v4.14.1) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.14.1) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.14.1) | https://github.com/aquaproj/aqua-registry/compare/v4.14.0...v4.14.1 #### Fixes [#​12805](https://github.com/aquaproj/aqua-registry/issues/12805) google/go-jsonnet: Add commands `jsonnet-lint` and `jsonnet-deps` [@​zephyros-dev](https://github.com/zephyros-dev) https://github.com/google/jsonnet/releases/tag/v0.20.0 > jsonnet-go specific updates: > jsonnet-deps and jsonnet-lint are now included in releases [#​12806](https://github.com/aquaproj/aqua-registry/issues/12806) google/go-jsonnet: Fix configuration by `aqua-registry scaffold --deep google/go-jsonnet` ### [`v4.14.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.14.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.13.0...v4.14.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.14.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.14.0) | https://github.com/aquaproj/aqua-registry/compare/v4.13.0...v4.14.0 #### 🎉 New Packages [#​12801](https://github.com/aquaproj/aqua-registry/issues/12801) [sourcegraph/src-cli](https://github.com/sourcegraph/src-cli): Sourcegraph CLI #### Fixes [#​12804](https://github.com/aquaproj/aqua-registry/issues/12804) cloudquery/cloudquery [#​12802](https://github.com/aquaproj/aqua-registry/issues/12802) dandavison/delta: Follow up changes of delta 0.16.4 https://github.com/dandavison/delta/releases/tag/0.16.4 > This release does not contain binaries for x86\_64-unknown-linux-musl, i686-unknown-linux-gnu, arm-unknown-linux-gnueabihf, or aarch64-unknown-linux-gnu because the cross-compilation GitHub Actions jobs were broken at the time of release. I'll issue a follow-up release including them when that's fixed. ### [`v4.13.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.13.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.12.0...v4.13.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.13.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.13.0) | https://github.com/aquaproj/aqua-registry/compare/v4.12.0...v4.13.0 #### 🎉 New Packages [#​12673](https://github.com/aquaproj/aqua-registry/issues/12673) [crates.io/fw](https://github.com/brocode/fw): faster workspace management #### Fixes [#​12771](https://github.com/aquaproj/aqua-registry/issues/12771) exoscale/cli: Follow up changes of exo v1.70.0 https://github.com/exoscale/cli/blob/v1.70.0/CHANGELOG.md#improvements > Update MacOS compiled unified binary name to be inline with others - [https://github.com/exoscale/cli/pull/517](https://github.com/exoscale/cli/pull/517) ### [`v4.12.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.12.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.11.0...v4.12.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.12.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.12.0) | https://github.com/aquaproj/aqua-registry/compare/v4.11.0...v4.12.0 #### 🎉 New Packages [#​12668](https://github.com/aquaproj/aqua-registry/issues/12668) [k1LoW/gh-do](https://github.com/k1LoW/gh-do): gh-do is a tool to do anything using GitHub credentials [#​12669](https://github.com/aquaproj/aqua-registry/issues/12669) [loeffel-io/ls-lint](https://github.com/loeffel-io/ls-lint): An extremely fast directory and filename linter - Bring some structure to your project filesystem [@​ponkio-o](https://github.com/ponkio-o) ### [`v4.11.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.11.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.10.1...v4.11.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.11.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.11.0) | https://github.com/aquaproj/aqua-registry/compare/v4.10.1...v4.11.0 #### 🎉 New Packages [#​12613](https://github.com/aquaproj/aqua-registry/issues/12613) [tree-sitter/tree-sitter](https://github.com/tree-sitter/tree-sitter): An incremental parsing system for programming tools [@​CrystalMethod](https://github.com/CrystalMethod) ### [`v4.10.1`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.10.1) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.10.0...v4.10.1) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.10.1) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.10.1) | https://github.com/aquaproj/aqua-registry/compare/v4.10.0...v4.10.1 #### Fixes [#​12590](https://github.com/aquaproj/aqua-registry/issues/12590) docker/cli [#​12594](https://github.com/aquaproj/aqua-registry/issues/12594) gotestyourself/gotestsum [#​12593](https://github.com/aquaproj/aqua-registry/issues/12593) hidetatz/kubecolor: Exclude Windows https://github.com/hidetatz/kubecolor/commit/30802265cfd3819d8fc771edaf5dae353cf15f17 [#​12591](https://github.com/aquaproj/aqua-registry/issues/12591) kubeshark/kubeshark [#​12592](https://github.com/aquaproj/aqua-registry/issues/12592) yamafaktory/jql ### [`v4.10.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.10.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.9.0...v4.10.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.10.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.10.0) | https://github.com/aquaproj/aqua-registry/compare/v4.9.0...v4.10.0 #### 🎉 New Packages [#​12379](https://github.com/aquaproj/aqua-registry/issues/12379) [aquaproj/aqua-registry-updater](https://github.com/aquaproj/aqua-registry-updater): Renovate alternative specific to aqua-registry. Overcome Renovate's scalability issue [#​12558](https://github.com/aquaproj/aqua-registry/issues/12558) [charmbracelet/mods](https://github.com/charmbracelet/mods): AI on the command line [@​sheldonhull](https://github.com/sheldonhull) [#​12378](https://github.com/aquaproj/aqua-registry/issues/12378) [matryer/moq](https://github.com/matryer/moq): Interface mocking tool for go generate #### Others [#​12221](https://github.com/aquaproj/aqua-registry/issues/12221) Introduced [aqua-registry-updater](https://github.com/aquaproj/aqua-registry-updater) instead of Renovate to update packages continuously aqua-registry has too many aqua packages for Whitesource Renovate to work well. We tuned Renovate configuration, but we couldn't solve the issue completely. Renovate called many GitHub API unnecessarily. We thought it was difficult to solve the issue by Renovate because - Renovate was complicated - Renovate's specification was unclear - Renovate outputted many logs so it was bothersome to read logs - Renovate log wasn't so helpful to solve the issue at this time - The issue was an edge case for Renovate, so the same issue wouldn't occur in others. So we couldn't expect Renovate was updated to solve the issue And we thought it wasn't so difficult to develop a tool to update aqua packages, so we decided to develop aqua-registry-updater instead of Renovate. aqua-registry-updater works well and solves the issue. ### [`v4.9.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.9.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.8.1...v4.9.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.9.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.9.0) | https://github.com/aquaproj/aqua-registry/compare/v4.8.0...v4.9.0 #### 🎉 New Packages [#​12361](https://github.com/aquaproj/aqua-registry/issues/12361) [kubernetes-sigs/zeitgeist](https://github.com/kubernetes-sigs/zeitgeist): Zeitgeist: the language-agnostic dependency checker [#​12371](https://github.com/aquaproj/aqua-registry/issues/12371) [shihanng/tfvar](https://github.com/shihanng/tfvar): Terraform's variable definitions template generator [#​12352](https://github.com/aquaproj/aqua-registry/issues/12352) [utkuozdemir/pv-migrate](https://github.com/utkuozdemir/pv-migrate): CLI tool to easily migrate Kubernetes persistent volumes [@​ponkio-o](https://github.com/ponkio-o) ### [`v4.8.1`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.8.1) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.8.0...v4.8.1) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.8.1) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.8.1) | https://github.com/aquaproj/aqua-registry/compare/v4.8.0...v4.8.1 #### Fixes [#​12344](https://github.com/aquaproj/aqua-registry/issues/12344) orf/gping: Follow up changes of gping-v1.11.0 ### [`v4.8.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.8.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.7.0...v4.8.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.8.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.8.0) | https://github.com/aquaproj/aqua-registry/compare/v4.7.0...v4.8.0 #### 🎉 New Packages [#​12314](https://github.com/aquaproj/aqua-registry/issues/12314) [crates.io/skim](https://github.com/crates.io/skim): Fuzzy Finder in rust! `aqua >= v2.8.0` [#​12314](https://github.com/aquaproj/aqua-registry/issues/12314) [crates.io/broot](https://dystroy.org/broot): A new file manager `aqua >= v2.8.0` #### Fixes [#​12325](https://github.com/aquaproj/aqua-registry/issues/12325) Byron/dua-cli: Update settings by `aqua-registry scaffold --deep` ### [`v4.7.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.7.0) [Compare Source](https://github.com/aquaproj/aqua-registry/compare/v4.6.0...v4.7.0) [Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.7.0) | [Pull Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.7.0) | https://github.com/aquaproj/aqua-registry/compare/v4.6.0...v4.7.0 #### Fixes [#​12220](https://github.com/aquaproj/aqua-registry/issues/12220) bep/s3deploy: Support PKG format. aqua >= v2.7.1 [#​12291](https://github.com/aquaproj/aqua-registry/issues/12291) charmbracelet/vhs: Follow up changes of vhs v0.5.0 </details> <details> <summary>cli/cli</summary> ### [`v2.30.0`](https://github.com/cli/cli/releases/tag/v2.30.0): GitHub CLI 2.30.0 [Compare Source](https://github.com/cli/cli/compare/v2.29.0...v2.30.0) #### What's New - Support for nested aliases by [@​samcoe](https://github.com/samcoe) in [https://github.com/cli/cli/pull/7457](https://github.com/cli/cli/pull/7457) - `repo set-default --view` can now be called without a repo argument by [@​Jackenmen](https://github.com/Jackenmen) in [https://github.com/cli/cli/pull/7441](https://github.com/cli/cli/pull/7441) #### What's Changed - Color control and sensible defaults in modern terminals by [@​rick-kilgore](https://github.com/rick-kilgore) in [https://github.com/cli/cli/pull/7354](https://github.com/cli/cli/pull/7354) - Fix windows crash by bumping wincred by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7459](https://github.com/cli/cli/pull/7459) - Update browser package to avoid Windows crash by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7474](https://github.com/cli/cli/pull/7474) - `release upload` sanitizes asset filenames prior to uploading by [@​jtpetty](https://github.com/jtpetty) in [https://github.com/cli/cli/pull/7477](https://github.com/cli/cli/pull/7477) - `pr status` uses lighter API in supported environments by [@​williammartin](https://github.com/williammartin) in [https://github.com/cli/cli/pull/7462](https://github.com/cli/cli/pull/7462) - All commands start up time improvements by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7487](https://github.com/cli/cli/pull/7487) - More commands use latin matching filter by [@​benjlevesque](https://github.com/benjlevesque) in [https://github.com/cli/cli/pull/7492](https://github.com/cli/cli/pull/7492) - `pr create` respects GH_REPO env variable by [@​ffalor](https://github.com/ffalor) in [https://github.com/cli/cli/pull/7445](https://github.com/cli/cli/pull/7445) - Do not fall back to legacy template if template selector returns nil by [@​samcoe](https://github.com/samcoe) in [https://github.com/cli/cli/pull/7444](https://github.com/cli/cli/pull/7444) #### All the Details - Fix release guard for deployment workflow by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7424](https://github.com/cli/cli/pull/7424) - Introduce helpTopics type and reduce duplication across commands by [@​williammartin](https://github.com/williammartin) in [https://github.com/cli/cli/pull/7414](https://github.com/cli/cli/pull/7414) - Allow `gh repo set-default --view` without repo argument by [@​Jackenmen](https://github.com/Jackenmen) in [https://github.com/cli/cli/pull/7441](https://github.com/cli/cli/pull/7441) - make prompt default values visible and also the color controllable in… by [@​rick-kilgore](https://github.com/rick-kilgore) in [https://github.com/cli/cli/pull/7354](https://github.com/cli/cli/pull/7354) - Mention setting GH_ENTERPRISE_TOKEN when GH_HOST is set by [@​goldstar611](https://github.com/goldstar611) in [https://github.com/cli/cli/pull/7449](https://github.com/cli/cli/pull/7449) - respect GH_REPO env variable in `pr create` by [@​ffalor](https://github.com/ffalor) in [https://github.com/cli/cli/pull/7445](https://github.com/cli/cli/pull/7445) - Do not fall back to legacy template if template selector returns nil by [@​samcoe](https://github.com/samcoe) in [https://github.com/cli/cli/pull/7444](https://github.com/cli/cli/pull/7444) - Remove old, unused detector fields by [@​williammartin](https://github.com/williammartin) in [https://github.com/cli/cli/pull/7458](https://github.com/cli/cli/pull/7458) - Fix windows crash by bumping wincred by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7459](https://github.com/cli/cli/pull/7459) - Get some additional confidence around PullRequest ChecksStatus by [@​williammartin](https://github.com/williammartin) in [https://github.com/cli/cli/pull/7454](https://github.com/cli/cli/pull/7454) - build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/cli/cli/pull/7460](https://github.com/cli/cli/pull/7460) - build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/cli/cli/pull/7469](https://github.com/cli/cli/pull/7469) - Update triage.md with severity descriptions by [@​williammartin](https://github.com/williammartin) in [https://github.com/cli/cli/pull/7473](https://github.com/cli/cli/pull/7473) - Clarify docs regarding what is listed when running gh workflow list by [@​torgeir](https://github.com/torgeir) in [https://github.com/cli/cli/pull/7475](https://github.com/cli/cli/pull/7475) - build(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 by [@​dependabot](https://github.com/dependabot) in [https://github.com/cli/cli/pull/7476](https://github.com/cli/cli/pull/7476) - Update browser package to avoid Windows crash by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7474](https://github.com/cli/cli/pull/7474) - Updated to sanitize asset filename prior to uploading. Fixes [#​7024](https://github.com/cli/cli/issues/7024) by [@​jtpetty](https://github.com/jtpetty) in [https://github.com/cli/cli/pull/7477](https://github.com/cli/cli/pull/7477) - replace prompts in `gh run` commands by [@​vilmibm](https://github.com/vilmibm) in [https://github.com/cli/cli/pull/7302](https://github.com/cli/cli/pull/7302) - Allow nested aliases by [@​samcoe](https://github.com/samcoe) in [https://github.com/cli/cli/pull/7457](https://github.com/cli/cli/pull/7457) - Use new GQL fields that support CheckRun and StatusContext counts by state by [@​williammartin](https://github.com/williammartin) in [https://github.com/cli/cli/pull/7462](https://github.com/cli/cli/pull/7462) - Speed up gh start up time by [@​mislav](https://github.com/mislav) in [https://github.com/cli/cli/pull/7487](https://github.com/cli/cli/pull/7487) - Do not generate docs for aliases by [@​samcoe](https://github.com/samcoe) in [https://github.com/cli/cli/pull/7497](https://github.com/cli/cli/pull/7497) - fix: apply latin matching filter to more fields by [@​benjlevesque](https://github.com/benjlevesque) in [https://github.com/cli/cli/pull/7492](https://github.com/cli/cli/pull/7492) - build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/cli/cli/pull/7510](https://github.com/cli/cli/pull/7510) #### New Contributors - [@​williammartin](https://github.com/williammartin) made their first contribution in [https://github.com/cli/cli/pull/7414](https://github.com/cli/cli/pull/7414) - [@​rick-kilgore](https://github.com/rick-kilgore) made their first contribution in [https://github.com/cli/cli/pull/7354](https://github.com/cli/cli/pull/7354) - [@​goldstar611](https://github.com/goldstar611) made their first contribution in [https://github.com/cli/cli/pull/7449](https://github.com/cli/cli/pull/7449) - [@​torgeir](https://github.com/torgeir) made their first contribution in [https://github.com/cli/cli/pull/7475](https://github.com/cli/cli/pull/7475) **Full Changelog**: https://github.com/cli/cli/compare/v2.29.0...v2.30.0 </details> <details> <summary>dandavison/delta</summary> ### [`v0.16.5`](https://github.com/dandavison/delta/releases/tag/0.16.5) [Compare Source](https://github.com/dandavison/delta/compare/0.16.4...0.16.5) This is a follow-up release providing the various binaries that were not released with 0.16.4. It also makes some adjustments to delta's (rip)grep support. #### What's Changed - Increase number of characters shown in submodule hashes by [@​dandavison](https://github.com/dandavison) in [https://github.com/dandavison/delta/pull/1421](https://github.com/dandavison/delta/pull/1421) - Fix typo in publishing build job & restore cross-compilation by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1430](https://github.com/dandavison/delta/pull/1430) - [`3819e94`](https://github.com/dandavison/delta/commit/3819e94) Drop grep-header-style option by [@​dandavison](https://github.com/dandavison) - [`a28231a`](https://github.com/dandavison/delta/commit/a28231a) Honor grep-header-decoration-style for ripgrep output by [@​dandavison](https://github.com/dandavison) **Full Changelog**: https://github.com/dandavison/delta/compare/0.16.4...0.16.5 ### [`v0.16.4`](https://github.com/dandavison/delta/releases/tag/0.16.4) [Compare Source](https://github.com/dandavison/delta/compare/0.15.1...0.16.4) It's 6 months since the last release so this one brings quite a few changes. Thanks very much to all contributors, especially [@​nickelc](https://github.com/nickelc) for a huge number of contributions, and [@​wescande](https://github.com/wescande) for his work on improving whitespace highlighting. With this release delta can now display grep output in (hopefully) exactly the same layout that ripgrep does, but adding syntax highlighting, hyperlinks, and navigation. Use `ripgrep --json ... | delta` for that, or set `grep-output-type = ripgrep` to get that output style from `git grep` etc. This release does not contain binaries for `x86_64-unknown-linux-musl`, `i686-unknown-linux-gnu`, `arm-unknown-linux-gnueabihf`, or `aarch64-unknown-linux-gnu` because the cross-compilation GitHub Actions jobs were broken at the time of release. I'll issue a follow-up release including them when that's fixed. #### What's Changed - Address deprecated clap features by [@​tjquillan](https://github.com/tjquillan) in [https://github.com/dandavison/delta/pull/1251](https://github.com/dandavison/delta/pull/1251) - Fix clippy warnings by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1298](https://github.com/dandavison/delta/pull/1298) - Replace unmaintained/outdated GitHub Actions by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1317](https://github.com/dandavison/delta/pull/1317) - Reduce allocations during `--show-colors` by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1315](https://github.com/dandavison/delta/pull/1315) - Fix the`--show-themes` command by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1320](https://github.com/dandavison/delta/pull/1320) - Fixed broken link to README by [@​zonuexe](https://github.com/zonuexe) in [https://github.com/dandavison/delta/pull/1185](https://github.com/dandavison/delta/pull/1185) - Update `git2` to 0.16.1 by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1323](https://github.com/dandavison/delta/pull/1323) - Fix warning from bat for an unknown syntax theme by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1319](https://github.com/dandavison/delta/pull/1319) - Add `gruvmax-fang` theme by [@​MaxFangX](https://github.com/MaxFangX) in [https://github.com/dandavison/delta/pull/1291](https://github.com/dandavison/delta/pull/1291) - Spelling by [@​jsoref](https://github.com/jsoref) in [https://github.com/dandavison/delta/pull/1257](https://github.com/dandavison/delta/pull/1257) - Update `clap` to 4.1 by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1322](https://github.com/dandavison/delta/pull/1322) - Encapsulate `git2` types by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1326](https://github.com/dandavison/delta/pull/1326) - Update dependencies & switch back to the `dirs` crate by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1325](https://github.com/dandavison/delta/pull/1325) - Return the `GitRemoteRepo` type directly by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1328](https://github.com/dandavison/delta/pull/1328) - Added config option. by [@​ShogunPanda](https://github.com/ShogunPanda) in [https://github.com/dandavison/delta/pull/1324](https://github.com/dandavison/delta/pull/1324) - Add Winget Releaser workflow by [@​sitiom](https://github.com/sitiom) in [https://github.com/dandavison/delta/pull/1331](https://github.com/dandavison/delta/pull/1331) - Get git's minus/plus style from config instead of copying it around by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1329](https://github.com/dandavison/delta/pull/1329) - Add methods for getting `GitConfig` as reference by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1336](https://github.com/dandavison/delta/pull/1336) - Rename `git_config_entry` module to `remote` by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1337](https://github.com/dandavison/delta/pull/1337) - Tips and tricks manual section by [@​dandavison](https://github.com/dandavison) in [https://github.com/dandavison/delta/pull/1339](https://github.com/dandavison/delta/pull/1339) - Set language specifiers for code blocks and fix links in manual by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1340](https://github.com/dandavison/delta/pull/1340) - Derive the default for enums with `#[derive(Default)]`/`#[default]` by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1341](https://github.com/dandavison/delta/pull/1341) - Add discord-dark theme by [@​ILikePlayingGames](https://github.com/ILikePlayingGames) in [https://github.com/dandavison/delta/pull/1334](https://github.com/dandavison/delta/pull/1334) - Merge the different `GitConfig` constructors for a config file by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1342](https://github.com/dandavison/delta/pull/1342) - Remove manual line-wrapping by [@​dandavison](https://github.com/dandavison) in [https://github.com/dandavison/delta/pull/1350](https://github.com/dandavison/delta/pull/1350) - Add link to similar project walles/riff by [@​walles](https://github.com/walles) in [https://github.com/dandavison/delta/pull/1362](https://github.com/dandavison/delta/pull/1362) - add: installation instructions for conda/mamba by [@​YYYasin19](https://github.com/YYYasin19) in [https://github.com/dandavison/delta/pull/1371](https://github.com/dandavison/delta/pull/1371) - Clarify how to use delta with `tmux` by [@​isak102](https://github.com/isak102) in [https://github.com/dandavison/delta/pull/1402](https://github.com/dandavison/delta/pull/1402) - Update `bitflags` to 2.2 by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1361](https://github.com/dandavison/delta/pull/1361) - Fix some typos by [@​goggle](https://github.com/goggle) in [https://github.com/dandavison/delta/pull/1379](https://github.com/dandavison/delta/pull/1379) - Remove unneeded `extern crate` statements by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1345](https://github.com/dandavison/delta/pull/1345) - Downgrade and pin the `bytelines` crate by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1378](https://github.com/dandavison/delta/pull/1378) - Improve manual build job by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1404](https://github.com/dandavison/delta/pull/1404) - Replace deprecated `error_chain` crate with `anyhow` by [@​nickelc](https://github.com/nickelc) in [https://github.com/dandavison/delta/pull/1405](https://github.com/dandavison/delta/pull/1405) - Fix submodule diff parsing by [@​th1000s](https://github.com/th1000s) in [https://github.com/dandavison/delta/pull/1413](https://github.com/dandavison/delta/pull/1413) - Fix warning highlight for trailing whitespace by [@​wescande](https://github.com/wescande) in [https://github.com/dandavison/delta/pull/1037](https://github.com/dandavison/delta/pull/1037) - Misc tab refactoring by [@​th1000s](https://github.com/th1000s) in [https://github.com/dandavison/delta/pull/1424](https://github.com/dandavison/delta/pull/1424) - manual: fix link to using `delta` on Windows by [@​mataha](https://github.com/mataha) in [https://github.com/dandavison/delta/pull/1428](https://github.com/dandavison/delta/pull/1428) - Introduce `grep-output-type` option: ripgrep or classic by [@​dandavison](https://github.com/dandavison) in [https://github.com/dandavison/delta/pull/1410](https://github.com/dandavison/delta/pull/1410) #### New Contributors - [@​tjquillan](https://github.com/tjquillan) made their first contribution in [https://github.com/dandavison/delta/pull/1251](https://github.com/dandavison/delta/pull/1251) - [@​nickelc](https://github.com/nickelc) made their first contribution in [https://github.com/dandavison/delta/pull/1298](https://github.com/dandavison/delta/pull/1298) - [@​zonuexe](https://github.com/zonuexe) made their first contribution in [https://github.com/dandavison/delta/pull/1185](https://github.com/dandavison/delta/pull/1185) - [@​MaxFangX](https://github.com/MaxFangX) made their first contribution in [https://github.com/dandavison/delta/pull/1291](https://github.com/dandavison/delta/pull/1291) - [@​jsoref](https://github.com/jsoref) made their first contribution in [https://github.com/dandavison/delta/pull/1257](https://github.com/dandavison/delta/pull/1257) - [@​ShogunPanda](https://github.com/ShogunPanda) made their first contribution in [https://github.com/dandavison/delta/pull/1324](https://github.com/dandavison/delta/pull/1324) - [@​sitiom](https://github.com/sitiom) made their first contribution in [https://github.com/dandavison/delta/pull/1331](https://github.com/dandavison/delta/pull/1331) - [@​ILikePlayingGames](https://github.com/ILikePlayingGames) made their first contribution in [https://github.com/dandavison/delta/pull/1334](https://github.com/dandavison/delta/pull/1334) - [@​walles](https://github.com/walles) made their first contribution in [https://github.com/dandavison/delta/pull/1362](https://github.com/dandavison/delta/pull/1362) - [@​YYYasin19](https://github.com/YYYasin19) made their first contribution in [https://github.com/dandavison/delta/pull/1371](https://github.com/dandavison/delta/pull/1371) - [@​isak102](https://github.com/isak102) made their first contribution in [https://github.com/dandavison/delta/pull/1402](https://github.com/dandavison/delta/pull/1402) - [@​goggle](https://github.com/goggle) made their first contribution in [https://github.com/dandavison/delta/pull/1379](https://github.com/dandavison/delta/pull/1379) - [@​mataha](https://github.com/mataha) made their first contribution in [https://github.com/dandavison/delta/pull/1428](https://github.com/dandavison/delta/pull/1428) **Full Changelog**: https://github.com/dandavison/delta/compare/0.15.1...0.16.4 </details> <details> <summary>direnv/direnv</summary> ### [`v2.32.3`](https://github.com/direnv/direnv/releases/tag/v2.32.3) [Compare Source](https://github.com/direnv/direnv/compare/v2.32.2...v2.32.3) # 2.32.3 / 2023-05-20 - fix: incorrect escape sequences during Loads under git-bash (Windows) ([#​1085](https://github.com/direnv/direnv/issues/1085)) - fix: skip some tests for IBM Z mainframe's z/OS operating system ([#​1094](https://github.com/direnv/direnv/issues/1094)) - fix: stdlib: use_guix: Switch to guix shell. ([#​1045](https://github.com/direnv/direnv/issues/1045)) - fix: stat the already open rc file rather than another path based one on it ([#​1044](https://github.com/direnv/direnv/issues/1044)) - fix: remove deprecated io/ioutil uses ([#​1042](https://github.com/direnv/direnv/issues/1042)) - fix: spelling fixes ([#​1041](https://github.com/direnv/direnv/issues/1041)) - fix: appease Go 1.19 gofmt ([#​1040](https://github.com/direnv/direnv/issues/1040)) - fix: pass BASH_PATH to make, matches the nixpkgs derivation ([#​1006](https://github.com/direnv/direnv/issues/1006)) - fix: stdlib/layout_python: exclude patchlevel from $python_version ([#​1033](https://github.com/direnv/direnv/issues/1033)) - doc: add Windows installation with winget ([#​1096](https://github.com/direnv/direnv/issues/1096)) - doc: link 12factor webpage for more clarity ([#​1095](https://github.com/direnv/direnv/issues/1095)) - website: add Plausible analytics </details> <details> <summary>fluxcd/flux2</summary> ### [`v2.0.0-rc.5`](https://github.com/fluxcd/flux2/releases/tag/v2.0.0-rc.5) [Compare Source](https://github.com/fluxcd/flux2/compare/v2.0.0-rc.4...v2.0.0-rc.5) #### Highlights This is the 5th release candidate of Flux v2.0 GA. Users are advised to upgrade from older versions to `v2.0.0-rc.5` as soon as possible. Flux `v2.0.0-rc.5` addresses a regression that was introduced in `v2.0.0-rc.4`. This regression caused a disruption in the compatibility with Git servers utilizing v2 of the wire protocol, such as Azure Devops and AWS CodeCommit. :bulb: For upgrading from v0.x, please see [the procedure documented in RC.1](https://github.com/fluxcd/flux2/releases/tag/v2.0.0-rc.1). ⚠️ Note that [`v2.0.0-rc.4`](https://github.com/fluxcd/flux2/releases/tag/v2.0.0-rc.1) updated all components to use [Kustomize v5](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.0.0) and [controller-runtime v0.15](https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0), both of which contain breaking changes. ##### Fixes and improvements - Fix support for Git v2 servers. - Suppress misleading error message `[controller-runtime] log.SetLogger(...) was never called...` (CLI). - Include both revision and token in event metadata, if present (helm-controller). - Update source-controller to patch a vulnerability in Sigstore (CVE-2023-33199) #### Components Changelog - source-controller [v1.0.0-rc.5](https://github.com/fluxcd/source-controller/blob/v1.0.0-rc.5/CHANGELOG.md) - image-automation-controller [v0.34.1](https://github.com/fluxcd/image-automation-controller/blob/v0.34.1/CHANGELOG.md) - helm-controller [v0.34.1](https://github.com/fluxcd/helm-controller/blob/v0.34.1/CHANGELOG.md) #### CLI Changelog - PR [#​3943](https://github.com/fluxcd/flux2/issues/3943) - [@​fluxcdbot](https://github.com/fluxcdbot) - Update toolkit components, and git/go-git to v0.12.0 - PR [#​3940](https://github.com/fluxcd/flux2/issues/3940) - [@​somtochiama](https://github.com/somtochiama) - Set controller runtime logger in Azure e2e tests - PR [#​3938](https://github.com/fluxcd/flux2/issues/3938) - [@​aryan9600](https://github.com/aryan9600) - e2e: Run e2e Azure tests for PRs to main if tests or wofklow changes - PR [#​3932](https://github.com/fluxcd/flux2/issues/3932) - [@​aryan9600](https://github.com/aryan9600) - Set `controller-runtime` logger to a null logger ### [`v2.0.0-rc.4`](https://github.com/fluxcd/flux2/releases/tag/v2.0.0-rc.4) [Compare Source](https://github.com/fluxcd/flux2/compare/v2.0.0-rc.3...v2.0.0-rc.4) #### Highlights This is the 4nd release candidate of Flux v2.0 GA. Users are advised to upgrade from older versions to `v2.0.0-rc.4` as soon as possible. Flux v2.0.0-rc.4 comes with support for **Kustomize 5.0**, **Helm 3.12** and **Cosign 2.0**. :bulb: For upgrading from v0.x, please see [the procedure documented in RC.1](https://github.com/fluxcd/flux2/releases/tag/v2.0.0-rc.1). ⚠️ Note that Kustomize v5 contains breaking changes, please consult their [changelog](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.0.0) for more details. ⚠️ The GitOps Toolkit and the Flux controllers have been updated to [controller-runtime v0.15](https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0) which contains breaking changes that could affect 3rd-party controllers that integrate with Flux. ##### Fixes and improvements - Full support for Azure Workload Identity when connecting Flux to Azure Container Registry, Azure Blog Storage and Azure Key Vault. - New command `flux reconcile source chart` for pulling Helm OCI charts on-demand from container registries (CLI). - Retry OCI operations on network errors for `flux push artifact` (CLI). - Support annotated Git tags with `.spec.ref.name` in `GitRepository` (source-controller). - Fix pulling Helm OCI charts from ACR when using Azure OIDC (source-controller). - Fix incorrect rate limiting for `HelmRelease` events (notification-controller). - All components have been updated to patch vulnerabilities in Docker (CVE-2023-28840, CVE-2023-28841, CVE-2023-28842) and Sigstore (CVE-2023-30551). #### Components changelog - source-controller [v1.0.0-rc.4](https://github.com/fluxcd/source-controller/blob/v1.0.0-rc.4/CHANGELOG.md) - kustomize-controller [v1.0.0-rc.4](https://github.com/fluxcd/kustomize-controller/blob/v1.0.0-rc.4/CHANGELOG.md) - notification-controller [v1.0.0-rc.4](https://github.com/fluxcd/notification-controller/blob/v1.0.0-rc.4/CHANGELOG.md) - helm-controller [v0.34.0](https://github.com/fluxcd/helm-controller/blob/v0.34.0/CHANGELOG.md) - image-reflector-controller [v0.28.0](https://github.com/fluxcd/image-reflector-controller/blob/v0.28.0/CHANGELOG.md) - image-automation-controller [v0.34.0](https://github.com/fluxcd/image-automation-controller/blob/v0.34.0/CHANGELOG.md) #### CLI Changelog - PR [#​3929](https://github.com/fluxcd/flux2/issues/3929) - [@​stefanprodan](https://github.com/stefanprodan) - Update Git packages - PR [#​3928](https://github.com/fluxcd/flux2/issues/3928) - [@​stefanprodan](https://github.com/stefanprodan) - Update kubectl to v1.27.2 in flux-cli image - PR [#​3927](https://github.com/fluxcd/flux2/issues/3927) - [@​dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github/codeql-action from 2.3.3 to 2.3.5 - PR [#​3926](https://github.com/fluxcd/flux2/issues/3926) - [@​dependabot](https://github.com/dependabot)\[bot] - build(deps): bump snyk/actions from [`8061827`](https://github.com/fluxcd/flux2/commit/806182742461562b67788a64410098c9d9b96adb) to [`b98d498`](https://github.com/fluxcd/flux2/commit/b98d498629f1c368650224d6d212bf7dfa89e4bf) - PR [#​3924](https://github.com/fluxcd/flux2/issues/3924) - [@​hgranillo](https://github.com/hgranillo) - Fix break lines in create helmrelease and source - PR [#​3922](https://github.com/fluxcd/flux2/issues/3922) - [@​fluxcdbot](https://github.com/fluxcdbot) - Update toolkit components - PR [#​3918](https://github.com/fluxcd/flux2/issues/3918) - [@​somtochiama](https://github.com/somtochiama) - Retry oci push operations - PR [#​3910](https://github.com/fluxcd/flux2/issues/3910) - [@​stefanprodan](https://github.com/stefanprodan) - Update Kubernetes to v1.27 and Kustomize to v5.0 - PR [#​3903](https://github.com/fluxcd/flux2/issues/3903) - [@​dependabot](https://github.com/dependabot)\[bot] - build(deps): bump sigstore/cosign-installer from 3.0.3 to 3.0.5 - PR [#​3902](https://github.com/fluxcd/flux2/issues/3902) - [@​dependabot](https://github.com/dependabot)\[bot] - build(deps): bump actions/setup-go from 4.0.0 to 4.0.1 - PR [#​3901](https://github.com/fluxcd/flux2/issues/3901) - [@​dependabot](https://github.com/dependabot)\[bot] - build(deps): bump helm/kind-action from 1.5.0 to 1.7.0 </details> <details> <summary>golangci/golangci-lint</summary> ### [`v1.53.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1532) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.53.1...v1.53.2) 1. updated linters - `depguard`: from v2.0.1 to 2.1.0 2. misc. - `depguard`: throw error only when the linter is called ### [`v1.53.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1531) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.53.0...v1.53.1) 1. misc. - `depguard`: fix GOROOT detection - `importas`: fix duplication detection when aliases use regular expression replacement pattern ### [`v1.53.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1530) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.52.2...v1.53.0) 1. new linters - `gosmopolitan`: https://github.com/xen0n/gosmopolitan - `mirror`: https://github.com/butuzov/mirror - `tagalign`: https://github.com/4meepo/tagalign - `zerologlint`: https://github.com/ykadowak/zerologlint 2. updated linters - `bodyclose`: bump to HEAD - `containedctx`: from 1.0.2 to 1.0.3 - `depguard`: migrate to v2 - `errname`: from 0.1.9 to 0.1.10 - `exhaustive`: from 0.9.5 to 0.10.0 - `forbidigo`: better support for configuring complex rules - `gci`: improve error message - `ginkgolinter`: add suppress-async-assertion option - `ginkgolinter`: from 0.9.0 to 0.12.0 - `go-critic`: from 0.7.0 to 0.8.1 - `go-errorlint`: from 1.4.0 to 1.4.2 - `gofumpt`: from 0.4.0 to 0.5.0 - `gosec`: convert global settings as map with proper key type - `gosec`: from 2.15.0 to 2.16.0 - `importas`: detect duplicate alias or package in the configuration - `importas`: fix typo in logs - `ireturn`: from 0.1.1 to 0.2.0 - `musttag`: from 0.5.0 to 0.7.0 - `nakedret`: to 2.0.1 - `nilnil`: from 0.1.3 to 0.1.5 - `paralleltest`: from 1.0.6 to 1.0.7 - `revive`: from 1.3.1 to 1.3.2 - `tagliatelle`: from 0.4.0 to 0.5.0 - `usestdlibvars`: fix configuration 3. misc. - `golang.org/x/tools`: from 0.7.0 to 0.9.2 - add loongarch64 to the install script - output: add colored-tab - remove warning when the config file is explicitly stdin - rules: support inverted path match 4. Documentation - `mnd`: clarify ignore usage examples to be regexps - `tagliatelle`: update documentation - improve features section - update supported Go versions FAQ </details> <details> <summary>junegunn/fzf</summary> ### [`v0.41.1`](https://github.com/junegunn/fzf/blob/HEAD/CHANGELOG.md#​0411) [Compare Source](https://github.com/junegunn/fzf/compare/0.41.0...0.41.1) - Fixed a bug where preview window is not updated when `--disabled` is set and a reload is triggered by `change:reload` binding ### [`v0.41.0`](https://github.com/junegunn/fzf/blob/HEAD/CHANGELOG.md#​0410) [Compare Source](https://github.com/junegunn/fzf/compare/0.40.0...0.41.0) - Added color name `preview-border` and `preview-scrollbar` - Added new border style `block` which uses [block elements](https://en.wikipedia.org/wiki/Block_Elements) - `--scrollbar` can take two characters, one for the main window, the other for the preview window - Putting it altogether: ```sh fzf-tmux -p 80% --padding 1,2 --preview 'bat --style=plain --color=always {}' \ --color 'bg:237,bg+:235,gutter:237,border:238,scrollbar:236' \ --color 'preview-bg:235,preview-border:236,preview-scrollbar:234' \ --preview-window 'border-block' --border block --scrollbar '▌▐' ``` - Bug fixes and improvements </details> <details> <summary>starship/starship</summary> ### [`v1.15.0`](https://github.com/starship/starship/releases/tag/v1.15.0) [Compare Source](https://github.com/starship/starship/compare/v1.14.2...v1.15.0) ##### Features - Add Solidity Module ([#​5047](https://github.com/starship/starship/issues/5047)) ([b2ebd5b](https://github.com/starship/starship/commit/b2ebd5b50c62fe5eb1cf8f5b0f79deaff2edd059)) - add typechange to git_status module ([#​4829](https://github.com/starship/starship/issues/4829)) ([edb96ca](https://github.com/starship/starship/commit/edb96cad580e5c414c34a4f64476a64a20595459)) - **aws:** support aws sso with automatic authentication refresh ([#​5170](https://github.com/starship/starship/issues/5170)) ([297176b](https://github.com/starship/starship/commit/297176b0b8b9da34176d7b278837f77f960799b1)) - **azure:** subscription name aliases ([#​4949](https://github.com/starship/starship/issues/4949)) ([27ffa37](https://github.com/starship/starship/commit/27ffa37cfdf2eff9874e543f88fa389bf5c2dae3)) - **gcloud:** add `detect_env_vars` option ([#​5166](https://github.com/starship/starship/issues/5166)) ([d07a8e3](https://github.com/starship/starship/commit/d07a8e3668838223aeeb94e810a0b29806e35f78)) - **git_metrics:** add option to ignore submodules ([#​5052](https://github.com/starship/starship/issues/5052)) ([ce01423](https://github.com/starship/starship/commit/ce014231521c981260ff7c1018acf694c65c97fe)) - **golang:** adding `mod_version` variable ([#​5177](https://github.com/starship/starship/issues/5177)) ([351bf9d](https://github.com/starship/starship/commit/351bf9d0b382adcc3e073c1a293fd815bb623f37)) - **nodejs:** Add `expected_version` variable ([#​5081](https://github.com/starship/starship/issues/5081)) ([70d2014](https://github.com/starship/starship/commit/70d2014f3447e616fb45b63b2793b256e19aa631)) ##### Bug Fixes - bump libz-ng-sys ([#​5218](https://github.com/starship/starship/issues/5218)) ([6ab8f40](https://github.com/starship/starship/commit/6ab8f4061fe816a78a310c01a993a5a4690369ff)) - **config:** Make print-config not panic without a config ([#​5001](https://github.com/starship/starship/issues/5001)) ([ce7f984](https://github.com/starship/starship/commit/ce7f984932a97b4ad3cd6e6ece8e1c3b6022ba99)) - ensure nested style variables are processed during formatting ([e5cec9e](https://github.com/starship/starship/commit/e5cec9ea50963a45bb1c209abc747ee1983dcabd)) - **presets:** Added ($style) to format in module 'sudo' in Bracketed Segments Preset ([#​5146](https://github.com/starship/starship/issues/5146)) ([1bd6db5](https://github.com/starship/starship/commit/1bd6db58307c1945c3b0cabec8d6663730394377)) - **snap:** Update snapcraft.yaml to add personal-files interface ([#​5131](https://github.com/starship/starship/issues/5131)) ([b3ccc0f](https://github.com/starship/starship/commit/b3ccc0f05e451ada800d233613ef32756682249f)) - **style:** ensure nested style variables are processed during formatting ([#​5120](https://github.com/starship/starship/issues/5120)) ([e5cec9e](https://github.com/starship/starship/commit/e5cec9ea50963a45bb1c209abc747ee1983dcabd)) - update of presets and default configuration to reflect changes in Nerd Fonts 3.0 ([#​5162](https://github.com/starship/starship/issues/5162)) ([2558c45](https://github.com/starship/starship/commit/2558c4588b5bcc404df474c948de0b72b109be01)) </details> <details> <summary>twpayne/chezmoi</summary> ### [`v2.34.1`](https://github.com/twpayne/chezmoi/releases/tag/v2.34.1) [Compare Source](https://github.com/twpayne/chezmoi/compare/v2.34.0...v2.34.1) #### What's Changed - chore: Build with Go 1.20.5 by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3030](https://github.com/twpayne/chezmoi/pull/3030) - feat: Add git.commitMessageTemplate configuration variable by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3032](https://github.com/twpayne/chezmoi/pull/3032) **Full Changelog**: https://github.com/twpayne/chezmoi/compare/v2.34.0...v2.34.1 ### [`v2.34.0`](https://github.com/twpayne/chezmoi/releases/tag/v2.34.0) [Compare Source](https://github.com/twpayne/chezmoi/compare/v2.33.6...v2.34.0) #### What's Changed - feat: Add support for .chezmoidata directory by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3009](https://github.com/twpayne/chezmoi/pull/3009) - chore(deps): bump github/codeql-action from 2.3.3 to 2.3.5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/twpayne/chezmoi/pull/3010](https://github.com/twpayne/chezmoi/pull/3010) - chore(deps): bump actions/setup-go from 4.0.0 to 4.0.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/twpayne/chezmoi/pull/3012](https://github.com/twpayne/chezmoi/pull/3012) - chore: Misc fixes by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3019](https://github.com/twpayne/chezmoi/pull/3019) - chore: Update dependencies by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3018](https://github.com/twpayne/chezmoi/pull/3018) - chore(deps): bump sigstore/cosign-installer from 3.0.3 to 3.0.5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/twpayne/chezmoi/pull/3011](https://github.com/twpayne/chezmoi/pull/3011) - chore: Bump golangci-lint to version 1.53.1 by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3020](https://github.com/twpayne/chezmoi/pull/3020) - fix: Fix init --debug flag by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3021](https://github.com/twpayne/chezmoi/pull/3021) - feat: Add get.chezmoi.io/lb and chezmoi.io/getlb install scripts by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3024](https://github.com/twpayne/chezmoi/pull/3024) - chore: Update dependencies by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3026](https://github.com/twpayne/chezmoi/pull/3026) - fix: Fix parsing of flags to secret keyring delete command by [@​twpayne](https://github.com/twpayne) in [https://github.com/twpayne/chezmoi/pull/3027](https://github.com/twpayne/chezmoi/pull/3027) **Full Changelog**: https://github.com/twpayne/chezmoi/compare/v2.33.6...v2.34.0 </details> <details> <summary>weaveworks/eksctl</summary> ### [`v0.144.0`](https://github.com/weaveworks/eksctl/releases/tag/v0.144.0): eksctl 0.144.0 (permalink) [Compare Source](https://github.com/weaveworks/eksctl/compare/0.143.0...0.144.0) ### Release v0.144.0 #### 🚀 Features - Allow creating subnets with resource-based hostnames ([#​6651](https://github.com/weaveworks/eksctl/issues/6651)) #### 🎯 Improvements - Updated IAM policy statement for loadbalancer controller ([#​6655](https://github.com/weaveworks/eksctl/issues/6655)) - Port Add ready plugin to CoreDNS and use health.lameduck for a safer shutdown to 1.25, 1.26 and 1.27 ([#​6630](https://github.com/weaveworks/eksctl/issues/6630)) #### 🐛 Bug Fixes - Only retry on appropriate API Errors when calling `eks:DescribeUpdate` ([#​6645](https://github.com/weaveworks/eksctl/issues/6645)) - Clean up ALBs using `spec.ingressClassName` and ALB security groups ([#​6389](https://github.com/weaveworks/eksctl/issues/6389)) - Set default Windows volume name to /dev/sda1 ([#​6638](https://github.com/weaveworks/eksctl/issues/6638)) #### 🧰 Maintenance - Fix logging stack events logic for Trainium and Inferentia integration tests ([#​6649](https://github.com/weaveworks/eksctl/issues/6649)) - Bump schemer from v0.0.0-2021 to v0.0.0-2023 ([#​6646](https://github.com/weaveworks/eksctl/issues/6646)) #### 📝 Documentation - Generated ATTRIBUTIONS.md file ([#​6647](https://github.com/weaveworks/eksctl/issues/6647)) #### Acknowledgments Weaveworks would like to sincerely thank: [@​aaroniscode](https://github.com/aaroniscode), [@​joneidaws](https://github.com/joneidaws) and [@​wind0r](https://github.com/wind0r) ### [`v0.143.0`](https://github.com/weaveworks/eksctl/releases/tag/v0.143.0): eksctl 0.143.0 (permalink) [Compare Source](https://github.com/weaveworks/eksctl/compare/0.142.0...0.143.0) ### Release v0.143.0 #### 🚀 Features - Add support for EKS 1.27 ([#​6639](https://github.com/weaveworks/eksctl/issues/6639)) #### 🎯 Improvements - Enforce IMDSv2 by default ([#​6631](https://github.com/weaveworks/eksctl/issues/6631)) #### 🐛 Bug Fixes - Fix readiness probe in HTTP test ([#​6628](https://github.com/weaveworks/eksctl/issues/6628)) ### [`v0.142.0`](https://github.com/weaveworks/eksctl/releases/tag/v0.142.0): eksctl 0.142.0 (permalink) [Compare Source](https://github.com/weaveworks/eksctl/compare/0.141.0...0.142.0) ### Release v0.142.0 #### 🎯 Improvements - Add TagResource perm to EFS wellknown policy ([#​6611](https://github.com/weaveworks/eksctl/issues/6611)) #### 🧰 Maintenance - Update config file examples to reflect that amiFamily is required with custom AMI ([#​6617](https://github.com/weaveworks/eksctl/issues/6617)) - Bump dependencies and update build image ([#​6613](https://github.com/weaveworks/eksctl/issues/6613)) #### Acknowledgments Weaveworks would like to sincerely thank: [@​jimmythedog](https://github.com/jimmythedog) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/scottames/dots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fix a regression introduced by feec45b (Fix warning highlight for trailing whitespace (dandavison#1037), 2023-05-17) where trailing space at the end of an unchanged token is highlighted if the token follows an insertion. This happens because when the token is split in two to separate trailing whitespace the two halves end up being tagged with different edit operations. This can be seen in the test changes in `test_infer_edits_14` and `test_infer_edits_16` introduced by feec45b which changed the operation from `PlusNoop` to `Insertion` when splitting trailing whitespace from unchanged tokens. Fix this by using the same operation when adding both halves of a split token and correcting the tests. Fixes dandavison#1658
Fix a regression introduced by feec45b (Fix warning highlight for trailing whitespace (#1037), 2023-05-17) where trailing space at the end of an unchanged token is highlighted if the token follows an insertion. This happens because when the token is split in two to separate trailing whitespace the two halves end up being tagged with different edit operations. This can be seen in the test changes in `test_infer_edits_14` and `test_infer_edits_16` introduced by feec45b which changed the operation from `PlusNoop` to `Insertion` when splitting trailing whitespace from unchanged tokens. Fix this by using the same operation when adding both halves of a split token and correcting the tests. Fixes #1658
Fix #137
and added some corresponding test
git diff
without pager on the left, current delta on the middle, proposed version on the rightBecause the whitespace error style is applied on a complete section I needed to split the section in smaller section when there was space at the end. Thus I needed to edit some of
test_infer_edits
.I suppose this change does not contains all the test case for handling the trailing whitespace perfectly.
Maybe this should also be done in :