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

Feature/639 make location canonical by default #640

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- [639](https://github.com/thoth-pub/thoth/issues/639) - Make new locations canonical by default

### Changed
- [628](https://github.com/thoth-pub/thoth/pull/628) - Upgrade rust to `1.82.0` in production and development `Dockerfile`

## [[0.12.12]](https://github.com/thoth-pub/thoth/releases/tag/v0.12.12) - 2024-10-15
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG MUSL_IMAGE=clux/muslrust:1.81.0-stable
ARG MUSL_IMAGE=clux/muslrust:1.82.0-stable

FROM ${MUSL_IMAGE} as build

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUST_VERSION=1.81.0
ARG RUST_VERSION=1.82.0

FROM rust:${RUST_VERSION}

Expand Down
1 change: 1 addition & 0 deletions thoth-app/src/component/locations_form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ impl Component for LocationsFormComponent {
}
} else {
self.location = Default::default();
self.location.canonical = true;
self.location.location_platform = LocationPlatform::Other;
}
true
Expand Down
Loading