about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Cargo.lock6
-rw-r--r--Cargo.toml2
-rw-r--r--NEWS.md10
-rw-r--r--cog.toml4
-rw-r--r--crates/rocie-server/src/main.rs2
-rw-r--r--crates/rocie-server/src/storage/migrate/mod.rs2
-rw-r--r--crates/rocie-server/src/storage/migrate/sql/0-1.sql (renamed from crates/rocie-server/src/storage/migrate/sql/0->1.sql)0
7 files changed, 18 insertions, 8 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 03e842c..f220308 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2133,7 +2133,7 @@ dependencies = [
 
 [[package]]
 name = "rocie-cli"
-version = "0.1.0"
+version = "0.1.1"
 dependencies = [
  "anyhow",
  "clap",
@@ -2144,7 +2144,7 @@ dependencies = [
 
 [[package]]
 name = "rocie-client"
-version = "0.1.0"
+version = "0.1.1"
 dependencies = [
  "reqwest",
  "serde",
@@ -2157,7 +2157,7 @@ dependencies = [
 
 [[package]]
 name = "rocie-server"
-version = "0.1.0"
+version = "0.1.1"
 dependencies = [
  "actix-identity",
  "actix-session",
diff --git a/Cargo.toml b/Cargo.toml
index 27eca75..f2d99b6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ members = ["crates/rocie-server", "crates/rocie-cli", "crates/rocie-client"]
 
 [workspace.package]
 edition = "2024"
-version = "0.1.0"
+version = "0.1.1"
 rust-version = "1.89.0"
 authors = ["Benedikt Peetz <benedikt.peetz@b-peetz.de>"]
 repository = "https://git.vhack.eu/soispha/rocie/server"
diff --git a/NEWS.md b/NEWS.md
index 69cd303..9cd1677 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -11,6 +11,16 @@ If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 -->
 
 - - -
+## [v0.1.1](https://git.foss-syndicate.org/bpeetz/rocie/server/compare/15dfb099b13ad68b4f286fa9def77f083f79e1b2..v0.1.1) - 2026-03-22
+#### Bug Fixes
+- (**crates/rocie-server/main**) Remove potential trailing newline from key - ([de32ed2](https://git.foss-syndicate.org/bpeetz/rocie/server/commit/de32ed28fa6ff2c1d4afafaafd4b2c4a8a069b62)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz)
+#### Build system
+- (**cog.toml**) Use correct remote address for changelog - ([ae61af7](https://git.foss-syndicate.org/bpeetz/rocie/server/commit/ae61af7fdc300bb073b6da45c570dbf98c20391f)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz)
+#### Miscellaneous Chores
+- (**crates/rocie-server/storage/migrate/sql**) Remove special `>` from path - ([15dfb09](https://git.foss-syndicate.org/bpeetz/rocie/server/commit/15dfb099b13ad68b4f286fa9def77f083f79e1b2)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz)
+
+- - -
+
 ## [v0.1.0](https://git.foss-syndicate.org/soispha/servecs/rocie/compare/84d9a86be8ee216b47920ff3f98b567aa1d296c0..v0.1.0) - 2026-03-19
 #### Features
 - (**crates/rocie-cli**) Add support for product parents - ([5dd3eb5](https://git.foss-syndicate.org/soispha/servecs/rocie/commit/5dd3eb56474bc9106df764b5f46625c0787a4ba2)) - [@bpeetz](https://git.foss-syndicate.org/bpeetz)
diff --git a/cog.toml b/cog.toml
index 35c4c80..47cd4ba 100644
--- a/cog.toml
+++ b/cog.toml
@@ -32,6 +32,6 @@ post_bump_hooks = [
 path = "NEWS.md"
 template = "remote"
 remote = "git.foss-syndicate.org"
-repository = "servecs/rocie"
-owner = "soispha"
+repository = "rocie/server"
+owner = "bpeetz"
 authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]
diff --git a/crates/rocie-server/src/main.rs b/crates/rocie-server/src/main.rs
index 528a113..dda022b 100644
--- a/crates/rocie-server/src/main.rs
+++ b/crates/rocie-server/src/main.rs
@@ -187,7 +187,7 @@ async fn main() -> Result<(), std::io::Error> {
 fn parse_hex_key(key: &str) -> [u8; 64] {
     let mut out = [0u8; 64];
 
-    let back = parse_hex_string(key);
+    let back = parse_hex_string(key.trim());
 
     if back.len() != 64 {
         warn!(
diff --git a/crates/rocie-server/src/storage/migrate/mod.rs b/crates/rocie-server/src/storage/migrate/mod.rs
index b39b58b..1dbacab 100644
--- a/crates/rocie-server/src/storage/migrate/mod.rs
+++ b/crates/rocie-server/src/storage/migrate/mod.rs
@@ -151,7 +151,7 @@ impl DbVersion {
     async fn update(self, app: &App) -> Result<(), update::Error> {
         match self {
             Self::Empty => {
-                make_upgrade! {app, Self::Empty, Self::One, "./sql/0->1.sql"}?;
+                make_upgrade! {app, Self::Empty, Self::One, "./sql/0-1.sql"}?;
 
                 Ok(())
             }
diff --git a/crates/rocie-server/src/storage/migrate/sql/0->1.sql b/crates/rocie-server/src/storage/migrate/sql/0-1.sql
index e8bcd95..e8bcd95 100644
--- a/crates/rocie-server/src/storage/migrate/sql/0->1.sql
+++ b/crates/rocie-server/src/storage/migrate/sql/0-1.sql