Skip to content

Commit

Permalink
Merge pull request #640 from thoth-pub/feature/639_make_location_cano…
Browse files Browse the repository at this point in the history
…nical_by_default

Feature/639 make location canonical by default
  • Loading branch information
ja573 authored Oct 23, 2024
2 parents 91d7628 + 0d9809b commit 8e311ea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
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

0 comments on commit 8e311ea

Please sign in to comment.