Compare commits

...

159 Commits

Author SHA1 Message Date
4b8730d6e0 Fix pedantic clippy lints
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 10:44:26 +02:00
25aea0f04d Apply cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 10:38:34 +02:00
410a602638 Enable pedantic lints
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 10:37:23 +02:00
894afaa75d Fix or allow pedantic clippy lints 2023-07-27 10:37:16 +02:00
29710d9263 Merge pull request #650 from vbrandl/dependabot/cargo/serde-1.0.176
Bump serde from 1.0.175 to 1.0.176
2023-07-27 10:33:16 +02:00
d49a8d330b Update Changelog 2023-07-27 08:27:08 +00:00
cb746c949b Bump serde from 1.0.175 to 1.0.176
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.175 to 1.0.176.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 08:26:54 +00:00
f4a83aad2c Merge pull request #649 from vbrandl/dependabot/cargo/serde_json-1.0.104
Bump serde_json from 1.0.103 to 1.0.104
2023-07-27 10:26:14 +02:00
5765016163 Update Changelog 2023-07-27 04:04:57 +00:00
8ded2da3ee Bump serde_json from 1.0.103 to 1.0.104
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 04:04:43 +00:00
a5c99fa7f5 Merge pull request #648 from vbrandl/dependabot/cargo/serde-1.0.175
Bump serde from 1.0.173 to 1.0.175
2023-07-24 08:58:04 +02:00
caee48f4a4 Update Changelog 2023-07-24 06:54:38 +00:00
18af42ed58 Bump serde from 1.0.173 to 1.0.175
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.173 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.175)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 06:54:21 +00:00
5505331599 Merge pull request #647 from vbrandl/dependabot/cargo/ructe-0.17.0
Bump ructe from 0.16.1 to 0.17.0
2023-07-24 08:53:36 +02:00
deec0a0fa6 Update Changelog 2023-07-24 04:06:57 +00:00
514960324c Bump ructe from 0.16.1 to 0.17.0
Bumps [ructe](https://github.com/kaj/ructe) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/kaj/ructe/releases)
- [Changelog](https://github.com/kaj/ructe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kaj/ructe/compare/v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: ructe
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 04:06:44 +00:00
f86c59fe41 Merge pull request #646 from vbrandl/dependabot/cargo/tempfile-3.7.0
Bump tempfile from 3.6.0 to 3.7.0
2023-07-21 13:05:45 +02:00
f7366f8939 Update Changelog 2023-07-21 11:02:09 +00:00
0c0c2331b1 Bump tempfile from 3.6.0 to 3.7.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.6.0 to 3.7.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 11:01:52 +00:00
92f3a15384 Merge pull request #645 from vbrandl/dependabot/cargo/serde-1.0.173
Bump serde from 1.0.171 to 1.0.173
2023-07-21 13:00:38 +02:00
93de768362 Update Changelog 2023-07-20 04:29:53 +00:00
ebee3bb272 Bump serde from 1.0.171 to 1.0.173
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.173.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.173)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 04:29:40 +00:00
23587a7099 Merge pull request #644 from vbrandl/dependabot/cargo/serde_json-1.0.103
Bump serde_json from 1.0.102 to 1.0.103
2023-07-18 09:55:25 +02:00
648e2b47ba Update Changelog 2023-07-18 07:51:27 +00:00
6f58f1f769 Bump serde_json from 1.0.102 to 1.0.103
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.102...v1.0.103)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 07:51:08 +00:00
b4bd8d2176 Merge pull request #643 from vbrandl/dependabot/cargo/anyhow-1.0.72
Bump anyhow from 1.0.71 to 1.0.72
2023-07-18 09:50:12 +02:00
19bc8126a8 Update Changelog 2023-07-18 07:18:24 +00:00
a790b6cca6 Bump anyhow from 1.0.71 to 1.0.72
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 07:18:08 +00:00
ae22e0f385 Merge pull request #642 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.8
Bump tracing-bunyan-formatter from 0.3.7 to 0.3.8
2023-07-18 09:17:25 +02:00
c9ccb2891c Update Changelog 2023-07-17 04:07:27 +00:00
9fbbad7157 Bump tracing-bunyan-formatter from 0.3.7 to 0.3.8
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.7 to 0.3.8.
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: tracing-bunyan-formatter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 04:07:13 +00:00
3789ddd152 Merge pull request #641 from vbrandl/dependabot/cargo/serde_json-1.0.102
Bump serde_json from 1.0.100 to 1.0.102
2023-07-12 20:07:22 +02:00
f25e883fd1 Update Changelog 2023-07-12 04:23:46 +00:00
a684341cd3 Bump serde_json from 1.0.100 to 1.0.102
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.100 to 1.0.102.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.100...v1.0.102)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 04:23:31 +00:00
3f42a03fa8 Merge pull request #640 from vbrandl/dependabot/cargo/serde-1.0.171
Bump serde from 1.0.167 to 1.0.171
2023-07-10 08:33:28 +02:00
8a71b308df Update Changelog 2023-07-10 04:12:17 +00:00
37f8a1d32e Bump serde from 1.0.167 to 1.0.171
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.167 to 1.0.171.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.167...v1.0.171)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:12:03 +00:00
84686aecdb Merge pull request #639 from vbrandl/dependabot/cargo/serde-1.0.167
Bump serde from 1.0.166 to 1.0.167
2023-07-07 09:30:43 +02:00
208a6db95c Update Changelog 2023-07-07 04:30:31 +00:00
d43ef2402e Bump serde from 1.0.166 to 1.0.167
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.166 to 1.0.167.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.167)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 04:30:18 +00:00
14e353fd26 Merge pull request #638 from vbrandl/dependabot/cargo/vergen-8.2.4
Bump vergen from 8.2.3 to 8.2.4
2023-07-06 09:29:42 +02:00
0735399ff9 Update Changelog 2023-07-06 04:09:58 +00:00
ef1e53637e Bump vergen from 8.2.3 to 8.2.4
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.3 to 8.2.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.3...8.2.4)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 04:09:42 +00:00
453963193f Merge pull request #637 from vbrandl/dependabot/cargo/serde_json-1.0.100
Bump serde_json from 1.0.99 to 1.0.100
2023-07-05 10:01:10 +02:00
7ebc300d6f Update Changelog 2023-07-05 04:26:58 +00:00
0520679022 Bump serde_json from 1.0.99 to 1.0.100
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.99...v1.0.100)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 04:26:40 +00:00
7b50187daa Merge pull request #635 from vbrandl/dependabot/cargo/vergen-8.2.3
Bump vergen from 8.2.1 to 8.2.3
2023-07-04 10:04:31 +02:00
eb0c8904d8 Apply cargo update and cargo upgrade
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-04 10:00:22 +02:00
0088b5f4b2 Update Changelog 2023-07-04 07:49:40 +00:00
40b19c259c Bump vergen from 8.2.1 to 8.2.3
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.1 to 8.2.3.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.1...8.2.3)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 07:49:24 +00:00
caebd865f6 Merge pull request #636 from vbrandl/dependabot/cargo/serde-1.0.166
Bump serde from 1.0.164 to 1.0.166
2023-07-04 09:48:49 +02:00
232c870078 Update Changelog 2023-07-04 04:19:30 +00:00
e12195a9b1 Bump serde from 1.0.164 to 1.0.166
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 04:19:15 +00:00
cb6423565c Merge pull request #634 from vbrandl/dependabot/cargo/tokio-1.29.1
Bump tokio from 1.29.0 to 1.29.1
2023-07-01 10:47:47 +02:00
9ea6f7c96c Update Changelog 2023-06-30 04:44:53 +00:00
9f0df6cdb4 Bump tokio from 1.29.0 to 1.29.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 04:44:37 +00:00
13806d73ab Merge pull request #633 from vbrandl/dependabot/cargo/tokio-1.29.0
Bump tokio from 1.28.2 to 1.29.0
2023-06-28 12:48:01 +02:00
b80817943b Update Changelog 2023-06-28 05:00:52 +00:00
be39e8b757 Bump tokio from 1.28.2 to 1.29.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 05:00:35 +00:00
49ba32ba94 Merge pull request #632 from vbrandl/dependabot/cargo/serde_json-1.0.99
Bump serde_json from 1.0.97 to 1.0.99
2023-06-26 12:26:14 +02:00
2c08b3d6af Update Changelog 2023-06-26 05:00:32 +00:00
fa0982b35c Bump serde_json from 1.0.97 to 1.0.99
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.97 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.97...v1.0.99)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:00:18 +00:00
ca2fd495d7 Merge pull request #631 from vbrandl/dependabot/cargo/openssl-0.10.55
Bump openssl from 0.10.50 to 0.10.55
2023-06-23 13:10:05 +02:00
a5c4c33d15 Update Changelog 2023-06-21 22:56:45 +00:00
1431f7263f Bump openssl from 0.10.50 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.50 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.50...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:56:31 +00:00
e5df767723 Merge pull request #630 from vbrandl/dependabot/cargo/serde_json-1.0.97
Bump serde_json from 1.0.96 to 1.0.97
2023-06-16 09:56:40 +02:00
e446b77536 Update Changelog 2023-06-16 04:59:57 +00:00
c6ca7401ce Bump serde_json from 1.0.96 to 1.0.97
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 04:59:42 +00:00
e3ed0a2417 Merge pull request #628 from vbrandl/fix/rust-ci
Some checks failed
Security audit / security_audit (push) Failing after 18s
/ Rustfmt (push) Failing after 47s
/ Clippy (push) Failing after 1m9s
/ Test Suite (ubuntu-latest) (push) Failing after 45s
continuous-integration/drone/push Build is passing
Remove usage of outdated actions
2023-06-13 11:13:24 +02:00
87bae1bbd1 Fix blocking test
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 11:09:54 +02:00
a64f55f362 Properly await the server future
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 10:42:53 +02:00
9f3c2813ab Apply cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 10:26:25 +02:00
4ce8c9e523 Disable pedantic lints for now
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 10:23:09 +02:00
361eacbe1d Fix some pedantic lints 2023-06-13 10:22:37 +02:00
b07c732475 Remove usage of outdated actions
All checks were successful
continuous-integration/drone/push Build is passing
Closes #506
2023-06-13 09:59:33 +02:00
fddb3dd3d6 Merge pull request #627 from vbrandl/dependabot/cargo/serde-1.0.164
Bump serde from 1.0.163 to 1.0.164
2023-06-09 11:43:15 +02:00
f433f27229 Update Changelog 2023-06-09 05:00:52 +00:00
8d7e97ba11 Bump serde from 1.0.163 to 1.0.164
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 05:00:40 +00:00
59ce8e2b57 Merge pull request #626 from vbrandl/dependabot/cargo/tempfile-3.6.0
Some checks failed
Security audit / security_audit (push) Failing after 21s
/ Clippy (push) Failing after 56s
/ Rustfmt (push) Successful in 46s
/ Test Suite (ubuntu-latest) (push) Failing after 40s
continuous-integration/drone/push Build is passing
Bump tempfile from 3.5.0 to 3.6.0
2023-06-07 09:41:55 +02:00
2e5dcf4ef5 Update Changelog 2023-06-07 05:01:42 +00:00
739162d2cd Bump tempfile from 3.5.0 to 3.6.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 05:01:28 +00:00
4be1d9881b Merge pull request #625 from vbrandl/dependabot/cargo/tokio-1.28.2
Bump tokio from 1.28.1 to 1.28.2
2023-05-29 13:34:30 +02:00
f9e5175773 Update Changelog 2023-05-29 11:28:41 +00:00
96ca6bda04 Bump tokio from 1.28.1 to 1.28.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 11:28:25 +00:00
df96fcb091 Merge pull request #624 from vbrandl/dependabot/cargo/git2-0.17.2
Bump git2 from 0.17.1 to 0.17.2
2023-05-29 13:27:24 +02:00
1bae5a2b99 Update Changelog 2023-05-29 05:00:27 +00:00
5924f2ab23 Bump git2 from 0.17.1 to 0.17.2
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.1 to 0.17.2.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.17.1...0.17.2)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 05:00:14 +00:00
202c9ba03e Merge pull request #623 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.5
Bump tracing-actix-web from 0.7.4 to 0.7.5
2023-05-25 16:54:34 +02:00
8123b59e33 Update Changelog 2023-05-25 12:55:55 +00:00
7bb8e82c3b Bump tracing-actix-web from 0.7.4 to 0.7.5
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.4 to 0.7.5.
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: tracing-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 12:55:37 +00:00
5f1fc70a05 Merge pull request #622 from vbrandl/dependabot/cargo/vergen-8.2.1
Bump vergen from 8.2.0 to 8.2.1
2023-05-25 14:54:20 +02:00
d60462f7ce Update Changelog 2023-05-25 04:59:39 +00:00
4ce55c8e32 Bump vergen from 8.2.0 to 8.2.1
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.0...8.2.1)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 04:59:25 +00:00
1a8db00ce4 Merge pull request #621 from vbrandl/dependabot/cargo/vergen-8.2.0
Bump vergen from 8.1.3 to 8.2.0
2023-05-22 13:14:23 +02:00
c304164935 Update Changelog 2023-05-22 05:02:23 +00:00
e2594b3c5b Bump vergen from 8.1.3 to 8.2.0
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.1.3 to 8.2.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.1.3...8.2.0)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 05:02:05 +00:00
12c400e5b8 Merge pull request #619 from vbrandl/dependabot/cargo/reqwest-0.11.18
Bump reqwest from 0.11.17 to 0.11.18
2023-05-17 15:41:15 +02:00
745a9021cd Update Changelog 2023-05-17 13:28:43 +00:00
4bb0c8adc7 Bump reqwest from 0.11.17 to 0.11.18
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.17 to 0.11.18.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.17...v0.11.18)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 13:21:10 +00:00
e7cf23c625 Merge pull request #620 from vbrandl/feature/rerun-workflows
Some checks failed
/ Clippy (push) Failing after 1m8s
/ Test Suite (ubuntu-latest) (push) Failing after 42s
/ Rustfmt (push) Successful in 59s
Security audit / security_audit (push) Failing after 19s
continuous-integration/drone/push Build is passing
Use custom token to trigger reruns
2023-05-17 15:20:11 +02:00
78078132ce Use custom token to trigger reruns
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-17 15:15:49 +02:00
6aa253d44e Merge pull request #618 from vbrandl/dependabot/cargo/tokio-1.28.1
Some checks failed
Security audit / security_audit (push) Failing after 15s
/ Rustfmt (push) Successful in 44s
/ Test Suite (ubuntu-latest) (push) Failing after 44s
/ Clippy (push) Failing after 30s
continuous-integration/drone/push Build is passing
Bump tokio from 1.28.0 to 1.28.1
2023-05-11 13:35:05 +02:00
d461a8f6a1 Update Changelog 2023-05-11 11:21:01 +00:00
4847cc4f1f Bump tokio from 1.28.0 to 1.28.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.0...tokio-1.28.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 11:20:47 +00:00
bef518d594 Merge pull request #617 from vbrandl/dependabot/cargo/serde-1.0.163
Bump serde from 1.0.162 to 1.0.163
2023-05-11 13:20:07 +02:00
c22cc59924 Update Changelog 2023-05-11 11:06:57 +00:00
a4e28984ef Bump serde from 1.0.162 to 1.0.163
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 11:06:41 +00:00
f4372c3248 Merge pull request #616 from vbrandl/dependabot/github_actions/actions/cache-3
Some checks failed
Security audit / security_audit (push) Failing after 14s
/ Rustfmt (push) Successful in 45s
/ Clippy (push) Failing after 39s
/ Test Suite (ubuntu-latest) (push) Failing after 40s
continuous-integration/drone/push Build is passing
Bump actions/cache from 2 to 3
2023-05-06 01:47:27 +02:00
e9554a20a7 Update Changelog 2023-05-05 23:36:33 +00:00
7862446e16 Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 23:36:18 +00:00
b4a7444442 Merge pull request #615 from vbrandl/feature/dependabot-auto-changelog
Some checks failed
Security audit / security_audit (push) Failing after 15s
/ Clippy (push) Failing after 42s
/ Test Suite (ubuntu-latest) (push) Failing after 43s
/ Rustfmt (push) Successful in 45s
continuous-integration/drone/push Build is passing
Update github actions using dependabot
2023-05-06 01:35:56 +02:00
66861cb4d3 Merge branch 'master' into feature/dependabot-auto-changelog 2023-05-06 01:32:13 +02:00
e6b1dfece8 Update github actions using dependabot
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-06 01:27:13 +02:00
6837660a79 Merge pull request #613 from vbrandl/dependabot/cargo/serde-1.0.162
Some checks failed
Security audit / security_audit (push) Failing after 17s
/ Rustfmt (push) Successful in 55s
/ Clippy (push) Failing after 50s
/ Test Suite (ubuntu-latest) (push) Failing after 41s
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.160 to 1.0.162
2023-05-06 01:18:14 +02:00
109886ad9a Update Changelog 2023-05-05 23:12:00 +00:00
dcadae98b6 chore(deps): Bump serde from 1.0.160 to 1.0.162
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.160...1.0.162)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 23:11:48 +00:00
4845826023 Merge pull request #614 from vbrandl/feature/dependabot-auto-changelog
Autogenerate changelog entry for dependabot PRs
2023-05-06 01:10:58 +02:00
ce9db6b4a7 Autogenerate changelog entry for dependabot PRs 2023-05-06 01:06:41 +02:00
24f2d43550 Add dependabot label to dependabot PRs 2023-05-06 01:06:32 +02:00
43bbf4d377 Merge pull request #612 from vbrandl/release/v0.35.0
Some checks failed
Security audit / security_audit (push) Failing after 13s
/ Rustfmt (push) Successful in 44s
/ Clippy (push) Failing after 43s
/ Test Suite (ubuntu-latest) (push) Failing after 43s
continuous-integration/drone/push Build is passing
Release v0.35.0
2023-05-04 13:00:54 +02:00
23d346d899 Bump version
Some checks failed
continuous-integration/drone/push Build is passing
Release / tests (push) Failing after 1m4s
Release / Publishing for ${{ matrix.os }} (linux, , ubuntu-latest, stable, x86_64-unknown-linux-gnu) (push) Has been skipped
Release / Publishing for ${{ matrix.os }} (macos, , macos-latest, stable, x86_64-apple-darwin) (push) Has been skipped
Release / Publishing for ${{ matrix.os }} (windows, .exe, windows-latest, stable, x86_64-pc-windows-msvc) (push) Has been skipped
Release / Update Changelog (push) Has been skipped
continuous-integration/drone/tag Build is passing
2023-05-04 12:38:13 +02:00
9186de3b53 Merge pull request #610 from vbrandl/dependabot/cargo/anyhow-1.0.71
Some checks failed
/ Rustfmt (push) Successful in 1m30s
/ Test Suite (ubuntu-latest) (push) Failing after 42s
/ Clippy (push) Failing after 57s
Security audit / security_audit (push) Failing after 17s
continuous-integration/drone/push Build is passing
chore(deps): Bump anyhow from 1.0.70 to 1.0.71
2023-05-03 09:51:05 +02:00
59b1ff41fc Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-03 09:37:57 +02:00
17016c39bf chore(deps): Bump anyhow from 1.0.70 to 1.0.71
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 07:24:27 +00:00
6041c5367b Merge pull request #609 from vbrandl/dependabot/cargo/reqwest-0.11.17
chore(deps): Bump reqwest from 0.11.16 to 0.11.17
2023-05-03 09:23:45 +02:00
5914f9d1ad Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-03 09:19:18 +02:00
ee069dd079 chore(deps): Bump reqwest from 0.11.16 to 0.11.17
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.16 to 0.11.17.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.16...v0.11.17)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 07:14:58 +00:00
82bc044321 Merge pull request #611 from vbrandl/dependency/downgrade-tracing
Downgrade yanked tracing 0.1.38 to 0.1.37
2023-05-03 09:14:09 +02:00
f4895d8c3b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-03 09:07:14 +02:00
0d9be14496 Downgrade yanked tracing 0.1.38 to 0.1.37
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-03 09:06:00 +02:00
ef769c9d5a Merge pull request #608 from vbrandl/dependabot/cargo/vergen-8.1.3
chore(deps): Bump vergen from 8.1.1 to 8.1.3
2023-04-28 18:18:08 +02:00
bcf21906c8 Update changelog 2023-04-28 18:10:29 +02:00
abe637f878 chore(deps): Bump vergen from 8.1.1 to 8.1.3
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.1.1 to 8.1.3.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.1.1...8.1.3)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 16:09:20 +00:00
bcc9d77622 Merge pull request #607 from vbrandl/dependabot/cargo/tracing-0.1.38
chore(deps): Bump tracing from 0.1.37 to 0.1.38
2023-04-28 18:08:33 +02:00
ac88f591b0 Update changelog 2023-04-28 18:02:29 +02:00
38cf6cbf6b chore(deps): Bump tracing from 0.1.37 to 0.1.38
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.37 to 0.1.38.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.38)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 16:00:19 +00:00
1b06818a66 Merge pull request #605 from vbrandl/dependabot/cargo/tokio-1.28.0
chore(deps): Bump tokio from 1.27.0 to 1.28.0
2023-04-28 17:59:36 +02:00
7de5a420d2 Update changelog 2023-04-28 17:54:34 +02:00
b546ee6682 chore(deps): Bump tokio from 1.27.0 to 1.28.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 15:53:00 +00:00
19fb89b5a2 Merge pull request #604 from vbrandl/dependabot/cargo/tracing-subscriber-0.3.17
chore(deps): Bump tracing-subscriber from 0.3.16 to 0.3.17
2023-04-28 17:52:23 +02:00
90bb04386e Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-27 11:23:54 +02:00
eb35e745de chore(deps): Bump tracing-subscriber from 0.3.16 to 0.3.17
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.16...tracing-subscriber-0.3.17)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 05:01:10 +00:00
41ecaa8ac9 Merge pull request #603 from vbrandl/dependabot/cargo/git2-0.17.1
Some checks failed
continuous-integration/drone/push Build is passing
Security audit / security_audit (push) Failing after 39s
/ Test Suite (ubuntu-latest) (push) Failing after 4s
/ Clippy (push) Failing after 39s
/ Rustfmt (push) Successful in 36s
chore(deps): Bump git2 from 0.17.0 to 0.17.1
2023-04-17 09:17:12 +02:00
6f23f4c13d Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-17 09:12:13 +02:00
f1640fdc36 chore(deps): Bump git2 from 0.17.0 to 0.17.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.17.0...0.17.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 05:00:31 +00:00
3f6fb6bac9 Merge pull request #602 from vbrandl/dependabot/cargo/git2-0.17.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump git2 from 0.16.1 to 0.17.0
2023-04-14 12:53:39 +02:00
3b51b2c7df Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 12:48:39 +02:00
d0ce2c7f89 chore(deps): Bump git2 from 0.16.1 to 0.17.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...git2-curl-0.17.0)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 04:59:18 +00:00
b14e6cbf71 Merge pull request #601 from vbrandl/revert-600-feature/version-from-git-describe
All checks were successful
continuous-integration/drone/push Build is passing
Revert "Use version from git-describe to better identify builds"
2023-04-14 00:51:17 +02:00
a9b7368847 Revert "Use version from git-describe to better identify builds" 2023-04-14 00:50:35 +02:00
b3cc22af6c Merge pull request #600 from vbrandl/feature/version-from-git-describe
All checks were successful
continuous-integration/drone/push Build is passing
Use version from git-describe to better identify builds
2023-04-14 00:43:13 +02:00
037e520beb Use version from git-describe to better identify builds
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 00:39:47 +02:00
119dcd4cff Merge pull request #599 from vbrandl/dependabot/cargo/h2-0.3.17
chore(deps): Bump h2 from 0.3.16 to 0.3.17
2023-04-14 00:33:37 +02:00
081ca836bc Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 00:30:11 +02:00
62114219e2 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 00:26:53 +02:00
38b86aa490 chore(deps): Bump h2 from 0.3.16 to 0.3.17
Bumps [h2](https://github.com/hyperium/h2) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.16...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 17:09:49 +00:00
88eab864b1 Merge pull request #598 from vbrandl/fix/docker-build
All checks were successful
continuous-integration/drone/push Build is passing
Fix docker build with moved `build.rs` script
2023-04-13 13:09:08 +02:00
864cbe1c73 Fix docker build with moved build.rs script
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 13:06:31 +02:00
ced16e2e6b Merge pull request #597 from vbrandl/release/v0.34.0
Some checks failed
continuous-integration/drone/push Build is failing
Release v0.34.0
2023-04-13 12:44:30 +02:00
21 changed files with 706 additions and 590 deletions

View File

@ -10,3 +10,15 @@ updates:
- vbrandl
labels:
- dependencies
- dependabot
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
assignees:
- vbrandl
labels:
- dependabot
- dependencies

View File

@ -16,6 +16,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
- uses: rustsec/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -0,0 +1,26 @@
name: 'Dependabot Changelog'
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
- labeled
- unlabeled
jobs:
changelog:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
- uses: dangoslen/dependabot-changelog-helper@v3
with:
activationLabel: 'dependabot'
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update Changelog"

View File

@ -42,7 +42,7 @@ jobs:
override: true
- name: Cache cargo registry, index and build directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/registry

View File

@ -16,18 +16,11 @@ jobs:
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt
uses: dtolnay/rust-toolchain@stable
- name: Check Formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check
clippy:
name: Clippy
@ -37,12 +30,7 @@ jobs:
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry, index and build directory
uses: actions/cache@v3
@ -54,10 +42,9 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Clippy Linting
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
run: cargo clippy --all-features -- -Dclippy::all -Dclippy::pedantic
- name: Clippy Test Linting
run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
test:
@ -74,11 +61,7 @@ jobs:
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry, index and build directory
uses: actions/cache@v3
@ -90,6 +73,4 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run Tests
uses: actions-rs/cargo@v1
with:
command: test
run: cargo test

View File

@ -4,6 +4,47 @@ 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]
### Dependencies
- Bump `serde` from 1.0.160 to 1.0.176 (#613, #617, #627, #636, #639, #640, #645, [#648](https://github.com/vbrandl/hoc/pull/648), [#650](https://github.com/vbrandl/hoc/pull/650))
- Bump `actions/cache` from 2 to 3 (#616)
- Bump `tokio` from 1.28.0 to 1.29.1 (#618, #625, #633, #634)
- Bump `reqwest` from 0.11.17 to 0.11.18 (#619)
- Bump `vergen` from 8.1.3 to 8.2.4 (#621, #622, #635, #638)
- Bump `tracing-actix-web` from 0.7.4 to 0.7.5 (#623)
- Bump `git2` from 0.17.1 to 0.17.2 (#624)
- Bump `tempfile` from 3.5.0 to 3.7.0 (#626, [#646](https://github.com/vbrandl/hoc/pull/646))
- Bump `serde_json` from 1.0.96 to 1.0.104 (#630, #632, #637, #641, #644, [#649](https://github.com/vbrandl/hoc/pull/649))
- Bump `openssl` from 0.10.50 to 0.10.55 (#631)
- Bump `tracing-bunyan-formatter` from 0.3.7 to 0.3.8 (#642)
- Bump `anyhow` from 1.0.71 to 1.0.72 (#643)
- Bump `ructe` from 0.16.1 to 0.17.0 ([#647](https://github.com/vbrandl/hoc/pull/647))
## [0.35.0] 2023-05-04
* Updated [`h2`](https://github.com/hyperium/h2) from 0.3.16 to 0.3.17, fixes [SEC#11] ([#599])
* Updated [`git2`](https://github.com/rust-lang/git2-rs) from 0.16.1 to 0.17.0 ([#602])
* Updated [`git2`](https://github.com/rust-lang/git2-rs) from 0.17.0 to 0.17.1 ([#603])
* Updated [`tracing-subscriber`](https://github.com/tokio-rs/tracing) from 0.3.16 to 0.3.17 ([#604])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0 ([#605])
* Updated [`tracing`](https://github.com/tokio-rs/tracing) from 0.1.37 to 0.1.38 ([#607])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 8.1.1 to 8.1.3 ([#608])
* Downgrade yanked [`tracing`](https://github.com/tokio-rs/tracing) 0.1.38 to 0.1.37 ([#611])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.16 to 0.11.17 ([#609])
* Updated [`anyhow`](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71 ([#610])
[#599]: https://github.com/vbrandl/hoc/pull/599
[#602]: https://github.com/vbrandl/hoc/pull/602
[#603]: https://github.com/vbrandl/hoc/pull/603
[#604]: https://github.com/vbrandl/hoc/pull/604
[#605]: https://github.com/vbrandl/hoc/pull/605
[#607]: https://github.com/vbrandl/hoc/pull/607
[#608]: https://github.com/vbrandl/hoc/pull/608
[#611]: https://github.com/vbrandl/hoc/pull/611
[#609]: https://github.com/vbrandl/hoc/pull/609
[#610]: https://github.com/vbrandl/hoc/pull/610
[SEC#11]: https://github.com/vbrandl/hoc/security/dependabot/11
## [0.34.0] 2023-04-13
@ -200,4 +241,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#502]: https://github.com/vbrandl/hoc/pull/502
[#503]: https://github.com/vbrandl/hoc/pull/503
[#504]: https://github.com/vbrandl/hoc/pull/504
[#508]: https://github.com/vbrandl/hoc/pull/508
[#508]: https://github.com/vbrandl/hoc/pull/508

1007
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package]
name = "hoc"
version = "0.34.0"
version = "0.35.0"
authors = ["Valentin Brandl <vbrandl@riseup.net>"]
edition = "2021"
build = "src/build.rs"
@ -19,30 +19,30 @@ badgers = "1.2.0"
bytes = "1.4.0"
config = { version = "0.13.3", features = ["toml"] }
dotenvy = "0.15.7"
futures = "0.3.27"
git2 = "0.16.1"
futures = "0.3.28"
git2 = "0.17.2"
lazy_static = "1.4.0"
mime = "0.3"
number_prefix = "0.4.0"
openssl-probe = "0.1.5"
reqwest = "0.11.16"
serde = "1.0.158"
serde_derive = "1.0.137"
serde_json = "1.0.94"
reqwest = "0.11.18"
serde = "1.0.176"
serde_derive = "1.0.166"
serde_json = "1.0.104"
tracing = "0.1.37"
tracing-actix-web = "0.7.3"
tracing-bunyan-formatter = "0.3.6"
tracing-actix-web = "0.7.5"
tracing-bunyan-formatter = "0.3.8"
tracing-futures = "0.2.5"
tracing-log = "0.1.3"
tracing-subscriber = { version = "0.3.16", features = ["registry", "env-filter"] }
tracing-subscriber = { version = "0.3.17", features = ["registry", "env-filter"] }
[build-dependencies]
anyhow = "1.0.70"
ructe = { version = "0.16.1", features = ["mime03"] }
vergen = { version = "8.1.1", default-features = false, features = ["git", "gitoxide"] }
anyhow = "1.0.72"
ructe = { version = "0.17.0", features = ["mime03"] }
vergen = { version = "8.2.4", default-features = false, features = ["git", "gitoxide"] }
[dev-dependencies]
awc = "3.1.1"
ructe = "0.16.1"
tempfile = "3.5.0"
tokio = "1.27.0"
ructe = "0.17.0"
tempfile = "3.7.0"
tokio = "1.29.1"

View File

@ -10,7 +10,7 @@ RUN echo 'fn main() { println!("Hello, world!"); }' >> src/main.rs
COPY ./Cargo.lock ./Cargo.lock
COPY ./Cargo.toml ./Cargo.toml
# HACK: remove build-dependencies so we have at least some caching
RUN head -n $(($(grep -n "\[build-dependencies\]" Cargo.toml | cut -f1 -d:) - 1)) Cargo.toml | sed '/build.rs/d' > \
RUN head -n $(($(grep -n "\[build-dependencies\]" Cargo.toml | cut -f1 -d:) - 1)) Cargo.toml | sed '/src\/build.rs/d' > \
Cargo.toml2 && rm Cargo.toml && mv Cargo.toml2 Cargo.toml
# build to cache dependencies
RUN cargo build --release
@ -24,7 +24,6 @@ COPY ./.git ./.git
# copy source code
COPY ./static ./static
COPY ./templates ./templates
COPY ./build.rs ./build.rs
COPY ./src ./src
# build source code
RUN cargo build --release

View File

@ -36,10 +36,10 @@ impl<'a> CacheState<'a> {
trace!("Reading cache");
if path.as_ref().exists() {
let cache: Cache = serde_json::from_reader(BufReader::new(File::open(path)?))?;
Ok(cache
.entries
.get(branch)
.map(|c| {
Ok(cache.entries.get(branch).map_or_else(
// TODO: get rid of clone
|| CacheState::NoneForBranch(cache.clone()),
|c| {
if c.head == head {
trace!("Cache is up to date");
CacheState::Current {
@ -56,9 +56,8 @@ impl<'a> CacheState<'a> {
cache: cache.clone(),
}
}
})
// TODO: get rid of clone
.unwrap_or_else(|| CacheState::NoneForBranch(cache.clone())))
},
))
} else {
Ok(CacheState::No)
}

View File

@ -18,6 +18,12 @@ pub struct Settings {
}
impl Settings {
/// Load the configuration from file and environment.
///
/// # Errors
///
/// * File cannot be read or parsed
/// * Environment variables cannot be parsed
pub fn load() -> Result<Self, ConfigError> {
Config::builder()
.add_source(File::with_name("hoc.toml").required(false))

View File

@ -41,17 +41,14 @@ impl ResponseError for Error {
fn error_response(&self) -> HttpResponse {
let mut buf = Vec::new();
match self {
Error::BranchNotFound => {
templates::p404_no_master_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::NotFound().content_type("text/html").body(buf)
}
_ => {
templates::p500_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::InternalServerError()
.content_type("text/html")
.body(buf)
}
if let Error::BranchNotFound = self {
templates::p404_no_master_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::NotFound().content_type("text/html").body(buf)
} else {
templates::p500_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::InternalServerError()
.content_type("text/html")
.body(buf)
}
}
}

View File

@ -22,7 +22,7 @@ use crate::{
cache::CacheState,
config::Settings,
error::{Error, Result},
service::{Bitbucket, FormService, GitHub, Gitlab, Service, Sourcehut},
service::{Bitbucket, FormValue, GitHub, Gitlab, Service, Sourcehut},
statics::{CLIENT, VERSION_INFO},
template::{RepoGeneratorInfo, RepoInfo},
};
@ -53,7 +53,7 @@ include!(concat!(env!("OUT_DIR"), "/templates.rs"));
#[derive(Deserialize, Serialize)]
struct GeneratorForm<'a> {
service: FormService,
service: FormValue,
user: Cow<'a, str>,
repo: Cow<'a, str>,
branch: Option<Cow<'a, str>>,
@ -282,6 +282,7 @@ where
}
pull(&path)?;
let (hoc, head, commits) = hoc(&service_url, &state.repos(), &state.cache(), branch)?;
#[allow(clippy::cast_precision_loss)]
let hoc_pretty = match NumberPrefix::decimal(hoc as f64) {
NumberPrefix::Standalone(hoc) => hoc.to_string(),
NumberPrefix::Prefixed(prefix, hoc) => format!("{hoc:.1}{prefix}"),
@ -309,7 +310,7 @@ pub(crate) async fn json_hoc<T: Service>(
let branch = branch.branch.as_deref().unwrap_or("master");
let rc_clone = repo_count.clone();
let mapper = move |r| match r {
HocResult::NotFound => p404(rc_clone),
HocResult::NotFound => p404(&rc_clone),
HocResult::Hoc {
hoc, head, commits, ..
} => Ok(HttpResponse::Ok().json(JsonResponse {
@ -345,7 +346,7 @@ pub(crate) async fn calculate_hoc<T: Service>(
let rc_clone = repo_count.clone();
let label = query.label.clone();
let mapper = move |r| match r {
HocResult::NotFound => p404(rc_clone),
HocResult::NotFound => p404(&rc_clone),
HocResult::Hoc { hoc_pretty, .. } => {
let badge_opt = BadgeOptions {
subject: label,
@ -386,7 +387,7 @@ async fn overview<T: Service>(
let base_url = state.settings.base_url.clone();
let rc_clone = repo_count.clone();
let mapper = move |r| match r {
HocResult::NotFound => p404(rc_clone),
HocResult::NotFound => p404(&rc_clone),
HocResult::Hoc {
hoc,
commits,
@ -413,7 +414,7 @@ async fn overview<T: Service>(
VERSION_INFO,
rc_clone.load(Ordering::Relaxed),
repo_info,
label,
&label,
)?;
Ok(HttpResponse::Ok().content_type("text/html").body(buf))
@ -423,11 +424,13 @@ async fn overview<T: Service>(
}
#[get("/health_check")]
#[allow(clippy::unused_async)]
async fn health_check() -> HttpResponse {
HttpResponse::Ok().finish()
}
#[get("/")]
#[allow(clippy::unused_async)]
async fn index(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
@ -443,6 +446,7 @@ async fn index(
}
#[post("/generate")]
#[allow(clippy::unused_async)]
async fn generate(
params: web::Form<GeneratorForm<'_>>,
state: web::Data<State>,
@ -470,20 +474,22 @@ async fn generate(
Ok(HttpResponse::Ok().content_type("text/html").body(buf))
}
fn p404(repo_count: web::Data<AtomicUsize>) -> Result<HttpResponse> {
fn p404(repo_count: &web::Data<AtomicUsize>) -> Result<HttpResponse> {
let mut buf = Vec::new();
templates::p404_html(&mut buf, VERSION_INFO, repo_count.load(Ordering::Relaxed))?;
Ok(HttpResponse::NotFound().content_type("text/html").body(buf))
}
#[allow(clippy::unused_async)]
async fn async_p404(repo_count: web::Data<AtomicUsize>) -> Result<HttpResponse> {
p404(repo_count)
p404(&repo_count)
}
/// A duration to add to current time for a far expires header.
static FAR: Duration = Duration::from_secs(180 * 24 * 60 * 60);
#[get("/static/{filename}")]
#[allow(clippy::unused_async)]
async fn static_file(
path: web::Path<String>,
repo_count: web::Data<AtomicUsize>,
@ -496,11 +502,11 @@ async fn static_file(
.content_type(data.mime.clone())
.body(data.content)
})
.map(Result::Ok)
.unwrap_or_else(|| p404(repo_count))
.map_or_else(|| p404(&repo_count), Result::Ok)
}
#[get("/favicon.ico")]
#[allow(clippy::unused_async)]
async fn favicon32() -> HttpResponse {
let data = &template_statics::favicon32_png;
HttpResponse::Ok()
@ -508,6 +514,7 @@ async fn favicon32() -> HttpResponse {
.body(data.content)
}
#[allow(clippy::unused_async)]
async fn start_server(listener: TcpListener, settings: Settings) -> std::io::Result<Server> {
let workers = settings.workers;
let repo_count =
@ -536,6 +543,11 @@ async fn start_server(listener: TcpListener, settings: Settings) -> std::io::Res
.run())
}
/// Start the server.
///
/// # Errors
///
/// * server cannot bind to `listener`
pub async fn run(listener: TcpListener, settings: Settings) -> std::io::Result<Server> {
let span = info_span!("hoc", version = env!("CARGO_PKG_VERSION"));
let _ = span.enter();

View File

@ -6,7 +6,7 @@ fn init() {
dotenvy::dotenv().ok();
openssl_probe::init_ssl_cert_env_vars();
telemetry::init_subscriber(telemetry::get_subscriber("hoc", "info"))
telemetry::init_subscriber(telemetry::get_subscriber("hoc", "info"));
}
#[actix_rt::main]

View File

@ -29,7 +29,7 @@ pub(crate) trait Service: Sized + 'static {
}
#[derive(Deserialize, Serialize, Clone, Copy)]
pub enum FormService {
pub enum FormValue {
#[serde(rename = "github")]
GitHub,
#[serde(rename = "gitlab")]
@ -40,22 +40,22 @@ pub enum FormService {
Sourcehut,
}
impl FormService {
impl FormValue {
pub(crate) fn url(&self) -> &str {
match self {
FormService::GitHub => "github.com",
FormService::Gitlab => "gitlab.com",
FormService::Bitbucket => "bitbucket.org",
FormService::Sourcehut => "git.sr.ht",
FormValue::GitHub => "github.com",
FormValue::Gitlab => "gitlab.com",
FormValue::Bitbucket => "bitbucket.org",
FormValue::Sourcehut => "git.sr.ht",
}
}
pub(crate) fn service(&self) -> &str {
match self {
FormService::GitHub => "github",
FormService::Gitlab => "gitlab",
FormService::Bitbucket => "bitbucket",
FormService::Sourcehut => "sourcehut",
FormValue::GitHub => "github",
FormValue::Gitlab => "gitlab",
FormValue::Bitbucket => "bitbucket",
FormValue::Sourcehut => "sourcehut",
}
}
}

View File

@ -1,3 +1,4 @@
#[derive(Clone, Copy)]
pub struct VersionInfo<'a> {
pub commit: &'a str,
pub version: &'a str,

View File

@ -1,5 +1,6 @@
use crate::service::FormService;
use crate::service::FormValue;
#[derive(Clone, Copy)]
pub struct RepoInfo<'a> {
pub commit_url: &'a str,
pub commits: u64,
@ -13,7 +14,7 @@ pub struct RepoInfo<'a> {
}
pub struct RepoGeneratorInfo<'a> {
pub service: FormService,
pub service: FormValue,
pub user: &'a str,
pub repo: &'a str,
pub branch: &'a str,

View File

@ -1,4 +1,4 @@
@use super::statics::*;
@use super::statics::tacit_css_min_css;
@use crate::statics::VersionInfo;
@(title: &str, header: &str, content: Content, version_info: VersionInfo, repo_count: usize)

View File

@ -2,7 +2,7 @@
@use crate::statics::VersionInfo;
@use crate::template::RepoInfo;
@(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo, label: String)
@(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo, label: &str)
@:base_html("Hits-of-Code Badges", "Overview", {

View File

@ -5,14 +5,14 @@ use tempfile::TempDir;
#[test]
fn no_repos() {
let repos = TempDir::new().unwrap();
assert_eq!(0, count_repositories(&repos).unwrap())
assert_eq!(0, count_repositories(&repos).unwrap());
}
#[test]
fn no_repos_for_provider() {
let repos = TempDir::new().unwrap();
let _provider = TempDir::new_in(&repos).unwrap();
assert_eq!(0, count_repositories(&repos).unwrap())
assert_eq!(0, count_repositories(&repos).unwrap());
}
#[test]
@ -20,7 +20,7 @@ fn no_repos_for_owner() {
let repos = TempDir::new().unwrap();
let provider = TempDir::new_in(&repos).unwrap();
let _owner = TempDir::new_in(&provider).unwrap();
assert_eq!(0, count_repositories(&repos).unwrap())
assert_eq!(0, count_repositories(&repos).unwrap());
}
#[test]
@ -29,7 +29,7 @@ fn one_repo_for_owner() {
let provider = TempDir::new_in(&repos).unwrap();
let owner = TempDir::new_in(&provider).unwrap();
let _repo = TempDir::new_in(&owner).unwrap();
assert_eq!(1, count_repositories(&repos).unwrap())
assert_eq!(1, count_repositories(&repos).unwrap());
}
#[test]
@ -39,7 +39,7 @@ fn two_repos_for_owner() {
let owner = TempDir::new_in(&provider).unwrap();
let _repo1 = TempDir::new_in(&owner).unwrap();
let _repo2 = TempDir::new_in(&owner).unwrap();
assert_eq!(2, count_repositories(&repos).unwrap())
assert_eq!(2, count_repositories(&repos).unwrap());
}
#[test]
@ -51,7 +51,7 @@ fn two_repos_for_two_providers() {
let provider2 = TempDir::new_in(&repos).unwrap();
let owner2 = TempDir::new_in(&provider2).unwrap();
let _repo2 = TempDir::new_in(&owner2).unwrap();
assert_eq!(2, count_repositories(&repos).unwrap())
assert_eq!(2, count_repositories(&repos).unwrap());
}
#[test]
@ -62,5 +62,5 @@ fn two_subdirs_in_one_repo() {
let repo = TempDir::new_in(&owner).unwrap();
let _subdir1 = TempDir::new_in(&repo).unwrap();
let _subdir2 = TempDir::new_in(&repo).unwrap();
assert_eq!(1, count_repositories(&repos).unwrap())
assert_eq!(1, count_repositories(&repos).unwrap());
}

View File

@ -25,24 +25,26 @@ pub async fn spawn_app() -> TestApp {
let listener = TcpListener::bind("127.0.0.1:0").expect("Failed to bind random port");
let port = listener.local_addr().unwrap().port();
let address = format!("http://127.0.0.1:{}", port);
let address = format!("http://127.0.0.1:{port}");
let _repo_dir = tempdir().expect("Cannot create repo_dir");
let _cache_dir = tempdir().expect("Cannot create cache_dir");
let repo_dir = tempdir().expect("Cannot create repo_dir");
let cache_dir = tempdir().expect("Cannot create cache_dir");
let mut settings = Settings::load().expect("Failed to read configuration.");
settings.repodir = _repo_dir.path().to_path_buf();
settings.cachedir = _cache_dir.path().to_path_buf();
settings.repodir = repo_dir.path().to_path_buf();
settings.cachedir = cache_dir.path().to_path_buf();
let server = hoc::run(listener, settings)
.await
.expect("Failed to bind address");
#[allow(clippy::let_underscore_future)]
// don't await so the test server runs in the background
let _ = tokio::spawn(server);
TestApp {
address,
_repo_dir,
_cache_dir,
_repo_dir: repo_dir,
_cache_dir: cache_dir,
}
}