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

Configure Renovate #11

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Configure Renovate #11

merged 1 commit into from
Oct 14, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 27, 2023

Mend Renovate

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


Detected Package Files

  • .github/workflows/autorelease.yml (github-actions)
  • .github/workflows/ci.yml (github-actions)
  • go.mod (gomod)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Start dependency updates only once this onboarding PR is merged
  • Show all Merge Confidence badges for pull requests.
  • Enable Renovate Dependency Dashboard creation.
  • Use semantic commit type fix for dependencies and chore for all others if semantic commits are in use.
  • Ignore node_modules, bower_components, vendor and various test/tests directories.
  • Group known monorepo packages together.
  • Use curated list of recommended non-monorepo package groupings.
  • Apply crowd-sourced package replacement rules.
  • Apply crowd-sourced workarounds for known problems with packages.

🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


What to Expect

With your current configuration, Renovate will create 5 Pull Requests:

Update module github.com/mattn/go-isatty to v0.0.19
  • Schedule: ["at any time"]
  • Branch name: renovate/github.com-mattn-go-isatty-0.x
  • Merge into: main
  • Upgrade github.com/mattn/go-isatty to v0.0.19
Update module github.com/urfave/cli/v2 to v2.25.7
  • Schedule: ["at any time"]
  • Branch name: renovate/github.com-urfave-cli-v2-2.x
  • Merge into: main
  • Upgrade github.com/urfave/cli/v2 to v2.25.7
Update actions/checkout action to v3
  • Schedule: ["at any time"]
  • Branch name: renovate/actions-checkout-3.x
  • Merge into: main
  • Upgrade actions/checkout to v3
Update actions/setup-go action to v4
  • Schedule: ["at any time"]
  • Branch name: renovate/actions-setup-go-4.x
  • Merge into: main
  • Upgrade actions/setup-go to v4
Update goreleaser/goreleaser-action action to v4
  • Schedule: ["at any time"]
  • Branch name: renovate/goreleaser-goreleaser-action-4.x
  • Merge into: main
  • Upgrade goreleaser/goreleaser-action to v4

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for prhourlylimit for details.


❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.


This PR has been generated by Mend Renovate. View repository job log here.

@Omochice Omochice merged commit 34b894b into main Oct 14, 2023
@Omochice Omochice deleted the renovate/configure branch October 14, 2023 11:59
Omochice added a commit that referenced this pull request Apr 15, 2024
…er things (#20)

* 📝 Add badge to README.md

* 📝 change usage text

* 💪 Delete `stdin` flag

* 📝 Update README

* ⤴ Update version of library

* 🥷 divide package

* 🐛 fix test and ci

* 💪 Add test

* 🐛 Fix default config directory permission to 0755

To avoid "permission denied"

* Add renovate.json (#11)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: use conventional commit (#15)

* Update module github.com/mattn/go-isatty to v0.0.19 (#12)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/urfave/cli/v2 to v2.25.7 (#13)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v4 (#16)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-go action to v4 (#17)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update goreleaser/goreleaser-action action to v5 (#18)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* build: update golang version

* ci: update ci

* ci: fix go-version

* fix(deps): update module github.com/mattn/go-isatty to v0.0.20 (#19)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: update .goreleaser

* build: update go.sum

* Chore: small fixes
Mostly English spelling and getting rid of deprecated Go functions.

* chore: refactor code for returning error message
The idea now is to rely more on `net/http` and less on our own internal table.

* chore: major code refactoring
This essentially separates the actual API call from the translator bits, so we can now work on the extra nifty features we need.

* feat: add simple function to return usage

* feat: adding usage call

* chore: refactor code to avoid object ambiguities
New code requires passing structs representing JSON objects, instead of relying on loose interface conversions which may fail. Stricter is better!

* chore: add help for languages

* fix: add = to flag `type` usage line

* feat: adding autocomplete files

* doc: mentioned the autocompletion feature

* fix: correctly display versions and build dates
Note: I don’t know where the “builtBy” parameter comes from; currently, it needs to be force-pushed at bildtime with a -X tag to the linker.

* chore: refactor more code, add option for glossary
This was mostly meant as an experiment which can later be copied & pasted for other very similar options. apiCall() gained a new parameter, the method (because some things in the API stupidly use GET and not POST)

* docs: better organise the explanatons, add links

* chore: refactoring code — moving setup to “Before”

* feat: add more flag support, upgrade dependencies

* fix: revert changes: init must be done in main()
I’ve attempted to do all initialisation chores under the “Before:” for the main cli.App loop. However, this wasn’t retrieving the data properly. Moving everything  back to where it was in main().

* feat: major refactoring, we’ll get rid of settings
In essence, we can use and reuse the DeepLClient type/object as the ‘de facto’ settings structure, we just need to find a way to read/save settings (possibly with cli-altsrv)

* chore: adding ChatGPT-generated texts for testing

* feat: adding support for (simple) debugging

* test: test data in XML

* docs: update README with latest changes

* add readline package

* fix: interactive prompt now works with readline

* Update README.md

Correction submitted by @coderabbitai

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: upgrade to latest versions yadda yadda

* Bug: fix expected error text for DEEPL_TOKEN
I had changed the text in main.g0, but forgot to update it in main_test.go

* Docs: add backticks on comments

* Docs: changes suggested by @coderabbitai

* Docs: comments ending with period

* Fix: match correct error text (changed on main.go)

* Bug: possible scoping issues with deeplToken (?)
Not confirmed. But… this way we can be sure that it gets properly initialised and not scooped up into the “wrong” place…

* Chore: bump year to 2024

* Fix: add timeout as per @coderabbitai suggestion

* Fix: add try-catch as per @coderabbitai suggestion

* Chore: add test for Exists; err.Error() is redundant
… at least, when called with the text formatting functions derived from the `fmt` package.

* Docs: add comment

* Fix: check for edge case of empty string
As suggested by @coderabbitai
Also: return nil and not []string{}; we’re supposed to check for the `err` code, and nil is returned avoiding memory allocation of something that will never be used…

* Chore: use http.StatusXXX instead of numbers
It’s more idiomatic that way, even if not necessarily easier to read (everybody knows their HTTP error codes by heart, right? no? well, then perhaps it’s better to follow the usual practice of Go’s core developers…)

* Bug: missing `)`

* Bug: fix a testing bug
The reason for it was that a potential JSON error was not being correctly caught; this was flagged by the test suite, and therefore I sort of fixed it. Now it correctly passes all tests it’s supposed to pass :)

* Doc: fix stupid typo

* Docs: add comment made by @coderabbitai
Future TODO — have `Languages()` optionally reply in structured formats.

* Fix: error checking for writing configuration file
Caught by @coderabbitai

---------

Co-authored-by: mochi-MizLab <mochice.mls.ntl@gmail.com>
Co-authored-by: Osamu Takiya <takiya@toran.sakura.ne.jp>
Co-authored-by: Omochice <44566328+Omochice@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Omochice added a commit that referenced this pull request Apr 15, 2024
…er things (#20)

* 📝 Add badge to README.md

* 📝 change usage text

* 💪 Delete `stdin` flag

* 📝 Update README

* ⤴ Update version of library

* 🥷 divide package

* 🐛 fix test and ci

* 💪 Add test

* 🐛 Fix default config directory permission to 0755

To avoid "permission denied"

* Add renovate.json (#11)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: use conventional commit (#15)

* Update module github.com/mattn/go-isatty to v0.0.19 (#12)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/urfave/cli/v2 to v2.25.7 (#13)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v4 (#16)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-go action to v4 (#17)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update goreleaser/goreleaser-action action to v5 (#18)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* build: update golang version

* ci: update ci

* ci: fix go-version

* fix(deps): update module github.com/mattn/go-isatty to v0.0.20 (#19)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: update .goreleaser

* build: update go.sum

* Chore: small fixes
Mostly English spelling and getting rid of deprecated Go functions.

* chore: refactor code for returning error message
The idea now is to rely more on `net/http` and less on our own internal table.

* chore: major code refactoring
This essentially separates the actual API call from the translator bits, so we can now work on the extra nifty features we need.

* feat: add simple function to return usage

* feat: adding usage call

* chore: refactor code to avoid object ambiguities
New code requires passing structs representing JSON objects, instead of relying on loose interface conversions which may fail. Stricter is better!

* chore: add help for languages

* fix: add = to flag `type` usage line

* feat: adding autocomplete files

* doc: mentioned the autocompletion feature

* fix: correctly display versions and build dates
Note: I don’t know where the “builtBy” parameter comes from; currently, it needs to be force-pushed at bildtime with a -X tag to the linker.

* chore: refactor more code, add option for glossary
This was mostly meant as an experiment which can later be copied & pasted for other very similar options. apiCall() gained a new parameter, the method (because some things in the API stupidly use GET and not POST)

* docs: better organise the explanatons, add links

* chore: refactoring code — moving setup to “Before”

* feat: add more flag support, upgrade dependencies

* fix: revert changes: init must be done in main()
I’ve attempted to do all initialisation chores under the “Before:” for the main cli.App loop. However, this wasn’t retrieving the data properly. Moving everything  back to where it was in main().

* feat: major refactoring, we’ll get rid of settings
In essence, we can use and reuse the DeepLClient type/object as the ‘de facto’ settings structure, we just need to find a way to read/save settings (possibly with cli-altsrv)

* chore: adding ChatGPT-generated texts for testing

* feat: adding support for (simple) debugging

* test: test data in XML

* docs: update README with latest changes

* add readline package

* fix: interactive prompt now works with readline

* Update README.md

Correction submitted by @coderabbitai

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: upgrade to latest versions yadda yadda

* Bug: fix expected error text for DEEPL_TOKEN
I had changed the text in main.g0, but forgot to update it in main_test.go

* Docs: add backticks on comments

* Docs: changes suggested by @coderabbitai

* Docs: comments ending with period

* Fix: match correct error text (changed on main.go)

* Bug: possible scoping issues with deeplToken (?)
Not confirmed. But… this way we can be sure that it gets properly initialised and not scooped up into the “wrong” place…

* Chore: bump year to 2024

* Fix: add timeout as per @coderabbitai suggestion

* Fix: add try-catch as per @coderabbitai suggestion

* Chore: add test for Exists; err.Error() is redundant
… at least, when called with the text formatting functions derived from the `fmt` package.

* Docs: add comment

* Fix: check for edge case of empty string
As suggested by @coderabbitai
Also: return nil and not []string{}; we’re supposed to check for the `err` code, and nil is returned avoiding memory allocation of something that will never be used…

* Chore: use http.StatusXXX instead of numbers
It’s more idiomatic that way, even if not necessarily easier to read (everybody knows their HTTP error codes by heart, right? no? well, then perhaps it’s better to follow the usual practice of Go’s core developers…)

* Bug: missing `)`

* Bug: fix a testing bug
The reason for it was that a potential JSON error was not being correctly caught; this was flagged by the test suite, and therefore I sort of fixed it. Now it correctly passes all tests it’s supposed to pass :)

* Doc: fix stupid typo

* Docs: add comment made by @coderabbitai
Future TODO — have `Languages()` optionally reply in structured formats.

* Fix: error checking for writing configuration file
Caught by @coderabbitai

---------

Co-authored-by: mochi-MizLab <mochice.mls.ntl@gmail.com>
Co-authored-by: Osamu Takiya <takiya@toran.sakura.ne.jp>
Co-authored-by: Omochice <44566328+Omochice@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Omochice added a commit that referenced this pull request Apr 15, 2024
…er things (#20)

* 📝 Add badge to README.md

* 📝 change usage text

* 💪 Delete `stdin` flag

* 📝 Update README

* ⤴ Update version of library

* 🥷 divide package

* 🐛 fix test and ci

* 💪 Add test

* 🐛 Fix default config directory permission to 0755

To avoid "permission denied"

* Add renovate.json (#11)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: use conventional commit (#15)

* Update module github.com/mattn/go-isatty to v0.0.19 (#12)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/urfave/cli/v2 to v2.25.7 (#13)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v4 (#16)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-go action to v4 (#17)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update goreleaser/goreleaser-action action to v5 (#18)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* build: update golang version

* ci: update ci

* ci: fix go-version

* fix(deps): update module github.com/mattn/go-isatty to v0.0.20 (#19)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: update .goreleaser

* build: update go.sum

* Chore: small fixes
Mostly English spelling and getting rid of deprecated Go functions.

* chore: refactor code for returning error message
The idea now is to rely more on `net/http` and less on our own internal table.

* chore: major code refactoring
This essentially separates the actual API call from the translator bits, so we can now work on the extra nifty features we need.

* feat: add simple function to return usage

* feat: adding usage call

* chore: refactor code to avoid object ambiguities
New code requires passing structs representing JSON objects, instead of relying on loose interface conversions which may fail. Stricter is better!

* chore: add help for languages

* fix: add = to flag `type` usage line

* feat: adding autocomplete files

* doc: mentioned the autocompletion feature

* fix: correctly display versions and build dates
Note: I don’t know where the “builtBy” parameter comes from; currently, it needs to be force-pushed at bildtime with a -X tag to the linker.

* chore: refactor more code, add option for glossary
This was mostly meant as an experiment which can later be copied & pasted for other very similar options. apiCall() gained a new parameter, the method (because some things in the API stupidly use GET and not POST)

* docs: better organise the explanatons, add links

* chore: refactoring code — moving setup to “Before”

* feat: add more flag support, upgrade dependencies

* fix: revert changes: init must be done in main()
I’ve attempted to do all initialisation chores under the “Before:” for the main cli.App loop. However, this wasn’t retrieving the data properly. Moving everything  back to where it was in main().

* feat: major refactoring, we’ll get rid of settings
In essence, we can use and reuse the DeepLClient type/object as the ‘de facto’ settings structure, we just need to find a way to read/save settings (possibly with cli-altsrv)

* chore: adding ChatGPT-generated texts for testing

* feat: adding support for (simple) debugging

* test: test data in XML

* docs: update README with latest changes

* add readline package

* fix: interactive prompt now works with readline

* Update README.md

Correction submitted by @coderabbitai

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: upgrade to latest versions yadda yadda

* Bug: fix expected error text for DEEPL_TOKEN
I had changed the text in main.g0, but forgot to update it in main_test.go

* Docs: add backticks on comments

* Docs: changes suggested by @coderabbitai

* Docs: comments ending with period

* Fix: match correct error text (changed on main.go)

* Bug: possible scoping issues with deeplToken (?)
Not confirmed. But… this way we can be sure that it gets properly initialised and not scooped up into the “wrong” place…

* Chore: bump year to 2024

* Fix: add timeout as per @coderabbitai suggestion

* Fix: add try-catch as per @coderabbitai suggestion

* Chore: add test for Exists; err.Error() is redundant
… at least, when called with the text formatting functions derived from the `fmt` package.

* Docs: add comment

* Fix: check for edge case of empty string
As suggested by @coderabbitai
Also: return nil and not []string{}; we’re supposed to check for the `err` code, and nil is returned avoiding memory allocation of something that will never be used…

* Chore: use http.StatusXXX instead of numbers
It’s more idiomatic that way, even if not necessarily easier to read (everybody knows their HTTP error codes by heart, right? no? well, then perhaps it’s better to follow the usual practice of Go’s core developers…)

* Bug: missing `)`

* Bug: fix a testing bug
The reason for it was that a potential JSON error was not being correctly caught; this was flagged by the test suite, and therefore I sort of fixed it. Now it correctly passes all tests it’s supposed to pass :)

* Doc: fix stupid typo

* Docs: add comment made by @coderabbitai
Future TODO — have `Languages()` optionally reply in structured formats.

* Fix: error checking for writing configuration file
Caught by @coderabbitai

---------

Co-authored-by: mochi-MizLab <mochice.mls.ntl@gmail.com>
Co-authored-by: Osamu Takiya <takiya@toran.sakura.ne.jp>
Co-authored-by: Omochice <44566328+Omochice@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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