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

Use strong setting types #1490

Merged
merged 43 commits into from
Sep 12, 2024
Merged

Use strong setting types #1490

merged 43 commits into from
Sep 12, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Aug 28, 2024

This PR removes the generic settings API in favour of dedicated routes using strong types. Figured it was a good time to rethink the various settings we have and I landed on 4 distinct settings: s3, gouging, upload, pinned.

@peterjan peterjan mentioned this pull request Aug 27, 2024
15 tasks
@peterjan peterjan self-assigned this Aug 29, 2024
@peterjan peterjan marked this pull request as ready for review August 29, 2024 09:22
bus/bus.go Outdated Show resolved Hide resolved
stores/settingsdb.go Outdated Show resolved Hide resolved
stores/settingsdb.go Outdated Show resolved Hide resolved
bus/bus.go Outdated Show resolved Hide resolved
stores/settings.go Outdated Show resolved Hide resolved
stores/settings.go Show resolved Hide resolved
bus/bus.go Show resolved Hide resolved
api/setting.go Show resolved Hide resolved
@peterjan peterjan changed the base branch from dev to pj/explorer-config September 6, 2024 09:52
stores/sql.go Outdated Show resolved Hide resolved
Base automatically changed from pj/explorer-config to api-breakers September 6, 2024 16:05
dependabot bot and others added 3 commits September 9, 2024 07:37
Bumps the all-dependencies group with 4 updates: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), [golang.org/x/crypto](https://github.com/golang/crypto), [golang.org/x/sys](https://github.com/golang/sys) and [golang.org/x/term](https://github.com/golang/term).


Updates `github.com/mattn/go-sqlite3` from 1.14.22 to 1.14.23
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](mattn/go-sqlite3@v1.14.22...v1.14.23)

Updates `golang.org/x/crypto` from 0.26.0 to 0.27.0
- [Commits](golang/crypto@v0.26.0...v0.27.0)

Updates `golang.org/x/sys` from 0.24.0 to 0.25.0
- [Commits](golang/sys@v0.24.0...v0.25.0)

Updates `golang.org/x/term` from 0.23.0 to 0.24.0
- [Commits](golang/term@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
stores/settings.go Outdated Show resolved Hide resolved
bus/bus.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit fc5efe5 into api-breakers Sep 12, 2024
7 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/settings branch September 12, 2024 12:30
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.

2 participants