git-bot-feedback 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/CHANGELOG.md +8 -3
  2. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/Cargo.lock +2 -2
  3. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/Cargo.toml +1 -1
  4. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/PKG-INFO +1 -1
  5. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/bindings/python/CHANGELOG.md +19 -0
  6. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/bindings/python/Cargo.toml +2 -2
  7. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/gitea/mod.rs +23 -3
  8. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/github/mod.rs +19 -2
  9. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/.gitattributes +0 -0
  10. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/.gitignore +0 -0
  11. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/.pre-commit-config.yaml +0 -0
  12. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/CONTRIBUTING.md +0 -0
  13. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/LICENSE +0 -0
  14. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/README.md +0 -0
  15. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/README.rst +0 -0
  16. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/bindings/python/README.rst +0 -0
  17. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/bindings/python/git_bot_feedback.pyi +0 -0
  18. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/bindings/python/src/lib.rs +0 -0
  19. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/bindings/python/src/wrapper.rs +0 -0
  20. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/build.rs +0 -0
  21. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/codecov.yml +0 -0
  22. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/cspell.config.yml +0 -0
  23. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/client.rst +0 -0
  24. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/file-annotations.rst +0 -0
  25. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/file-changes.rst +0 -0
  26. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/index.rst +0 -0
  27. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/output-variables.rst +0 -0
  28. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/pr-reviews.rst +0 -0
  29. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/API/thread-comments.rst +0 -0
  30. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/_static/favicon.ico +0 -0
  31. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/_static/logo.png +0 -0
  32. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/conf.py +0 -0
  33. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/index.rst +0 -0
  34. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/docs/logo.xcf +0 -0
  35. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/git_bot_feedback.pyi +0 -0
  36. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/nurfile +0 -0
  37. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/pyproject.toml +0 -0
  38. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/common.rs +0 -0
  39. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/gitea/serde_structs.rs +0 -0
  40. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/gitea/specific_api.rs +0 -0
  41. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/github/graphql.rs +0 -0
  42. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/github/serde_structs.rs +0 -0
  43. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/github/specific_api.rs +0 -0
  44. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/local.rs +0 -0
  45. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/client/mod.rs +0 -0
  46. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/comments/mod.rs +0 -0
  47. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/comments/review_comments.rs +0 -0
  48. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/comments/thread_comments.rs +0 -0
  49. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/error.rs +0 -0
  50. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/file_annotations.rs +0 -0
  51. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/file_utils/file_filter.rs +0 -0
  52. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/file_utils/mod.rs +0 -0
  53. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/git_diff.rs +0 -0
  54. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/lib.rs +0 -0
  55. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/src/output_variable.rs +0 -0
  56. {git_bot_feedback-0.2.2 → git_bot_feedback-0.2.3}/uv.lock +0 -0
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
  <!-- markdownlint-disable MD024 -->
8
8
 
9
- ## [git-bot-feedback/v0.8.2] - 2026-09-24
9
+ ## [git-bot-feedback/v0.8.3] - 2026-09-26
10
10
 
11
11
  ### <!-- 1 --> 🚀 Added
12
12
 
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
26
  - Strip parent path from `walk_dir()` results by @2bndy5 in [#83](https://github.com/2bndy5/git-bot-feedback/pull/83)
27
27
  - Add python bindings by @2bndy5 in [#90](https://github.com/2bndy5/git-bot-feedback/pull/90)
28
28
  - Add Gitea support by @2bndy5 in [#94](https://github.com/2bndy5/git-bot-feedback/pull/94)
29
+ - Log link to view step summary by @Copilot in [#125](https://github.com/2bndy5/git-bot-feedback/pull/125)
29
30
 
30
31
  ### <!-- 10 --> 💥 Breaking Changes
31
32
 
@@ -56,9 +57,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
56
57
 
57
58
  - Revise `FileAnnotations` impl by @2bndy5 in [#64](https://github.com/2bndy5/git-bot-feedback/pull/64)
58
59
 
59
- [git-bot-feedback/v0.8.2]: https://github.com/2bndy5/git-bot-feedback/compare/git-bot-feedback/v0.8.1...git-bot-feedback/v0.8.2
60
+ [git-bot-feedback/v0.8.3]: https://github.com/2bndy5/git-bot-feedback/compare/git-bot-feedback/v0.8.2...git-bot-feedback/v0.8.3
60
61
 
61
- Full commit diff: [`git-bot-feedback/v0.8.1...git-bot-feedback/v0.8.2`][git-bot-feedback/v0.8.2]
62
+ Full commit diff: [`git-bot-feedback/v0.8.2...git-bot-feedback/v0.8.3`][git-bot-feedback/v0.8.3]
63
+
64
+ ## New Contributors
65
+
66
+ - @Copilot made their first contribution in [#125](https://github.com/2bndy5/git-bot-feedback/pull/125)
62
67
 
63
68
 
64
69
  <!-- generated by git-cliff -->
@@ -427,7 +427,7 @@ dependencies = [
427
427
 
428
428
  [[package]]
429
429
  name = "git-bot-feedback"
430
- version = "0.8.2"
430
+ version = "0.8.3"
431
431
  dependencies = [
432
432
  "async-trait",
433
433
  "chrono",
@@ -447,7 +447,7 @@ dependencies = [
447
447
 
448
448
  [[package]]
449
449
  name = "git-bot-feedback-py"
450
- version = "0.2.2"
450
+ version = "0.2.3"
451
451
  dependencies = [
452
452
  "git-bot-feedback",
453
453
  "pyo3",
@@ -21,7 +21,7 @@ features = ["http2", "charset", "system-proxy"]
21
21
  [package]
22
22
  name = "git-bot-feedback"
23
23
  description = "A library designed for CI tools that posts comments on a Pull Request."
24
- version = "0.8.2"
24
+ version = "0.8.3"
25
25
  edition.workspace = true
26
26
  license.workspace = true
27
27
  repository.workspace = true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-bot-feedback
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Intended Audience :: System Administrators
@@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
  <!-- markdownlint-disable MD024 -->
8
8
 
9
+ ## [git-bot-feedback-py/v0.2.3] - 2026-09-26
10
+
11
+ ### <!-- 1 --> 🚀 Added
12
+
13
+ - Log link to view step summary by @Copilot in [#125](https://github.com/2bndy5/git-bot-feedback/pull/125)
14
+
15
+ ### <!-- 6 --> 📦 Dependency updates
16
+
17
+ - Bump version to git-bot-feedback/v0.8.3 by @2bndy5 in [`131efb2`](https://github.com/2bndy5/git-bot-feedback/commit/131efb2fa166d48b7467abd16e43e01c52e2d0fd)
18
+
19
+ [git-bot-feedback-py/v0.2.3]: https://github.com/2bndy5/git-bot-feedback/compare/git-bot-feedback-py/v0.2.2...git-bot-feedback-py/v0.2.3
20
+
21
+ Full commit diff: [`git-bot-feedback-py/v0.2.2...git-bot-feedback-py/v0.2.3`][git-bot-feedback-py/v0.2.3]
22
+
23
+ ## New Contributors
24
+
25
+ - @Copilot made their first contribution in [#125](https://github.com/2bndy5/git-bot-feedback/pull/125)
26
+
9
27
  ## [git-bot-feedback-py/v0.2.2] - 2026-09-24
10
28
 
11
29
  ### <!-- 4 --> 🛠️ Fixed
@@ -15,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
33
  ### <!-- 6 --> 📦 Dependency updates
16
34
 
17
35
  - Bump version to git-bot-feedback/v0.8.2 by @2bndy5 in [`0e5400a`](https://github.com/2bndy5/git-bot-feedback/commit/0e5400a13f9ee9db19faff7d01a7f70c6869ae42)
36
+ - Bump version to git-bot-feedback-py/v0.2.2 by @2bndy5 in [`97831d5`](https://github.com/2bndy5/git-bot-feedback/commit/97831d5b783f08dc524dc0a7e474374bdfcb685e)
18
37
 
19
38
  [git-bot-feedback-py/v0.2.2]: https://github.com/2bndy5/git-bot-feedback/compare/git-bot-feedback-py/v0.2.1...git-bot-feedback-py/v0.2.2
20
39
 
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "git-bot-feedback-py"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  edition.workspace = true
5
5
  license.workspace = true
6
6
  repository.workspace = true
@@ -14,7 +14,7 @@ crate-type = ["cdylib"] # spell-checker: disable-line
14
14
  path = "src/lib.rs"
15
15
 
16
16
  [dependencies]
17
- git-bot-feedback = { path = "../..", version = "0.8.2", features = ["file-changes", "pyo3"] }
17
+ git-bot-feedback = { path = "../..", version = "0.8.3", features = ["file-changes", "pyo3"] }
18
18
  pyo3 = { workspace = true }
19
19
  pyo3-async-runtimes = { version = "0.29.0", features = ["tokio-runtime"] }
20
20
  pyo3-log = "0.13.4"
@@ -47,6 +47,22 @@ pub struct GiteaApiClient {
47
47
  rate_limit_headers: RestApiRateLimitHeaders,
48
48
  }
49
49
 
50
+ fn step_summary_url() -> Option<String> {
51
+ let server_url = env::var("GITEA_SERVER_URL")
52
+ .or_else(|_| env::var("GITHUB_SERVER_URL"))
53
+ .ok()?;
54
+ let repo = env::var("GITEA_REPOSITORY")
55
+ .or_else(|_| env::var("GITHUB_REPOSITORY"))
56
+ .ok()?;
57
+ let run_id = env::var("GITEA_RUN_ID")
58
+ .or_else(|_| env::var("GITHUB_RUN_ID"))
59
+ .ok()?;
60
+ Some(format!(
61
+ "{}/{repo}/actions/runs/{run_id}",
62
+ server_url.trim_end_matches('/')
63
+ ))
64
+ }
65
+
50
66
  #[async_trait]
51
67
  impl RestApiClient for GiteaApiClient {
52
68
  fn start_log_group(&self, name: &str) {
@@ -257,10 +273,14 @@ impl RestApiClient for GiteaApiClient {
257
273
  // step summary MD file can be overwritten/removed in CI runners
258
274
  return match OpenOptions::new().append(true).open(gh_out) {
259
275
  Ok(mut gh_out_file) => {
260
- let result = writeln!(&mut gh_out_file, "\n{comment}\n");
261
- result.map_err(|e| ClientError::io("write to GITHUB_STEP_SUMMARY file", e))
276
+ writeln!(&mut gh_out_file, "\n{comment}\n")
277
+ .map_err(|e| ClientError::io("write to GITEA_STEP_SUMMARY file", e))?;
278
+ if let Some(step_summary_url) = step_summary_url() {
279
+ log::info!("View step summary at {step_summary_url}");
280
+ }
281
+ Ok(())
262
282
  }
263
- Err(e) => Err(ClientError::io("write to GITHUB_STEP_SUMMARY file", e)),
283
+ Err(e) => Err(ClientError::io("open GITEA_STEP_SUMMARY file", e)),
264
284
  };
265
285
  }
266
286
  Ok(())
@@ -56,6 +56,16 @@ pub struct GithubApiClient {
56
56
  rate_limit_headers: RestApiRateLimitHeaders,
57
57
  }
58
58
 
59
+ fn step_summary_url() -> Option<String> {
60
+ let server_url = env::var("GITHUB_SERVER_URL").ok()?;
61
+ let repo = env::var("GITHUB_REPOSITORY").ok()?;
62
+ let run_id = env::var("GITHUB_RUN_ID").ok()?;
63
+ Some(format!(
64
+ "{}/{repo}/actions/runs/{run_id}",
65
+ server_url.trim_end_matches('/')
66
+ ))
67
+ }
68
+
59
69
  // implement the RestApiClient trait for the GithubApiClient
60
70
  #[async_trait]
61
71
  impl RestApiClient for GithubApiClient {
@@ -146,8 +156,14 @@ impl RestApiClient for GithubApiClient {
146
156
  .map_err(|e| ClientError::env_var("GITHUB_STEP_SUMMARY", e))?;
147
157
  // step summary MD file can be overwritten/removed in CI runners
148
158
  match OpenOptions::new().append(true).open(gh_out) {
149
- Ok(mut gh_out_file) => writeln!(&mut gh_out_file, "\n{comment}\n")
150
- .map_err(|e| ClientError::io("write to GITHUB_STEP_SUMMARY file", e)),
159
+ Ok(mut gh_out_file) => {
160
+ writeln!(&mut gh_out_file, "\n{comment}\n")
161
+ .map_err(|e| ClientError::io("write to GITHUB_STEP_SUMMARY file", e))?;
162
+ if let Some(step_summary_url) = step_summary_url() {
163
+ log::info!("View step summary at {step_summary_url}");
164
+ }
165
+ Ok(())
166
+ }
151
167
  Err(e) => Err(ClientError::io("open GITHUB_STEP_SUMMARY file", e)),
152
168
  }
153
169
  }
@@ -274,6 +290,7 @@ impl RestApiClient for GithubApiClient {
274
290
  // else changes are too big (per git server limits) or we don't care
275
291
  }
276
292
  }
293
+
277
294
  Ok(files)
278
295
  }
279
296