Compare commits
26 commits
b95d755e98
...
e6a27acb47
Author | SHA1 | Date | |
---|---|---|---|
e6a27acb47 | |||
f0fbacd605 | |||
|
859a65556e | ||
|
3ae7f8813e | ||
|
642930d397 | ||
|
057a365a0e | ||
|
b67b1730b1 | ||
|
a5d49733fd | ||
|
c5c9f85e4b | ||
|
88c635cbad | ||
|
1a5c056204 | ||
|
c9db056791 | ||
|
5f94794d24 | ||
|
f41a92243c | ||
|
a88f1ba91c | ||
|
13213861ba | ||
|
2e0626667e | ||
c06fb22913 | |||
|
06f9c278a8 | ||
97c61aaf9b | |||
197eeea75b | |||
7d2c68630e | |||
|
9767167661 | ||
|
2525022df7 | ||
|
7ebe881546 | ||
|
94191f878d |
12 changed files with 284 additions and 241 deletions
27
CHANGELOG.md
27
CHANGELOG.md
|
@ -3,6 +3,33 @@
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
|
||||||
|
## [v0.4.5](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.4..v0.4.5) - 2024-07-01
|
||||||
|
|
||||||
|
### 🚀 Features
|
||||||
|
|
||||||
|
- Update PR comment format - ([197eeea](https://codeberg.org/ThetaDev/artifactview/commit/197eeea75baa8ba44d27ec46c5f552028052869b))
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- *(deps)* Update rust crate serde_json to v1.0.118 (#5) - ([fc3b5a1](https://codeberg.org/ThetaDev/artifactview/commit/fc3b5a1530985012ff8364a8fa676626e7544eaf))
|
||||||
|
- *(deps)* Update rust crate quick-xml to 0.34.0 (#8) - ([595a9d0](https://codeberg.org/ThetaDev/artifactview/commit/595a9d0f4115faf5056653406b6d05bf671dc2b3))
|
||||||
|
- *(deps)* Update rust crate mime_guess to v2.0.5 (#10) - ([94191f8](https://codeberg.org/ThetaDev/artifactview/commit/94191f878d774bef165cca850fcdf00fde16d662))
|
||||||
|
- *(deps)* Update rust crate quick-xml to 0.35.0 (#11) - ([7ebe881](https://codeberg.org/ThetaDev/artifactview/commit/7ebe8815462f3e704a79af038b9b1850ed4677ed))
|
||||||
|
- *(deps)* Update rust crate serde_json to v1.0.119 (#12) - ([2525022](https://codeberg.org/ThetaDev/artifactview/commit/2525022df76b3c16951983c14a55fa9617114a8e))
|
||||||
|
- Swap crc and size column (#3) - ([7d2c686](https://codeberg.org/ThetaDev/artifactview/commit/7d2c68630ec6e75061c050a4c8b035edb472d150))
|
||||||
|
|
||||||
|
### 📚 Documentation
|
||||||
|
|
||||||
|
- Make example CI step compatible with GitHub+Forgejo - ([39f0019](https://codeberg.org/ThetaDev/artifactview/commit/39f0019455cc23f1b8c39b77d2aaa5af278731a9))
|
||||||
|
- Update README - ([40ae3a7](https://codeberg.org/ThetaDev/artifactview/commit/40ae3a7f557c63a0bb2abcd595218c8ec1095fe7))
|
||||||
|
|
||||||
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- *(deps)* Update rust crate proptest to v1.5.0 (#6) - ([797fc0c](https://codeberg.org/ThetaDev/artifactview/commit/797fc0c04c2a51811a24cfc431496e6e5dbf0bea))
|
||||||
|
- *(deps)* Update rust crate rstest to 0.21.0 (#7) - ([cec3aa3](https://codeberg.org/ThetaDev/artifactview/commit/cec3aa3fc02e6a871d9c221f61c3f2d8828f9f63))
|
||||||
|
- *(deps)* Lock file maintenance (#13) - ([9767167](https://codeberg.org/ThetaDev/artifactview/commit/9767167661e22775614cea7b888a19ee16c17d65))
|
||||||
|
|
||||||
|
|
||||||
## [v0.4.4](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.3..v0.4.4) - 2024-06-22
|
## [v0.4.4](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.3..v0.4.4) - 2024-06-22
|
||||||
|
|
||||||
### 🐛 Bug Fixes
|
### 🐛 Bug Fixes
|
||||||
|
|
418
Cargo.lock
generated
418
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "artifactview"
|
name = "artifactview"
|
||||||
version = "0.4.4"
|
version = "0.4.5"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["ThetaDev <thetadev@magenta.de>"]
|
authors = ["ThetaDev <thetadev@magenta.de>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -30,7 +30,7 @@ axum = { version = "0.7.5", default-features = false, features = [
|
||||||
"tracing",
|
"tracing",
|
||||||
] }
|
] }
|
||||||
axum-extra = { version = "0.9.3", features = ["typed-header"] }
|
axum-extra = { version = "0.9.3", features = ["typed-header"] }
|
||||||
comrak = { version = "0.24.1", default-features = false }
|
comrak = { version = "0.26.0", default-features = false }
|
||||||
dotenvy = "0.15.7"
|
dotenvy = "0.15.7"
|
||||||
envy = { path = "crates/envy" }
|
envy = { path = "crates/envy" }
|
||||||
flate2 = "1.0.30"
|
flate2 = "1.0.30"
|
||||||
|
@ -46,7 +46,7 @@ once_cell = "1.19.0"
|
||||||
path_macro = "1.0.0"
|
path_macro = "1.0.0"
|
||||||
percent-encoding = "2.3.1"
|
percent-encoding = "2.3.1"
|
||||||
pin-project = "1.1.5"
|
pin-project = "1.1.5"
|
||||||
quick_cache = "0.5.1"
|
quick_cache = "0.6.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
regex = "1.10.4"
|
regex = "1.10.4"
|
||||||
reqwest = { version = "0.12.4", default-features = false, features = [
|
reqwest = { version = "0.12.4", default-features = false, features = [
|
||||||
|
|
|
@ -49,7 +49,7 @@ tokio-util = { version = "0.7", features = ["compat"], optional = true }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
tokio-util = { version = "0.7", features = ["compat"] }
|
tokio-util = { version = "0.7", features = ["compat"] }
|
||||||
env_logger = "0.11.2"
|
env_logger = "0.11.2"
|
||||||
zip = "=2.1.1"
|
zip = "2.1.5"
|
||||||
|
|
||||||
# shared across multiple examples
|
# shared across multiple examples
|
||||||
# anyhow = "1"
|
# anyhow = "1"
|
||||||
|
|
|
@ -7,7 +7,7 @@ license = "BSD-2-Clause"
|
||||||
repository = "https://github.com/borisfaure/junit-parser"
|
repository = "https://github.com/borisfaure/junit-parser"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quick-xml = { version = "0.34.0", features = ["escape-html"] }
|
quick-xml = { version = "0.36.0", features = ["escape-html"] }
|
||||||
thiserror = "1.0.61"
|
thiserror = "1.0.61"
|
||||||
time = { version = "0.3.36", features = ["parsing", "serde-well-known"] }
|
time = { version = "0.3.36", features = ["parsing", "serde-well-known"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
":maintainLockFilesWeekly"
|
":maintainLockFilesWeekly"
|
||||||
],
|
],
|
||||||
"semanticCommits": "enabled",
|
"semanticCommits": "enabled",
|
||||||
|
"automerge": true,
|
||||||
"automergeStrategy": "squash",
|
"automergeStrategy": "squash",
|
||||||
"osvVulnerabilityAlerts": true,
|
"osvVulnerabilityAlerts": true,
|
||||||
"labels": ["dependency-upgrade"],
|
"labels": ["dependency-upgrade"],
|
||||||
|
|
39
src/app.rs
39
src/app.rs
|
@ -844,6 +844,11 @@ fn pr_comment_text(p: PrCommentTextParams) -> String {
|
||||||
let query = p.query;
|
let query = p.query;
|
||||||
let mut content = "### ".to_owned();
|
let mut content = "### ".to_owned();
|
||||||
let mut prevln = "- ".to_owned();
|
let mut prevln = "- ".to_owned();
|
||||||
|
let a_opts = r#"target="_blank" rel="noopener noreferrer""#;
|
||||||
|
let date_started = p
|
||||||
|
.run
|
||||||
|
.date_started
|
||||||
|
.and_then(|d| d.to_offset(time::UtcOffset::UTC).format(&DATE_FORMAT).ok());
|
||||||
|
|
||||||
let mut prev_builds = None;
|
let mut prev_builds = None;
|
||||||
let mut np_content = None;
|
let mut np_content = None;
|
||||||
|
@ -866,10 +871,7 @@ fn pr_comment_text(p: PrCommentTextParams) -> String {
|
||||||
|
|
||||||
let write_link_icon = |s: &mut String, title: &str, href: &str| {
|
let write_link_icon = |s: &mut String, title: &str, href: &str| {
|
||||||
let (title_pfx, title) = util::split_icon_prefix(title);
|
let (title_pfx, title) = util::split_icon_prefix(title);
|
||||||
_ = write!(
|
_ = write!(s, r#"{title_pfx}<a href="{href}" {a_opts}>{title}</a>"#,);
|
||||||
s,
|
|
||||||
r#"{title_pfx}<a href="{href}" target="_blank" rel="noopener noreferrer">{title}</a>"#,
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Comment title
|
// Comment title
|
||||||
|
@ -877,17 +879,23 @@ fn pr_comment_text(p: PrCommentTextParams) -> String {
|
||||||
let artifacts_url = format!("{}/?url={}", p.cfg.main_url(), run_url);
|
let artifacts_url = format!("{}/?url={}", p.cfg.main_url(), run_url);
|
||||||
write_link_icon(
|
write_link_icon(
|
||||||
&mut content,
|
&mut content,
|
||||||
p.title.unwrap_or("👁️ Latest build artifacts"),
|
p.title.unwrap_or("Latest build artifacts"),
|
||||||
&artifacts_url,
|
&artifacts_url,
|
||||||
);
|
);
|
||||||
_ = write!(&mut content, " (Run [#{}]({}), ", query.run, run_url);
|
_ = write!(&mut content, "\n\n Run [#{}]({}) · ", query.run, run_url);
|
||||||
write_commit(&mut content, &p.run.head_sha);
|
write_commit(&mut content, &p.run.head_sha);
|
||||||
_ = content.write_str(")\n\n");
|
if let Some(date_started) = &date_started {
|
||||||
|
_ = write!(&mut content, " · {} UTC", date_started);
|
||||||
|
}
|
||||||
|
_ = content.write_str("\n\n");
|
||||||
|
|
||||||
// Previous run line
|
// Previous run line
|
||||||
_ = write!(&mut prevln, "[#{}]({}) [", query.run, run_url);
|
_ = write!(&mut prevln, "[#{}]({}) [", query.run, run_url);
|
||||||
write_commit(&mut prevln, &p.run.head_sha);
|
write_commit(&mut prevln, &p.run.head_sha);
|
||||||
_ = write!(&mut prevln, "] [Artifacts]({artifacts_url}): ");
|
_ = write!(
|
||||||
|
&mut prevln,
|
||||||
|
"] <a href=\"{artifacts_url}\" {a_opts}>Artifacts</a>: "
|
||||||
|
);
|
||||||
|
|
||||||
for a in p.artifacts.iter().filter(|a| !a.expired) {
|
for a in p.artifacts.iter().filter(|a| !a.expired) {
|
||||||
let mut url = p
|
let mut url = p
|
||||||
|
@ -910,8 +918,8 @@ fn pr_comment_text(p: PrCommentTextParams) -> String {
|
||||||
_ = content.write_str("<br>\n");
|
_ = content.write_str("<br>\n");
|
||||||
_ = write!(
|
_ = write!(
|
||||||
&mut prevln,
|
&mut prevln,
|
||||||
r#" <a href="{}" target="_blank" rel="noopener noreferrer">`{}`</a>,"#,
|
r#" <a href="{url}" {a_opts}>`{}`</a>,"#,
|
||||||
url, a.name
|
a.name
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -919,15 +927,8 @@ fn pr_comment_text(p: PrCommentTextParams) -> String {
|
||||||
prevln.pop();
|
prevln.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(date_started) = &p.run.date_started {
|
if let Some(date_started) = &date_started {
|
||||||
_ = write!(
|
_ = write!(&mut prevln, " ({} UTC)", date_started);
|
||||||
&mut prevln,
|
|
||||||
" ({} UTC)",
|
|
||||||
date_started
|
|
||||||
.to_offset(time::UtcOffset::UTC)
|
|
||||||
.format(&DATE_FORMAT)
|
|
||||||
.unwrap_or_default()
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if np_content.is_some() || prev_builds.is_some() {
|
if np_content.is_some() || prev_builds.is_some() {
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
source: src/app.rs
|
source: src/app.rs
|
||||||
expression: res
|
expression: res
|
||||||
---
|
---
|
||||||
### 👁️ <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1" target="_blank" rel="noopener noreferrer">Latest build artifacts</a> (Run [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1), [15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397))
|
### <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1" target="_blank" rel="noopener noreferrer">Latest build artifacts</a>
|
||||||
|
|
||||||
|
Run [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) · [15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397) · 15.06.2024 01:30:00 UTC
|
||||||
|
|
||||||
🏠 <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">Hello World ;-)</a><br>
|
🏠 <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">Hello World ;-)</a><br>
|
||||||
<a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">Test</a><br>
|
<a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">Test</a><br>
|
||||||
<!--NEXT_PREV - [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) [[15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397)] [Artifacts](https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1): <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 01:30:00 UTC) -->
|
<!--NEXT_PREV - [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) [[15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397)] <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1" target="_blank" rel="noopener noreferrer">Artifacts</a>: <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 01:30:00 UTC) -->
|
||||||
|
|
|
@ -2,13 +2,15 @@
|
||||||
source: src/app.rs
|
source: src/app.rs
|
||||||
expression: res
|
expression: res
|
||||||
---
|
---
|
||||||
### 👁️ <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/2" target="_blank" rel="noopener noreferrer">Latest build artifacts</a> (Run [#2](https://code.thetadev.de/thetadev/test-actions/actions/runs/2), [25eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/25eed48a8382513147a949117ef4aa659989d397))
|
### <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/2" target="_blank" rel="noopener noreferrer">Latest build artifacts</a>
|
||||||
|
|
||||||
|
Run [#2](https://code.thetadev.de/thetadev/test-actions/actions/runs/2) · [25eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/25eed48a8382513147a949117ef4aa659989d397) · 15.06.2024 02:30:00 UTC
|
||||||
|
|
||||||
🏠 <a href="https://code-thetadev-de--thetadev--test-actions--2-1.localhost:3000" target="_blank" rel="noopener noreferrer">Hello World ;-)</a><br>
|
🏠 <a href="https://code-thetadev-de--thetadev--test-actions--2-1.localhost:3000" target="_blank" rel="noopener noreferrer">Hello World ;-)</a><br>
|
||||||
<a href="https://code-thetadev-de--thetadev--test-actions--2-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">Test</a><br>
|
<a href="https://code-thetadev-de--thetadev--test-actions--2-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">Test</a><br>
|
||||||
<details>
|
<details>
|
||||||
<summary>Previous builds</summary>
|
<summary>Previous builds</summary>
|
||||||
|
|
||||||
- [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) [[15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397)] [Artifacts](https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1): <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 01:30:00 UTC)
|
- [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) [[15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397)] <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1" target="_blank" rel="noopener noreferrer">Artifacts</a>: <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 01:30:00 UTC)
|
||||||
<!--NEXT_PREV - [#2](https://code.thetadev.de/thetadev/test-actions/actions/runs/2) [[25eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/25eed48a8382513147a949117ef4aa659989d397)] [Artifacts](https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/2): <a href="https://code-thetadev-de--thetadev--test-actions--2-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--2-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 02:30:00 UTC) -->
|
<!--NEXT_PREV - [#2](https://code.thetadev.de/thetadev/test-actions/actions/runs/2) [[25eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/25eed48a8382513147a949117ef4aa659989d397)] <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/2" target="_blank" rel="noopener noreferrer">Artifacts</a>: <a href="https://code-thetadev-de--thetadev--test-actions--2-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--2-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 02:30:00 UTC) -->
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -2,14 +2,16 @@
|
||||||
source: src/app.rs
|
source: src/app.rs
|
||||||
expression: res
|
expression: res
|
||||||
---
|
---
|
||||||
### 👁️ <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/3" target="_blank" rel="noopener noreferrer">Latest build artifacts</a> (Run [#3](https://code.thetadev.de/thetadev/test-actions/actions/runs/3), [35eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/35eed48a8382513147a949117ef4aa659989d397))
|
### <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/3" target="_blank" rel="noopener noreferrer">Latest build artifacts</a>
|
||||||
|
|
||||||
|
Run [#3](https://code.thetadev.de/thetadev/test-actions/actions/runs/3) · [35eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/35eed48a8382513147a949117ef4aa659989d397) · 15.06.2024 03:30:00 UTC
|
||||||
|
|
||||||
🏠 <a href="https://code-thetadev-de--thetadev--test-actions--3-1.localhost:3000" target="_blank" rel="noopener noreferrer">Hello World ;-)</a><br>
|
🏠 <a href="https://code-thetadev-de--thetadev--test-actions--3-1.localhost:3000" target="_blank" rel="noopener noreferrer">Hello World ;-)</a><br>
|
||||||
<a href="https://code-thetadev-de--thetadev--test-actions--3-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">Test</a><br>
|
<a href="https://code-thetadev-de--thetadev--test-actions--3-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">Test</a><br>
|
||||||
<details>
|
<details>
|
||||||
<summary>Previous builds</summary>
|
<summary>Previous builds</summary>
|
||||||
|
|
||||||
- [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) [[15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397)] [Artifacts](https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1): <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 01:30:00 UTC)
|
- [#1](https://code.thetadev.de/thetadev/test-actions/actions/runs/1) [[15eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/15eed48a8382513147a949117ef4aa659989d397)] <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/1" target="_blank" rel="noopener noreferrer">Artifacts</a>: <a href="https://code-thetadev-de--thetadev--test-actions--1-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--1-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 01:30:00 UTC)
|
||||||
- [#2](https://code.thetadev.de/thetadev/test-actions/actions/runs/2) [[25eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/25eed48a8382513147a949117ef4aa659989d397)] [Artifacts](https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/2): <a href="https://code-thetadev-de--thetadev--test-actions--2-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--2-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 02:30:00 UTC)
|
- [#2](https://code.thetadev.de/thetadev/test-actions/actions/runs/2) [[25eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/25eed48a8382513147a949117ef4aa659989d397)] <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/2" target="_blank" rel="noopener noreferrer">Artifacts</a>: <a href="https://code-thetadev-de--thetadev--test-actions--2-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--2-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 02:30:00 UTC)
|
||||||
<!--NEXT_PREV - [#3](https://code.thetadev.de/thetadev/test-actions/actions/runs/3) [[35eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/35eed48a8382513147a949117ef4aa659989d397)] [Artifacts](https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/3): <a href="https://code-thetadev-de--thetadev--test-actions--3-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--3-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 03:30:00 UTC) -->
|
<!--NEXT_PREV - [#3](https://code.thetadev.de/thetadev/test-actions/actions/runs/3) [[35eed48a83](https://code.thetadev.de/thetadev/test-actions/commit/35eed48a8382513147a949117ef4aa659989d397)] <a href="https://localhost:3000/?url=https://code.thetadev.de/thetadev/test-actions/actions/runs/3" target="_blank" rel="noopener noreferrer">Artifacts</a>: <a href="https://code-thetadev-de--thetadev--test-actions--3-1.localhost:3000" target="_blank" rel="noopener noreferrer">`Hello`</a>, <a href="https://code-thetadev-de--thetadev--test-actions--3-2.localhost:3000/junit.xml?viewer=1" target="_blank" rel="noopener noreferrer">`Test`</a> (15.06.2024 03:30:00 UTC) -->
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
<th><a href="?C=N&O=A">Name</a> <a
|
<th><a href="?C=N&O=A">Name</a> <a
|
||||||
href="?C=N&O=D"
|
href="?C=N&O=D"
|
||||||
> ↓ </a></th>
|
> ↓ </a></th>
|
||||||
|
<th>CRC32</th>
|
||||||
<th><a href="?C=S&O=A">Size</a> <a
|
<th><a href="?C=S&O=A">Size</a> <a
|
||||||
href="?C=S&O=D"
|
href="?C=S&O=D"
|
||||||
> ↓ </a></th>
|
> ↓ </a></th>
|
||||||
<th>CRC32</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -45,8 +45,8 @@
|
||||||
<span class="name">{{name}}</span>
|
<span class="name">{{name}}</span>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>{{#if is_dir}}—{{else}}{{size}}{{/if}}</td>
|
|
||||||
<td>{{#if is_dir}}—{{else}}{{crc32}}{{/if}}</td>
|
<td>{{#if is_dir}}—{{else}}{{crc32}}{{/if}}</td>
|
||||||
|
<td>{{#if is_dir}}—{{else}}{{size}}{{/if}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -242,8 +242,8 @@ fn parse_listing(doc: &Html) -> Vec<FileEntry> {
|
||||||
|
|
||||||
FileEntry {
|
FileEntry {
|
||||||
name,
|
name,
|
||||||
size: parts.next().expect("size"),
|
|
||||||
crc32: parts.next().expect("crc32"),
|
crc32: parts.next().expect("crc32"),
|
||||||
|
size: parts.next().expect("size"),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.collect()
|
.collect()
|
||||||
|
|
Loading…
Reference in a new issue