From 3690b0244cf47d0d73511f5f69f5d12abe0f1837 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sat, 22 Jun 2024 18:47:49 +0200 Subject: [PATCH 1/2] fix: use forge aliases for PR comment links --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index ea76c4d..cc05ad6 100644 --- a/src/app.rs +++ b/src/app.rs @@ -672,7 +672,7 @@ impl App { .extract::, _>() .await .map_err(|e| Error::BadRequest(e.body_text().into()))?; - let query = RunQuery::from_forge_url(&req.url)?; + let query = RunQuery::from_forge_url_alias(&req.url, &state.i.cfg.load().site_aliases)?; if let Some(limiter) = &state.i.lim_pr_comment { limiter.check_key(&ip).map_err(Error::from)?; From 0516abb8fddccaf02e261107cd68c39ce560b568 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sat, 22 Jun 2024 18:48:35 +0200 Subject: [PATCH 2/2] chore(release): release artifactview v0.4.4 --- CHANGELOG.md | 7 +++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ab8fad..2d77011 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. +## [v0.4.4](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.3..v0.4.4) - 2024-06-22 + +### 🐛 Bug Fixes + +- Use forge aliases for PR comment links - ([3690b02](https://codeberg.org/ThetaDev/artifactview/commit/3690b0244cf47d0d73511f5f69f5d12abe0f1837)) + + ## [v0.4.3](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.2..v0.4.3) - 2024-06-22 ### 🐛 Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index c9226a6..6e0c455 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,7 +141,7 @@ dependencies = [ [[package]] name = "artifactview" -version = "0.4.3" +version = "0.4.4" dependencies = [ "async_zip", "axum", diff --git a/Cargo.toml b/Cargo.toml index 4dc070c..dc1a8fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "artifactview" -version = "0.4.3" +version = "0.4.4" edition = "2021" authors = ["ThetaDev "] license = "MIT"