Compare commits

...

297 Commits

Author SHA1 Message Date
519925762a Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 11:17:17 +02:00
e669499a6f chore(deps): Bump reqwest from 0.11.14 to 0.11.16
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.14 to 0.11.16.
- [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.14...v0.11.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:14:26 +00:00
7ef2f8f87c Merge pull request #583 from vbrandl/dependabot/cargo/dotenvy-0.15.7
chore(deps): Bump dotenvy from 0.15.6 to 0.15.7
2023-04-13 11:13:48 +02:00
30ef5cf41f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 11:07:24 +02:00
5c5b848177 chore(deps): Bump dotenvy from 0.15.6 to 0.15.7
Bumps [dotenvy](https://github.com/allan2/dotenvy) from 0.15.6 to 0.15.7.
- [Release notes](https://github.com/allan2/dotenvy/releases)
- [Changelog](https://github.com/allan2/dotenvy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/allan2/dotenvy/compare/v0.15.6...v0.15.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:06:00 +00:00
ba72053fa1 Merge pull request #582 from vbrandl/dependabot/cargo/mime-0.3.17
chore(deps): Bump mime from 0.3.16 to 0.3.17
2023-04-13 11:05:11 +02:00
79c94f964f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 10:50:05 +02:00
36c0b08067 chore(deps): Bump mime from 0.3.16 to 0.3.17
Bumps [mime](https://github.com/hyperium/mime) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/mime/releases)
- [Commits](https://github.com/hyperium/mime/compare/v0.3.16...v0.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 05:02:57 +00:00
78383c291b Merge pull request #580 from vbrandl/dependabot/cargo/serde-1.0.158
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.156 to 1.0.158
2023-03-20 15:15:11 +01:00
fe271c764e Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-20 13:21:11 +01:00
29f9765254 chore(deps): Bump serde from 1.0.156 to 1.0.158
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.156 to 1.0.158.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.158)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 12:19:56 +00:00
70d21bd0db Merge pull request #578 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.3
chore(deps): Bump tracing-actix-web from 0.7.2 to 0.7.3
2023-03-20 13:18:30 +01:00
fdd2883f3b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-20 13:10:46 +01:00
aff5ba2e0b chore(deps): Bump tracing-actix-web from 0.7.2 to 0.7.3
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.7.2...v0.7.3)

---
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-03-20 05:01:41 +00:00
5b2d1e9016 Merge pull request #577 from vbrandl/release/v0.33.0
All checks were successful
continuous-integration/drone/push Build is passing
release/v0.33.0
2023-03-16 15:29:23 +01:00
a93400ac14 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 14:34:39 +01:00
b03e316c89 Bump version to 0.33.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 14:32:10 +01:00
3f2a359a90 Use edition 2021 2023-03-16 14:31:49 +01:00
fba01cd0c8 Merge pull request #576 from vbrandl/dependabot/cargo/serde-1.0.156
chore(deps): Bump serde from 1.0.152 to 1.0.156
2023-03-16 13:51:25 +01:00
e67696406b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 13:43:33 +01:00
ad9579418e chore(deps): Bump serde from 1.0.152 to 1.0.156
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.156)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 12:32:25 +00:00
540f30d472 Merge pull request #575 from vbrandl/dependabot/cargo/futures-0.3.27
chore(deps): Bump futures from 0.3.26 to 0.3.27
2023-03-16 13:31:05 +01:00
4f9cd72115 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 13:25:22 +01:00
3612684709 chore(deps): Bump futures from 0.3.26 to 0.3.27
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 05:01:24 +00:00
0cb9deca71 Merge pull request #571 from vbrandl/release/v0.32.0
All checks were successful
continuous-integration/drone/push Build is passing
release/v0.32.0
2023-03-06 14:02:46 +01:00
52f3895af8 Bump version to 0.32.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 13:45:31 +01:00
d8e51e8c74 Update changelog 2023-03-06 13:45:02 +01:00
35d2315812 Merge pull request #570 from vbrandl/dependabot/cargo/serde_json-1.0.94
chore(deps): Bump serde_json from 1.0.93 to 1.0.94
2023-03-06 13:44:25 +01:00
7caf69b5f0 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 13:19:35 +01:00
e3f1d3ef10 chore(deps): Bump serde_json from 1.0.93 to 1.0.94
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.94)

---
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-03-06 12:13:01 +00:00
a0d8618722 Merge pull request #569 from vbrandl/dependabot/cargo/tokio-1.26.0
chore(deps): Bump tokio from 1.25.0 to 1.26.0
2023-03-06 12:56:57 +01:00
35232d226d Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 12:50:14 +01:00
48318ee1bc chore(deps): Bump tokio from 1.25.0 to 1.26.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.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-03-06 11:49:07 +00:00
b7690c062f Merge pull request #568 from vbrandl/dependabot/cargo/awc-3.1.1
chore(deps): Bump awc from 3.1.0 to 3.1.1
2023-03-06 12:47:52 +01:00
239f94f830 Update changelog 2023-03-06 12:41:05 +01:00
7b772d2efd chore(deps): Bump awc from 3.1.0 to 3.1.1
Bumps [awc](https://github.com/actix/actix-web) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.1.0...awc-v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 11:38:42 +00:00
54ea0dc7c4 Merge pull request #567 from vbrandl/dependabot/cargo/tempfile-3.4.0
chore(deps): Bump tempfile from 3.3.0 to 3.4.0
2023-03-06 12:37:28 +01:00
4bb1925fa0 Update changelog 2023-03-06 12:28:34 +01:00
15f77906e1 chore(deps): Bump tempfile from 3.3.0 to 3.4.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 11:27:47 +00:00
b5207b0c67 Merge pull request #566 from vbrandl/dependabot/cargo/actix-web-4.3.1
chore(deps): Bump actix-web from 4.3.0 to 4.3.1
2023-03-06 12:23:46 +01:00
583a746714 Update changelog 2023-03-06 12:21:04 +01:00
9e9220afbb chore(deps): Bump actix-web from 4.3.0 to 4.3.1
Bumps [actix-web](https://github.com/actix/actix-web) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.3.0...web-v4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 05:03:34 +00:00
2e12c9367e Merge pull request #565 from vbrandl/release/v0.31.0
All checks were successful
continuous-integration/drone/push Build is passing
Release/v0.31.0
2023-02-13 23:55:55 +01:00
d27fc2352d Bump version to 0.31.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 23:42:28 +01:00
5d7e5d219a Update changelog 2023-02-13 23:42:00 +01:00
3ca483e2ee Merge pull request #564 from vbrandl/dependabot/cargo/serde_json-1.0.93
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.92 to 1.0.93
2023-02-13 11:33:17 +01:00
f670505a1b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 11:05:53 +01:00
ba4574a66d chore(deps): Bump serde_json from 1.0.92 to 1.0.93
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.92...v1.0.93)

---
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-02-13 10:04:14 +00:00
06dc3a73d3 Merge pull request #563 from vbrandl/dependabot/cargo/vergen-7.5.1
chore(deps): Bump vergen from 7.5.0 to 7.5.1
2023-02-13 11:01:23 +01:00
36711cbf8f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 10:55:41 +01:00
6c3d6c0bfa chore(deps): Bump vergen from 7.5.0 to 7.5.1
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.5.0...7.5.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-02-09 04:04:37 +00:00
a23d4e5192 Merge pull request #562 from vbrandl/dependabot/cargo/serde_json-1.0.92
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.91 to 1.0.92
2023-02-06 11:36:52 +01:00
f40d35270f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 11:26:53 +01:00
8d6e60fb40 chore(deps): Bump serde_json from 1.0.91 to 1.0.92
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.91...v1.0.92)

---
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-02-06 04:08:18 +00:00
144c980e89 Merge pull request #561 from vbrandl/dependabot/cargo/bytes-1.4.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump bytes from 1.3.0 to 1.4.0
2023-02-03 00:45:44 +01:00
7e30e49240 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-03 00:41:53 +01:00
06ce86b4ec chore(deps): Bump bytes from 1.3.0 to 1.4.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 04:05:16 +00:00
05b9804c86 Merge pull request #560 from vbrandl/dependabot/cargo/futures-0.3.26
chore(deps): Bump futures from 0.3.25 to 0.3.26
2023-01-31 10:41:00 +01:00
881e09194c Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-31 10:37:23 +01:00
52764a906a chore(deps): Bump futures from 0.3.25 to 0.3.26
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.25...0.3.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 04:04:05 +00:00
f66920bda5 Merge pull request #558 from vbrandl/dependabot/cargo/tokio-1.25.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tokio from 1.24.2 to 1.25.0
2023-01-30 11:34:57 +01:00
6186f27ea2 Update changelog 2023-01-30 11:30:00 +01:00
8250c3de35 chore(deps): Bump tokio from 1.24.2 to 1.25.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.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-01-30 10:28:42 +00:00
98e9c19ace Merge pull request #555 from vbrandl/dependabot/cargo/awc-3.1.0
chore(deps): Bump awc from 3.0.1 to 3.1.0
2023-01-30 11:27:13 +01:00
7451a2e571 Update changelog 2023-01-30 11:20:49 +01:00
51cb97c103 chore(deps): Bump awc from 3.0.1 to 3.1.0
Bumps [awc](https://github.com/actix/actix-web) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.0.1...awc-v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:19:42 +00:00
63967c79b9 Merge pull request #554 from vbrandl/dependabot/cargo/actix-web-4.3.0
chore(deps): Bump actix-web from 4.2.1 to 4.3.0
2023-01-30 11:18:44 +01:00
a555e8ed48 Update changelog 2023-01-30 11:15:17 +01:00
ab32765efa chore(deps): Bump actix-web from 4.2.1 to 4.3.0
Bumps [actix-web](https://github.com/actix/actix-web) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.2.1...web-v4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:06:11 +00:00
938aa648e8 Merge pull request #553 from vbrandl/dependabot/cargo/actix-rt-2.8.0
chore(deps): Bump actix-rt from 2.7.0 to 2.8.0
2023-01-30 11:04:11 +01:00
0b37d01594 Update changelog 2023-01-30 10:30:22 +01:00
aa8d3a0f26 chore(deps): Bump actix-rt from 2.7.0 to 2.8.0
Bumps [actix-rt](https://github.com/actix/actix-net) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/actix/actix-net/releases)
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.7.0...rt-v2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:29:36 +00:00
aea1768f52 Merge pull request #552 from vbrandl/dependabot/cargo/git2-0.16.1
chore(deps): Bump git2 from 0.16.0 to 0.16.1
2023-01-30 10:28:35 +01:00
f5f328acf1 Update changelog 2023-01-30 10:23:52 +01:00
689ec4fe95 chore(deps): Bump git2 from 0.16.0 to 0.16.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.16.0...0.16.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:22:05 +00:00
73db3915b3 Merge pull request #551 from vbrandl/dependabot/cargo/libgit2-sys-0.14.21.5.1
chore(deps): Bump libgit2-sys from 0.14.1+1.5.0 to 0.14.2+1.5.1
2023-01-30 10:20:06 +01:00
0e4ee009c9 Update changelog 2023-01-30 10:13:20 +01:00
35d5c8531e chore(deps): Bump libgit2-sys from 0.14.1+1.5.0 to 0.14.2+1.5.1
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.14.1+1.5.0 to 0.14.2+1.5.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.14.1...libgit2-sys-0.14.2)

---
updated-dependencies:
- dependency-name: libgit2-sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:11:49 +00:00
e3bcf4f4ca Merge pull request #550 from vbrandl/dependabot/cargo/bumpalo-3.12.0
chore(deps): Bump bumpalo from 3.10.0 to 3.12.0
2023-01-30 10:08:16 +01:00
a6f33097d3 Update changelog 2023-01-30 10:05:40 +01:00
4b9a0f95e3 chore(deps): Bump bumpalo from 3.10.0 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:00:17 +00:00
1f340728a1 Merge pull request #548 from vbrandl/dependabot/cargo/badgers-1.2.0
chore(deps): Bump badgers from 1.1.0 to 1.2.0
2023-01-30 09:59:14 +01:00
16079253b8 Update changelog 2023-01-30 09:55:42 +01:00
cb97f0feee chore(deps): Bump badgers from 1.1.0 to 1.2.0
Bumps [badgers](https://github.com/vbrandl/badgers) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/vbrandl/badgers/releases)
- [Changelog](https://github.com/vbrandl/badgers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vbrandl/badgers/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 08:41:15 +00:00
366b3496f2 Merge pull request #559 from vbrandl/dependabot/cargo/ructe-0.16.1
chore(deps): Bump ructe from 0.15.0 to 0.16.1
2023-01-30 09:40:15 +01:00
a73f07e491 Update changelog 2023-01-30 09:35:27 +01:00
4ddaa84e5f Use new aliases for template functions
`page.rs.html` used to result in a function `templates::page`.
Since ructe 0.7.2, `templates::page_html` was used and now the old alias
has been removed.
2023-01-30 09:22:45 +01:00
74a9f74455 chore(deps): Bump ructe from 0.15.0 to 0.16.1
Bumps [ructe](https://github.com/kaj/ructe) from 0.15.0 to 0.16.1.
- [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.15.0...v0.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 04:06:05 +00:00
fca16947f6 Merge pull request #557 from vbrandl/fix/clippy-lints
All checks were successful
continuous-integration/drone/push Build is passing
Fix clippy::uninlined_format_args lint
2023-01-28 17:09:44 +01:00
83a4cb57d8 Fix clippy::uninlined_format_args lint
All checks were successful
continuous-integration/drone/push Build is passing
Fixes local lint violations. For the final fix, I have to wait for https://github.com/kaj/ructe/pull/123
2023-01-28 17:04:20 +01:00
9aa9b5359a Merge pull request #549 from vbrandl/dependabot/cargo/reqwest-0.11.14
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump reqwest from 0.11.13 to 0.11.14
2023-01-20 12:29:12 +01:00
00ee175e8b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-20 12:16:57 +01:00
c0bafa6079 chore(deps): Bump reqwest from 0.11.13 to 0.11.14
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.13 to 0.11.14.
- [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.13...v0.11.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 04:05:02 +00:00
18fb75e13e Merge pull request #547 from vbrandl/dependabot/cargo/tokio-1.24.2
chore(deps): Bump tokio from 1.24.1 to 1.24.2
2023-01-18 12:27:39 +01:00
9a578565bd Update changelog 2023-01-18 12:19:02 +01:00
ffb7acc738 chore(deps): Bump tokio from 1.24.1 to 1.24.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 04:03:28 +00:00
8b058d9c53 Merge pull request #546 from vbrandl/feature/badge-label
All checks were successful
continuous-integration/drone/push Build is passing
Allow customization of the badge label
2023-01-16 10:05:36 +01:00
30906da803 Bump version (v0.30.0)
All checks were successful
continuous-integration/drone/tag Build is passing
2023-01-16 10:02:36 +01:00
665db0b8c5 Update changelog 2023-01-16 09:59:52 +01:00
558137e2ee Allow customization of the badge label 2023-01-16 09:54:04 +01:00
4708c19eb1 Merge pull request #544 from vbrandl/dependabot/cargo/git2-0.16.0
chore(deps): Bump git2 from 0.15.0 to 0.16.0
2023-01-13 12:39:46 +01:00
0e12778ea3 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 12:29:23 +01:00
fe2fc171ce chore(deps): Bump git2 from 0.15.0 to 0.16.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.15.0...git2-curl-0.16.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-01-13 11:28:23 +00:00
061d7f8e07 Merge pull request #543 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.6
chore(deps): Bump tracing-bunyan-formatter from 0.3.4 to 0.3.6
2023-01-13 12:27:02 +01:00
cd5eaeefbf chore(deps): Bump tracing-bunyan-formatter from 0.3.4 to 0.3.6
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.4 to 0.3.6.
- [Release notes](https://github.com/LukeMathWalker/tracing-bunyan-formatter/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.4...v0.3.6)

---
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-01-13 11:15:00 +00:00
a0e4e5be88 Merge pull request #542 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.2
chore(deps): Bump tracing-actix-web from 0.7.1 to 0.7.2
2023-01-13 12:09:52 +01:00
f179bd875e Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 12:03:21 +01:00
7445bdd29d chore(deps): Bump tracing-actix-web from 0.7.1 to 0.7.2
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.7.1...v0.7.2)

---
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-01-09 04:05:39 +00:00
44a40cb086 Merge pull request #540 from vbrandl/release/v0.29.0
All checks were successful
continuous-integration/drone/push Build is passing
Release/v0.29.0
2023-01-07 16:34:43 +01:00
2c23df798f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 16:08:31 +01:00
3c5c206f9b chore(cargo): Bump version to 0.29.0 2023-01-07 16:08:27 +01:00
c03d297b6b Merge pull request #539 from vbrandl/dependabot/cargo/tokio-1.24.1
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tokio from 1.23.1 to 1.24.1
2023-01-07 15:50:37 +01:00
ca640fc6ad Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 15:44:47 +01:00
6c2e158310 chore(deps): Bump tokio from 1.23.1 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.1...tokio-1.24.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 14:42:27 +00:00
68bc22e990 Merge pull request #537 from vbrandl/dependabot/cargo/vergen-7.5.0
chore(deps): Bump vergen from 7.4.4 to 7.5.0
2023-01-07 15:41:34 +01:00
c1bf500c9b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 15:33:56 +01:00
d21bcd7946 chore(deps): Bump vergen from 7.4.4 to 7.5.0
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.4.4 to 7.5.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.4.4...7.5.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-01-06 04:04:12 +00:00
51ff4c2ebb Merge pull request #536 from vbrandl/dependabot/cargo/tokio-1.23.1
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tokio from 1.23.0 to 1.23.1
2023-01-05 14:54:02 +01:00
862e928262 Update changelog 2023-01-05 14:52:28 +01:00
fb149da06c chore(deps): Bump tokio from 1.23.0 to 1.23.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.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-01-05 04:09:06 +00:00
872a81d6c2 Merge pull request #535 from vbrandl/dependabot/cargo/serde-1.0.152
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.151 to 1.0.152
2022-12-27 22:26:29 +01:00
20828c7db4 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-27 22:10:20 +01:00
a88600f02a chore(deps): Bump serde from 1.0.151 to 1.0.152
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-27 04:04:08 +00:00
b392a05b42 Merge pull request #534 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.1
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tracing-actix-web from 0.6.2 to 0.7.1
2022-12-26 19:56:18 +01:00
52fea6787b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-26 19:49:25 +01:00
713b0487fc chore(deps): Bump tracing-actix-web from 0.6.2 to 0.7.1
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.2 to 0.7.1.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.6.2...v0.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 18:46:00 +00:00
8d7c769d84 Merge pull request #533 from vbrandl/dependabot/cargo/vergen-7.4.4
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump vergen from 7.3.1 to 7.4.4
2022-12-26 19:45:14 +01:00
566fcf181b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-26 19:34:49 +01:00
2d9c2b7097 chore(deps): Bump vergen from 7.3.1 to 7.4.4
All checks were successful
continuous-integration/drone/push Build is passing
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.3.1 to 7.4.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.3.1...7.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 04:05:04 +00:00
b7237a6a16 Merge pull request #531 from vbrandl/dependabot/cargo/serde_json-1.0.91
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.90 to 1.0.91
2022-12-19 11:29:40 +01:00
0a2d77920e Update changelog 2022-12-19 11:03:33 +01:00
6198dcf26d chore(deps): Bump serde_json from 1.0.90 to 1.0.91
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.90...v1.0.91)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 09:59:45 +00:00
51236eee78 Merge pull request #530 from vbrandl/dependabot/cargo/badgers-1.1.0
chore(deps): Bump badgers from 1.0.0 to 1.1.0
2022-12-19 10:58:13 +01:00
3db8f6830b Update changelog 2022-12-19 10:56:14 +01:00
8b19bdc0ae chore(deps): Bump badgers from 1.0.0 to 1.1.0
Bumps [badgers](https://github.com/vbrandl/badgers) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/vbrandl/badgers/releases)
- [Changelog](https://github.com/vbrandl/badgers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vbrandl/badgers/compare/v1.0.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 04:08:28 +00:00
eab043194a Merge pull request #529 from vbrandl/release/v0.28.0
All checks were successful
continuous-integration/drone/push Build is passing
Release/v0.28.0
2022-12-18 10:25:14 +01:00
13b3611a65 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-18 09:57:52 +01:00
0d7f435d49 chore(cargo): Bump version to 0.28.0 2022-12-18 09:57:39 +01:00
eec82fa04a Merge pull request #523 from vbrandl/dependabot/cargo/tokio-1.23.0
chore(deps): Bump tokio from 1.22.0 to 1.23.0
2022-12-18 09:46:38 +01:00
c2cf11d794 chore(deps): Bump tokio from 1.22.0 to 1.23.0
Dependabot couldn't find the original pull request head commit, 481edb27de47bd9fabc529b25c5293137b503a9e.
2022-12-18 09:43:44 +01:00
f5f9a4a0d3 Merge pull request #528 from vbrandl/dependabot/cargo/serde-1.0.151
chore(deps): Bump serde from 1.0.147 to 1.0.151
2022-12-18 09:31:06 +01:00
554f0d21cf Update changelog 2022-12-18 09:23:30 +01:00
db78428191 chore(deps): Bump serde from 1.0.147 to 1.0.151
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.151.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.151)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-18 08:21:21 +00:00
22bc5496f1 Merge pull request #527 from vbrandl/dependabot/cargo/serde_json-1.0.90
chore(deps): Bump serde_json from 1.0.88 to 1.0.90
2022-12-18 09:19:51 +01:00
3bb1784e52 Update changelog 2022-12-18 09:13:17 +01:00
6a5dec8cb7 chore(deps): Bump serde_json from 1.0.88 to 1.0.90
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.88 to 1.0.90.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.88...v1.0.90)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-18 08:10:27 +00:00
41a0d64b65 Merge pull request #522 from vbrandl/dependabot/cargo/config-0.13.3
chore(deps): Bump config from 0.13.2 to 0.13.3
2022-12-18 09:08:47 +01:00
a5249e2a64 Update changelog 2022-12-18 09:02:08 +01:00
f053c6bbf7 chore(deps): Bump config from 0.13.2 to 0.13.3
Bumps [config](https://github.com/mehcode/config-rs) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/mehcode/config-rs/releases)
- [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mehcode/config-rs/compare/0.13.2...0.13.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-18 08:00:53 +00:00
dd16ed862b Merge pull request #526 from vbrandl/fix/clippy-lints
Fix `needless_borrow` lints
2022-12-18 08:58:07 +01:00
65dc0205d0 Update changelog 2022-12-18 08:52:05 +01:00
0100b754f4 Fix needless_borrow lints 2022-12-18 08:50:52 +01:00
8d90ffff1e Merge pull request #519 from vbrandl/dependabot/cargo/bytes-1.3.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump bytes from 1.2.1 to 1.3.0
2022-11-22 10:06:52 +01:00
2bec463cbe Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 10:02:48 +01:00
e49135f128 chore(deps): Bump bytes from 1.2.1 to 1.3.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 04:29:57 +00:00
f00b20dd19 Merge pull request #518 from vbrandl/release/v0.27.0
chore(cargo): Bump version (v0.27.0)
2022-11-21 11:41:18 +01:00
d98bfcd55a chore(cargo): Bump version (v0.27.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-21 10:52:30 +01:00
ea96746a54 Merge pull request #516 from vbrandl/dependabot/cargo/tokio-1.22.0
chore(deps): Bump tokio from 1.21.2 to 1.22.0
2022-11-21 10:47:58 +01:00
08ff91324c Update changelog 2022-11-21 10:40:08 +01:00
30e97ddc51 chore(deps): Bump tokio from 1.21.2 to 1.22.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 09:04:51 +00:00
6d4ec8f546 Merge pull request #517 from vbrandl/dependabot/cargo/serde_json-1.0.88
chore(deps): Bump serde_json from 1.0.87 to 1.0.88
2022-11-21 10:03:23 +01:00
499362cbce Update changelog 2022-11-21 09:59:59 +01:00
51ba8c19b4 chore(deps): Bump serde_json from 1.0.87 to 1.0.88
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.87...v1.0.88)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 04:14:15 +00:00
33d1eb784e Merge pull request #515 from vbrandl/dependabot/cargo/reqwest-0.11.13
chore(deps): Bump reqwest from 0.11.12 to 0.11.13
2022-11-17 11:20:48 +01:00
111a9720d6 Update changelog 2022-11-17 11:15:22 +01:00
e9c8612f62 chore(deps): Bump reqwest from 0.11.12 to 0.11.13
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.12 to 0.11.13.
- [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.12...v0.11.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 04:14:34 +00:00
f6b48c6ac6 Merge pull request #514 from vbrandl/fix/clippy-needless-borrow
All checks were successful
continuous-integration/drone/push Build is passing
Fix needless borrow lint
2022-11-05 12:31:33 +01:00
afc357c025 Update changelog 2022-11-05 12:20:28 +01:00
7aec5d5045 Fix needless borrow lint 2022-11-05 12:17:40 +01:00
502dda0b6e Merge pull request #513 from vbrandl/dependabot/cargo/tracing-actix-web-0.6.2
chore(deps): Bump tracing-actix-web from 0.6.1 to 0.6.2
2022-10-31 10:52:34 +01:00
40831cfa57 Update changelog 2022-10-31 10:39:48 +01:00
b841816173 chore(deps): Bump tracing-actix-web from 0.6.1 to 0.6.2
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.6.1...v0.6.2)

---
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>
2022-10-31 04:14:53 +00:00
6e38e92f52 Merge pull request #512 from vbrandl/dependabot/cargo/serde-1.0.147
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.145 to 1.0.147
2022-10-24 09:47:19 +02:00
fa323161e5 Update changelog 2022-10-24 09:44:17 +02:00
4697035936 chore(deps): Bump serde from 1.0.145 to 1.0.147
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 04:23:21 +00:00
19b7ae0e6b Merge pull request #510 from vbrandl/dependabot/cargo/serde_json-1.0.87
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.86 to 1.0.87
2022-10-20 11:28:33 +02:00
ecf052c73b Update changelog 2022-10-20 11:08:59 +02:00
7d297fc456 chore(deps): Bump serde_json from 1.0.86 to 1.0.87
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.86...v1.0.87)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 08:51:55 +00:00
a2a8261095 Merge pull request #511 from vbrandl/dependabot/cargo/futures-0.3.25
chore(deps): Bump futures from 0.3.24 to 0.3.25
2022-10-20 10:50:47 +02:00
8aac012161 Update changelog 2022-10-20 10:28:49 +02:00
c05843f07a chore(deps): Bump futures from 0.3.24 to 0.3.25
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.24...0.3.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 04:14:57 +00:00
9df487ef1b Merge pull request #509 from vbrandl/release/0.26.0
All checks were successful
continuous-integration/drone/push Build is passing
chore: Bump version (v0.26.0)
2022-10-18 13:35:31 +02:00
5d4c82065e Fix release pipeline
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-10-18 12:40:26 +02:00
b6164cbc08 chore: Bump version (v0.26.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-10-18 12:19:17 +02:00
f5c06b1546 Merge pull request #508 from vbrandl/dependabot/cargo/dotenvy-0.15.6
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump dotenvy from 0.15.5 to 0.15.6
2022-10-18 12:15:42 +02:00
7beddf2ccc Update changelog 2022-10-18 11:37:20 +02:00
6ccb548f21 chore(deps): Bump dotenvy from 0.15.5 to 0.15.6
Bumps [dotenvy](https://github.com/allan2/dotenvy) from 0.15.5 to 0.15.6.
- [Release notes](https://github.com/allan2/dotenvy/releases)
- [Changelog](https://github.com/allan2/dotenvy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/allan2/dotenvy/compare/v0.15.5...v0.15.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 04:09:24 +00:00
dc8afc0a52 Merge pull request #505 from vbrandl/ci-changes
All checks were successful
continuous-integration/drone/push Build is passing
CI changes
2022-10-11 10:45:13 +02:00
f723158edc Write changelog since last release 2022-10-11 10:35:14 +02:00
af7163711d Fix warnings in tests 2022-10-11 10:32:37 +02:00
0e6224dd7b Update trigger, actions, and create changelog 2022-10-11 09:43:04 +02:00
d257ddd7fd Update trigger and actions 2022-10-11 09:42:41 +02:00
d3dce34d13 Update trigger and actions 2022-10-11 09:42:17 +02:00
24b9f06aad Add label to dependabot PRs 2022-10-11 09:41:32 +02:00
a008055c33 Merge pull request #504 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.4
chore(deps): Bump tracing-bunyan-formatter from 0.3.3 to 0.3.4
2022-10-11 09:27:03 +02:00
b403155c86 Update changelog 2022-10-11 09:04:00 +02:00
791a160964 chore(deps): Bump tracing-bunyan-formatter from 0.3.3 to 0.3.4
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/LukeMathWalker/tracing-bunyan-formatter/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.3...v0.3.4)

---
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>
2022-10-11 04:14:37 +00:00
e59041d246 Merge pull request #503 from vbrandl/dependabot/cargo/serde_json-1.0.86
chore(deps): Bump serde_json from 1.0.85 to 1.0.86
2022-10-10 08:15:55 +02:00
c8a66ae37c chore(deps): Bump serde_json from 1.0.85 to 1.0.86
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.86)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 04:17:45 +00:00
b0e3bacc33 Merge pull request #501 from vbrandl/dependabot/cargo/tracing-subscriber-0.3.16
chore(deps): Bump tracing-subscriber from 0.3.15 to 0.3.16
2022-10-07 09:17:24 +02:00
2dce1ba01d chore(deps): Bump tracing-subscriber from 0.3.15 to 0.3.16
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.15...tracing-subscriber-0.3.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 07:11:06 +00:00
68831446d5 Merge pull request #502 from vbrandl/dependabot/cargo/tracing-0.1.37
chore(deps): Bump tracing from 0.1.36 to 0.1.37
2022-10-07 09:10:04 +02:00
b8e903766c chore(deps): Bump tracing from 0.1.36 to 0.1.37
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 04:27:06 +00:00
156f484b87 Merge pull request #500 from vbrandl/release/v0.25.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore: Bump version (v0.25.0)
2022-09-28 15:02:06 +02:00
1b9e04f41b chore: Bump version (v0.25.0)
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 14:53:12 +02:00
ebc5c26a6f Merge pull request #499 from vbrandl/fix/replace-deprecated-badge
All checks were successful
continuous-integration/drone/push Build is passing
Replace deprecated `badge` crate with `badgers`
2022-09-28 10:51:58 +02:00
d5e30ba727 Replace deprecated badge crate with badgers 2022-09-28 10:43:49 +02:00
cdbf3e5c06 Merge pull request #498 from vbrandl/dependabot/cargo/tokio-1.21.2
chore(deps): Bump tokio from 1.21.1 to 1.21.2
2022-09-28 08:37:55 +02:00
4012e835a6 chore(deps): Bump tokio from 1.21.1 to 1.21.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.21.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 04:12:29 +00:00
481f4d5e3d chore: Bump version number (v0.24.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-09-23 15:39:50 +02:00
4df06b344c Merge remote-tracking branch 'gvb/master'
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-23 15:32:56 +02:00
47b6b27e59 Merge pull request #497 from vbrandl/dependabot/cargo/serde-1.0.145
chore(deps): Bump serde from 1.0.144 to 1.0.145
2022-09-23 12:27:17 +02:00
21cb4d15a5 chore(deps): Bump serde from 1.0.144 to 1.0.145
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 04:13:09 +00:00
c68b5812c2 Merge pull request #496 from vbrandl/dependabot/cargo/reqwest-0.11.12
chore(deps): Bump reqwest from 0.11.11 to 0.11.12
2022-09-21 09:40:23 +02:00
c4f852f9d4 Merge pull request #495 from vbrandl/dependabot/cargo/tracing-actix-web-0.6.1
chore(deps): Bump tracing-actix-web from 0.6.0 to 0.6.1
2022-09-21 09:39:29 +02:00
f104bf9ce6 chore(deps): Bump reqwest from 0.11.11 to 0.11.12
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.11 to 0.11.12.
- [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.11...v0.11.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 04:15:07 +00:00
e2a4d41633 chore(deps): Bump tracing-actix-web from 0.6.0 to 0.6.1
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.6.0...v0.6.1)

---
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>
2022-09-21 04:15:01 +00:00
8fec5b457f Merge pull request #494 from vbrandl/dependabot/cargo/dotenvy-0.15.5
chore(deps): Bump dotenvy from 0.15.3 to 0.15.5
2022-09-20 19:20:57 +02:00
3eaba6b87c chore(deps): Bump dotenvy from 0.15.3 to 0.15.5
Bumps [dotenvy](https://github.com/allan2/dotenvy) from 0.15.3 to 0.15.5.
- [Release notes](https://github.com/allan2/dotenvy/releases)
- [Changelog](https://github.com/allan2/dotenvy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/allan2/dotenvy/compare/v0.15.3...v0.15.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-20 04:14:06 +00:00
6ca1eafe60 Merge pull request #493 from vbrandl/dependabot/cargo/ructe-0.15.0
chore(deps): Bump ructe from 0.14.2 to 0.15.0
2022-09-19 09:00:59 +02:00
66fa759bb6 chore(deps): Bump ructe from 0.14.2 to 0.15.0
Bumps [ructe](https://github.com/kaj/ructe) from 0.14.2 to 0.15.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.14.2...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 04:23:37 +00:00
84439d2d71 Merge pull request #492 from vbrandl/dependabot/cargo/tokio-1.21.1
chore(deps): Bump tokio from 1.21.0 to 1.21.1
2022-09-15 15:38:24 +02:00
bed16ef4fb chore(deps): Bump tokio from 1.21.0 to 1.21.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.0...tokio-1.21.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-14 04:16:21 +00:00
e10e9250a1 Merge pull request #491 from vbrandl/dependabot/cargo/actix-web-4.2.0
chore(deps): Bump actix-web from 4.1.0 to 4.2.0
2022-09-12 13:17:38 +02:00
e9accd6be8 Update to actix-web v4.2.1 2022-09-12 13:08:42 +02:00
218f55237a chore(deps): Bump actix-web from 4.1.0 to 4.2.0
Bumps [actix-web](https://github.com/actix/actix-web) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.1.0...web-v4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 04:12:47 +00:00
f679eaa1cd Merge pull request #490 from vbrandl/dependabot/cargo/tokio-1.21.0
chore(deps): Bump tokio from 1.20.1 to 1.21.0
2022-09-08 19:18:38 +02:00
fc668d961a chore(deps): Bump tokio from 1.20.1 to 1.21.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 13:36:19 +00:00
b4aaa0bcf5 Merge pull request #489 from vbrandl/fix/replace-dotenv
Use dotenvy over unmaintained dotenv
2022-08-31 11:32:33 +02:00
4a94af0f75 Use dotenvy over unmaintained dotenv 2022-08-31 11:09:23 +02:00
41205a4404 Merge pull request #486 from vbrandl/dependabot/cargo/futures-0.3.24
chore(deps): Bump futures from 0.3.23 to 0.3.24
2022-08-31 09:37:32 +02:00
9c7f7a3bdf chore(deps): Bump futures from 0.3.23 to 0.3.24
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.23...0.3.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 04:27:39 +00:00
db510c709f Merge pull request #485 from vbrandl/dependabot/cargo/awc-3.0.1
chore(deps): Bump awc from 3.0.0 to 3.0.1
2022-08-29 10:43:52 +02:00
c6319dd5eb chore(deps): Bump awc from 3.0.0 to 3.0.1
Bumps [awc](https://github.com/actix/actix-web) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.0.0...awc-v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 04:12:04 +00:00
42c094a7d7 chore: Bump version (v0.23.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-08-23 12:19:00 +02:00
330c21b12c Merge pull request #484 from vbrandl/fix/docker-build
All checks were successful
continuous-integration/drone/push Build is passing
Use different rust-musl image
2022-08-23 11:39:27 +02:00
9a0d8dfc37 Use different rust-musl image
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-23 11:36:08 +02:00
633873814b Merge pull request #480 from vbrandl/feature/ructe-static
Use ructe static file support to serve static files with hashes and caching
2022-08-23 10:09:02 +02:00
95c54b95c1 Remove unnecessary testcase 2022-08-23 09:45:05 +02:00
a68a49f6ae Merge branch 'master' into feature/ructe-static 2022-08-22 15:34:49 +02:00
6c7cb9df97 Merge pull request #478 from Masynchin/count
Some checks failed
continuous-integration/drone/push Build is failing
Refactor count_repositories
2022-08-22 15:34:32 +02:00
0a4ec4ecd4 Run fmt 2022-08-22 16:20:24 +03:00
3ead212fe7 Add tests for count_repositories 2022-08-22 16:12:21 +03:00
b001db6558 Merge branch 'master' into feature/ructe-static 2022-08-22 12:28:56 +02:00
5543301140 Merge pull request #477 from vbrandl/feature/branch-in-generator
Allow providing a branch name in generator
2022-08-22 11:57:05 +02:00
028795effa Merge branch 'master' into feature/branch-in-generator 2022-08-22 11:53:39 +02:00
23303d818a Merge branch 'master' into feature/ructe-static 2022-08-22 11:50:45 +02:00
886caeca1c Merge pull request #476 from vbrandl/dependabot/cargo/futures-0.3.23
chore(deps): Bump futures from 0.3.21 to 0.3.23
2022-08-22 11:47:03 +02:00
6fbd437f34 Merge pull request #482 from vbrandl/dependabot/cargo/serde_json-1.0.85
chore(deps): Bump serde_json from 1.0.83 to 1.0.85
2022-08-22 11:46:55 +02:00
13095b0445 Merge pull request #483 from vbrandl/dependabot/cargo/serde-1.0.144
chore(deps): Bump serde from 1.0.143 to 1.0.144
2022-08-22 11:46:46 +02:00
6c8a635e12 chore(deps): Bump futures from 0.3.21 to 0.3.23
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 09:36:58 +00:00
d0ea0c8a68 chore(deps): Bump serde_json from 1.0.83 to 1.0.85
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.83 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.83...v1.0.85)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 09:36:57 +00:00
6bd843d9b8 chore(deps): Bump serde from 1.0.143 to 1.0.144
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 09:36:47 +00:00
f4206140b3 Merge pull request #481 from vbrandl/dependabot/cargo/ructe-0.14.2
chore(deps): Bump ructe from 0.14.0 to 0.14.2
2022-08-22 11:35:51 +02:00
7139663544 Add docs to count_repositories 2022-08-22 10:51:57 +03:00
0c9ef2abd2 chore(deps): Bump ructe from 0.14.0 to 0.14.2
Bumps [ructe](https://github.com/kaj/ructe) from 0.14.0 to 0.14.2.
- [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.14.0...v0.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 04:11:39 +00:00
391bb6faeb Use ructe static file support to serve static files with hashes and caching 2022-08-21 13:48:03 +02:00
d4248df45a Use helper struct to reduce template parameters 2022-08-19 10:34:37 +02:00
4b5d962c2c Refactor count_repositories 2022-08-18 17:23:09 +03:00
c93c83f004 Merge pull request #473 from vbrandl/dependabot/cargo/serde-1.0.143
chore(deps): Bump serde from 1.0.142 to 1.0.143
2022-08-18 14:08:25 +02:00
dbbbdad3fa Allow providing a branch name in generator 2022-08-18 14:07:07 +02:00
e82037c23b chore(deps): Bump serde from 1.0.142 to 1.0.143
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.142 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.142...v1.0.143)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 04:13:44 +00:00
ecbc63f522 Merge pull request #468 from vbrandl/dependabot/cargo/tracing-0.1.36
chore(deps): Bump tracing from 0.1.35 to 0.1.36
2022-08-04 12:49:57 +02:00
315eb514f4 chore(deps): Bump tracing from 0.1.35 to 0.1.36
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 10:40:55 +00:00
9139c8f005 Merge pull request #470 from vbrandl/dependabot/cargo/config-0.13.2
chore(deps): Bump config from 0.13.1 to 0.13.2
2022-08-04 12:39:48 +02:00
96ded8a0a8 Merge pull request #471 from vbrandl/dependabot/cargo/serde-1.0.142
chore(deps): Bump serde from 1.0.140 to 1.0.142
2022-08-04 12:39:25 +02:00
15692cbb08 Merge pull request #472 from vbrandl/dependabot/cargo/serde_json-1.0.83
chore(deps): Bump serde_json from 1.0.82 to 1.0.83
2022-08-04 12:38:59 +02:00
98d80faf3a chore(deps): Bump serde_json from 1.0.82 to 1.0.83
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.82...v1.0.83)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 04:14:04 +00:00
a0cb623dc6 chore(deps): Bump serde from 1.0.140 to 1.0.142
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.140 to 1.0.142.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.142)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 04:13:56 +00:00
28582e58e0 chore(deps): Bump config from 0.13.1 to 0.13.2
Bumps [config](https://github.com/mehcode/config-rs) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/mehcode/config-rs/releases)
- [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mehcode/config-rs/compare/0.13.1...0.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 04:12:43 +00:00
e79e1e2634 Merge pull request #467 from vbrandl/dependabot/cargo/bytes-1.2.1
chore(deps): Bump bytes from 1.1.0 to 1.2.1
2022-07-30 17:16:13 +02:00
097a1affcf Merge pull request #462 from vbrandl/dependabot/cargo/tracing-subscriber-0.3.15
chore(deps): Bump tracing-subscriber from 0.3.14 to 0.3.15
2022-07-30 17:07:41 +02:00
df022f538c chore(deps): Bump bytes from 1.1.0 to 1.2.1
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-30 15:07:38 +00:00
b4327ff28f Merge pull request #463 from vbrandl/dependabot/cargo/serde-1.0.140
chore(deps): Bump serde from 1.0.139 to 1.0.140
2022-07-30 17:07:31 +02:00
38a837bc70 Merge pull request #464 from vbrandl/dependabot/cargo/vergen-7.3.1
chore(deps): Bump vergen from 7.2.1 to 7.3.1
2022-07-30 17:07:17 +02:00
743fe98d1b Merge pull request #465 from vbrandl/dependabot/cargo/tokio-1.20.1
chore(deps): Bump tokio from 1.20.0 to 1.20.1
2022-07-30 17:07:02 +02:00
d0e2f21339 Merge pull request #466 from vbrandl/dependabot/cargo/git2-0.15.0
chore(deps): Bump git2 from 0.14.4 to 0.15.0
2022-07-30 17:06:31 +02:00
ebe844d305 chore(deps): Bump git2 from 0.14.4 to 0.15.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.14.4 to 0.15.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.14.4...git2-curl-0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 04:16:42 +00:00
c0119ccc97 chore(deps): Bump tokio from 1.20.0 to 1.20.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.0...tokio-1.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 04:17:03 +00:00
6ae96e9b33 chore(deps): Bump vergen from 7.2.1 to 7.3.1
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.2.1 to 7.3.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.2.1...7.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 04:20:57 +00:00
85bd714eb8 chore(deps): Bump serde from 1.0.139 to 1.0.140
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 04:21:57 +00:00
4d63a3cb0b chore(deps): Bump tracing-subscriber from 0.3.14 to 0.3.15
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.14...tracing-subscriber-0.3.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 04:21:43 +00:00
5d7d06abef Merge pull request #460 from vbrandl/dependabot/cargo/tokio-1.20.0
chore(deps): Bump tokio from 1.19.2 to 1.20.0
2022-07-15 13:16:54 +02:00
a84885a2ca Merge pull request #459 from vbrandl/dependabot/cargo/serde-1.0.139
chore(deps): Bump serde from 1.0.138 to 1.0.139
2022-07-15 13:16:06 +02:00
ee1de29158 chore(deps): Bump tokio from 1.19.2 to 1.20.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.20.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 04:15:59 +00:00
e48279c6d8 chore(deps): Bump serde from 1.0.138 to 1.0.139
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 04:18:20 +00:00
3df296e542 Merge pull request #454 from vbrandl/dependabot/cargo/tracing-actix-web-0.6.0
chore(deps): Bump tracing-actix-web from 0.5.1 to 0.6.0
2022-07-06 20:24:35 +02:00
a65f8d9d72 Merge pull request #455 from vbrandl/dependabot/cargo/serde_json-1.0.82
chore(deps): Bump serde_json from 1.0.81 to 1.0.82
2022-07-06 19:58:10 +02:00
ec04b0a76f Merge pull request #457 from vbrandl/dependabot/cargo/serde-1.0.138
chore(deps): Bump serde from 1.0.137 to 1.0.138
2022-07-06 19:57:57 +02:00
5387265a3e chore(deps): Bump tracing-actix-web from 0.5.1 to 0.6.0
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.5.1...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 17:57:42 +00:00
0379d4bfc0 Merge pull request #458 from vbrandl/dependabot/cargo/tracing-subscriber-0.3.14
chore(deps): Bump tracing-subscriber from 0.3.11 to 0.3.14
2022-07-06 19:56:34 +02:00
7e1b86ace1 chore(deps): Bump tracing-subscriber from 0.3.11 to 0.3.14
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.11 to 0.3.14.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.11...tracing-subscriber-0.3.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 04:17:13 +00:00
f000dbd27c chore(deps): Bump serde from 1.0.137 to 1.0.138
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 04:17:06 +00:00
3fd245da4a chore(deps): Bump serde_json from 1.0.81 to 1.0.82
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 04:20:49 +00:00
6f292796a4 Merge pull request #453 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.3
chore(deps): Bump tracing-bunyan-formatter from 0.3.2 to 0.3.3
2022-06-27 10:59:08 +02:00
95bc3491ec chore(deps): Bump tracing-bunyan-formatter from 0.3.2 to 0.3.3
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/LukeMathWalker/tracing-bunyan-formatter/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.2...v0.3.3)

---
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>
2022-06-27 04:12:20 +00:00
9b961032aa chore: Update dependencies
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-16 13:34:20 +02:00
26 changed files with 998 additions and 571 deletions

View File

@ -1,10 +1,12 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
- vbrandl
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
- vbrandl
labels:
- dependencies

View File

@ -3,26 +3,19 @@ on:
schedule:
- cron: '0 1 * * *'
push:
branches:
- master
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
- ".cargo/audit.toml"
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache cargo registry, index and build directory
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./target
key: audit-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -6,8 +6,12 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
tests:
uses: vbrandl/hoc/.github/workflows/rust.yml@master
publish:
name: Publishing for ${{ matrix.os }}
needs: [tests]
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -29,7 +33,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
@ -44,7 +48,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
./target
key: release-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo build
uses: actions-rs/cargo@v1
@ -74,3 +78,14 @@ jobs:
target/${{ matrix.target }}/release/hoc-${{ matrix.artifact_prefix }}.sha256
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
changelog:
name: Update Changelog
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,13 +1,19 @@
on: [push, pull_request]
on:
workflow_call:
push:
branches:
- master
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
@ -17,15 +23,6 @@ jobs:
override: true
components: rustfmt
- name: Cache cargo registry, index and build directory
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./target
key: rustfmt-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check Formatting
uses: actions-rs/cargo@v1
with:
@ -37,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
@ -48,13 +45,13 @@ jobs:
components: rustfmt
- name: Cache cargo registry, index and build directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
./target
key: clippy-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Clippy Linting
uses: actions-rs/cargo@v1
@ -74,7 +71,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
@ -84,13 +81,13 @@ jobs:
override: true
- name: Cache cargo registry, index and build directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
./target
key: test-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run Tests
uses: actions-rs/cargo@v1

184
CHANGELOG.md Normal file
View File

@ -0,0 +1,184 @@
# Changelog
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]
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.2 to 0.7.3 ([#578])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.156 to 1.0.158 ([#580])
* Updated [`mime`](https://github.com/hyperium/mime) from 0.3.16 to 0.3.17 ([#582])
* Updated [`dotenvy`](https://github.com/allan2/dotenvy) from 0.15.6 to 0.15.7 ([#583])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.14 to 0.11.16 ([#586])
[#578]: https://github.com/vbrandl/hoc/pull/578
[#580]: https://github.com/vbrandl/hoc/pull/580
[#582]: https://github.com/vbrandl/hoc/pull/582
[#583]: https://github.com/vbrandl/hoc/pull/583
[#586]: https://github.com/vbrandl/hoc/pull/586
## [0.33.0] 2023-03-16
* Updated [`futures`](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27 ([#575])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.156 ([#576])
* Use edition 2021 ([#577])
[#575]: https://github.com/vbrandl/hoc/pull/575
[#576]: https://github.com/vbrandl/hoc/pull/576
[#577]: https://github.com/vbrandl/hoc/pull/577
## [0.32.0] 2023-03-06
* Updated [`actix-web`](https://github.com/actix/actix-web) from 4.3.0 to 4.3.1 ([#566])
* Updated [`tempfile`](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0 ([#567])
* Updated [`awc`](https://github.com/actix/actix-web) from 3.1.0 to 3.1.1 ([#568])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0 ([#569])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.93 to 1.0.94 ([#570])
[#566]: https://github.com/vbrandl/hoc/pull/566
[#567]: https://github.com/vbrandl/hoc/pull/567
[#568]: https://github.com/vbrandl/hoc/pull/568
[#569]: https://github.com/vbrandl/hoc/pull/569
[#570]: https://github.com/vbrandl/hoc/pull/570
## [0.31.0] 2023-02-13
### Dependency Updates
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2 ([#547])
* Updated [`badgers`](https://github.com/vbrandl/badgers) from 1.1.0 to 1.2.0 ([#548])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.13 to 0.11.14 ([#549])
* Updated [`bumpalo`](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0 ([#550])
* Updated [`libgit2-sys`](https://github.com/rust-lang/git2-rs) from 0.14.1+1.5.0 to 0.14.2+1.5.1 ([#551])
* Updated [`git2`](https://github.com/rust-lang/git2-rs) from 0.16.0 to 0.16.1 ([#552])
* Updated [`actix-rt`](https://github.com/actix/actix-net) from 2.7.0 to 2.8.0 ([#553])
* Updated [`actix-web`](https://github.com/actix/actix-web) from 4.2.1 to 4.3.0 ([#554])
* Updated [`awc`](https://github.com/actix/actix-web) from 3.0.1 to 3.1.0 ([#555])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0 ([#558])
* Updated [`ructe`](https://github.com/kaj/ructe) from 0.15.0 to 0.16.1 ([#559])
* Updated [`futures`](https://github.com/rust-lang/futures-rs) from 0.3.25 to 0.3.26 ([#560])
* Updated [`bytes`](https://github.com/tokio-rs/bytes) from 1.3.0 to 1.4.0 ([#561])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.91 to 1.0.92 ([#562])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 7.5.0 to 7.5.1 ([#563])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.92 to 1.0.93 ([#564])
[#547]: https://github.com/vbrandl/hoc/pull/547
[#548]: https://github.com/vbrandl/hoc/pull/548
[#550]: https://github.com/vbrandl/hoc/pull/550
[#551]: https://github.com/vbrandl/hoc/pull/551
[#552]: https://github.com/vbrandl/hoc/pull/552
[#553]: https://github.com/vbrandl/hoc/pull/553
[#554]: https://github.com/vbrandl/hoc/pull/554
[#555]: https://github.com/vbrandl/hoc/pull/555
[#558]: https://github.com/vbrandl/hoc/pull/558
[#559]: https://github.com/vbrandl/hoc/pull/559
[#560]: https://github.com/vbrandl/hoc/pull/560
[#561]: https://github.com/vbrandl/hoc/pull/561
[#562]: https://github.com/vbrandl/hoc/pull/562
[#563]: https://github.com/vbrandl/hoc/pull/563
[#564]: https://github.com/vbrandl/hoc/pull/564
## [0.30.0] 2023-01-16
### New Features
* Allow customization of the badge label ([#546])
### Dependency Updates
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.1 to 0.7.2 ([#542])
* Updated [`git2`](https://github.com/rust-lang/git2-rs) from 0.15.0 to 0.16.0 ([#544])
[#542]: https://github.com/vbrandl/hoc/pull/542
[#544]: https://github.com/vbrandl/hoc/pull/544
[#546]: https://github.com/vbrandl/hoc/pull/546
## [0.29.0] 2023-01-07
### Dependency Updates
* Updated [`badgers`](https://github.com/vbrandl/badgers) from 1.0.0 to 1.1.0 ([#530])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.90 to 1.0.91 ([#531])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 7.3.1 to 7.4.4 ([#533])
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.2 to 0.7.1 ([#534])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152 ([#535])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1 ([#536])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 7.4.4 to 7.5.0 ([#537])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.1 ([#539])
[#530]: https://github.com/vbrandl/hoc/pull/530
[#531]: https://github.com/vbrandl/hoc/pull/531
[#533]: https://github.com/vbrandl/hoc/pull/533
[#534]: https://github.com/vbrandl/hoc/pull/534
[#535]: https://github.com/vbrandl/hoc/pull/535
[#536]: https://github.com/vbrandl/hoc/pull/536
[#537]: https://github.com/vbrandl/hoc/pull/537
[#539]: https://github.com/vbrandl/hoc/pull/539
## [0.28.0] 2022-12-18
### Fixes
* Fixed clippy lint `needless_borrow` ([#526])
### Dependency Updates
* Updated [`bytes`](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0 ([#519])
* Updated [`config`](https://github.com/mehcode/config-rs) from 0.13.2 to 0.13.3 ([#522])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.88 to 1.0.90 ([#527])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.151 ([#528])
[#519]: https://github.com/vbrandl/hoc/pull/519
[#522]: https://github.com/vbrandl/hoc/pull/522
[#526]: https://github.com/vbrandl/hoc/pull/526
[#527]: https://github.com/vbrandl/hoc/pull/527
[#528]: https://github.com/vbrandl/hoc/pull/528
## [0.27.0] 2022-10-21
### Dependency Updates
* Updated [`futures`](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25 ([#511])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.86 to 1.0.87 ([#510])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.147 ([#512])
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.1 to 0.6.2 ([#513])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.12 to 0.11.13 ([#515])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0 ([#516])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.87 to 1.0.88 ([#517])
### Fixes
* Fix clippy lint `needless-borrow` ([#514])
[#511]: https://github.com/vbrandl/hoc/pull/511
[#510]: https://github.com/vbrandl/hoc/pull/510
[#512]: https://github.com/vbrandl/hoc/pull/512
[#513]: https://github.com/vbrandl/hoc/pull/513
[#514]: https://github.com/vbrandl/hoc/pull/514
[#515]: https://github.com/vbrandl/hoc/pull/515
[#516]: https://github.com/vbrandl/hoc/pull/516
[#517]: https://github.com/vbrandl/hoc/pull/517
## [0.26.0] 2022-10-03
### Changed
* Updated [`tracing-subscriber`](https://github.com/tokio-rs/tracing) from 0.3.15 to 0.3.16 ([#501])
* Updated [`tracing`](https://github.com/tokio-rs/tracing) from 0.1.36 to 0.1.37 ([#502])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.85 to 1.0.86 ([#503])
* Updated [`tracing-bunyan-formatter`](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.3 to 0.3.4 ([#504])
* Updated [`dotenvy`](https://github.com/allan2/dotenvy) from 0.15.5 to 0.15.6 ([#508])
[#501]: https://github.com/vbrandl/hoc/pull/501
[#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

898
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
[package]
name = "hoc"
version = "0.22.4"
version = "0.33.0"
authors = ["Valentin Brandl <vbrandl@riseup.net>"]
edition = "2018"
edition = "2021"
build = "build.rs"
[lib]
@ -13,34 +13,35 @@ path = "src/main.rs"
name = "hoc"
[dependencies]
actix-rt = "2.7.0"
actix-web = "4.1.0"
badge = "0.3.0"
bytes = "1.1.0"
config = { version = "0.13.1", features = ["toml"] }
dotenv = "0.15.0"
futures = "0.3.21"
git2 = "0.14.4"
actix-rt = "2.8.0"
actix-web = "4.3.1"
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"
lazy_static = "1.4.0"
mime = "0.3"
number_prefix = "0.4.0"
openssl-probe = "0.1.5"
reqwest = "0.11.11"
serde = "1.0.137"
serde_derive = "1.0.136"
serde_json = "1.0.81"
tracing = "0.1.34"
tracing-actix-web = "0.5.1"
tracing-bunyan-formatter = "0.3.2"
reqwest = "0.11.16"
serde = "1.0.158"
serde_derive = "1.0.137"
serde_json = "1.0.94"
tracing = "0.1.37"
tracing-actix-web = "0.7.3"
tracing-bunyan-formatter = "0.3.6"
tracing-futures = "0.2.5"
tracing-log = "0.1.3"
tracing-subscriber = { version = "0.3.11", features = ["registry", "env-filter"] }
tracing-subscriber = { version = "0.3.16", features = ["registry", "env-filter"] }
[build-dependencies]
ructe = "0.14.0"
vergen = { version = "7.2.1", default-features = false, features = ["git"] }
ructe = { version = "0.16.1", features = ["mime03"] }
vergen = { version = "7.5.1", default-features = false, features = ["git"] }
[dev-dependencies]
awc = "3.0.0"
ructe = "0.14.0"
tempfile = "3.3.0"
tokio = "1.19.2"
awc = "3.1.1"
ructe = "0.16.1"
tempfile = "3.4.0"
tokio = "1.26.0"

View File

@ -1,10 +1,13 @@
FROM ekidd/rust-musl-builder:stable as builder
# FROM ekidd/rust-musl-builder:stable as builder
FROM clux/muslrust:stable as builder
# create new cargo project
RUN USER=rust cargo init --lib
RUN cargo init --lib
# RUN USER=rust cargo init --lib
RUN echo 'fn main() { println!("Hello, world!"); }' >> src/main.rs
# copy build config
COPY --chown=rust ./Cargo.lock ./Cargo.lock
# COPY --chown=rust ./Cargo.lock ./Cargo.lock
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' > \
@ -38,6 +41,7 @@ USER hoc
# FROM scratch
# COPY --from=linuxkit/ca-certificates:v0.7 / /
COPY --from=builder /home/rust/src/target/x86_64-unknown-linux-musl/release/hoc .
# COPY --from=builder /home/rust/src/target/x86_64-unknown-linux-musl/release/hoc .
COPY --from=builder /volume/target/x86_64-unknown-linux-musl/release/hoc .
ENTRYPOINT ["/home/hoc/hoc"]

View File

@ -8,5 +8,8 @@ fn main() -> Result<(), RucteError> {
let mut config = Config::default();
*config.git_mut().sha_kind_mut() = ShaKind::Short;
vergen(config).expect("Unable to generate static repo info");
Ructe::from_env()?.compile_templates("templates")
let mut ructe = Ructe::from_env()?;
let mut statics = ructe.statics()?;
statics.add_files("static")?;
ructe.compile_templates("templates")
}

View File

@ -1,27 +1,30 @@
use crate::error::Result;
use std::{fs::read_dir, path::Path, result::Result as StdResult};
use std::{
fs::{read_dir, ReadDir},
iter::once,
path::Path,
result::Result as StdResult,
};
/// The on disk layout for served repos is `<service>/<user>/<repo>`
/// so to get the amount of repos, we just have to count everything
/// in `*/*/*` to get the count.
#[instrument]
pub(crate) fn count_repositories<P>(repo_path: P) -> Result<usize>
pub fn count_repositories<P>(repo_path: P) -> Result<usize>
where
P: AsRef<Path> + std::fmt::Debug,
{
trace!("Counting repositories");
std::fs::create_dir_all(&repo_path)?;
Ok(read_dir(repo_path)?
.filter_map(StdResult::ok)
.filter(|entry| entry.file_type().map(|ft| ft.is_dir()).unwrap_or(false))
.map(|entry| read_dir(entry.path()))
.filter_map(StdResult::ok)
.flat_map(|dir| {
dir.filter_map(StdResult::ok)
.filter(|entry| entry.file_type().map(|ft| ft.is_dir()).unwrap_or(false))
})
.map(|entry| read_dir(entry.path()))
.filter_map(StdResult::ok)
.flat_map(|dir| {
dir.filter_map(StdResult::ok)
.filter(|entry| entry.file_type().map(|ft| ft.is_dir()).unwrap_or(false))
})
Ok(once(read_dir(repo_path)?)
.flat_map(sub_directories)
.flat_map(sub_directories)
.flat_map(sub_directories)
.count())
}
fn sub_directories(dir: ReadDir) -> impl Iterator<Item = ReadDir> {
dir.filter_map(StdResult::ok)
.filter(|entry| entry.file_type().map(|ft| ft.is_dir()).unwrap_or(false))
.filter_map(|entry| read_dir(entry.path()).ok())
}

View File

@ -5,7 +5,7 @@ use std::fmt;
pub(crate) type Result<T> = std::result::Result<T, Error>;
#[derive(Debug)]
pub(crate) enum Error {
pub enum Error {
Badge(String),
Client(reqwest::Error),
Git(git2::Error),
@ -19,13 +19,13 @@ pub(crate) enum Error {
impl fmt::Display for Error {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
match self {
Error::Badge(s) => write!(fmt, "Badge({})", s),
Error::Client(e) => write!(fmt, "Client({})", e),
Error::Git(e) => write!(fmt, "Git({})", e),
Error::Badge(s) => write!(fmt, "Badge({s})"),
Error::Client(e) => write!(fmt, "Client({e})"),
Error::Git(e) => write!(fmt, "Git({e})"),
Error::Internal => write!(fmt, "Internal Error"),
Error::Io(e) => write!(fmt, "Io({})", e),
Error::Parse(e) => write!(fmt, "Parse({})", e),
Error::Serial(e) => write!(fmt, "Serial({})", e),
Error::Io(e) => write!(fmt, "Io({e})"),
Error::Parse(e) => write!(fmt, "Parse({e})"),
Error::Serial(e) => write!(fmt, "Serial({e})"),
Error::BranchNotFound => write!(fmt, "Repo doesn't have master branch"),
}
}
@ -43,11 +43,11 @@ impl ResponseError for Error {
let mut buf = Vec::new();
match self {
Error::BranchNotFound => {
templates::p404_no_master(&mut buf, VERSION_INFO, 0).unwrap();
templates::p404_no_master_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::NotFound().content_type("text/html").body(buf)
}
_ => {
templates::p500(&mut buf, VERSION_INFO, 0).unwrap();
templates::p500_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::InternalServerError()
.content_type("text/html")
.body(buf)

View File

@ -11,7 +11,7 @@ extern crate tracing;
mod cache;
pub mod config;
mod count;
pub mod count;
mod error;
mod service;
mod statics;
@ -23,8 +23,8 @@ use crate::{
config::Settings,
error::{Error, Result},
service::{Bitbucket, FormService, GitHub, Gitlab, Service, Sourcehut},
statics::{CLIENT, CSS, FAVICON, VERSION_INFO},
template::RepoInfo,
statics::{CLIENT, VERSION_INFO},
template::{RepoGeneratorInfo, RepoInfo},
};
use actix_web::{
dev::Server,
@ -32,7 +32,7 @@ use actix_web::{
middleware::{self, TrailingSlash},
web, App, HttpResponse, HttpServer, Responder,
};
use badge::{Badge, BadgeOptions};
use badgers::{Badge, BadgeOptions};
use git2::{BranchType, Repository};
use number_prefix::NumberPrefix;
use std::{
@ -46,6 +46,7 @@ use std::{
sync::atomic::Ordering,
time::{Duration, SystemTime},
};
use templates::statics::{self as template_statics, StaticFile};
use tracing::Instrument;
include!(concat!(env!("OUT_DIR"), "/templates.rs"));
@ -55,6 +56,7 @@ struct GeneratorForm<'a> {
service: FormService,
user: Cow<'a, str>,
repo: Cow<'a, str>,
branch: Option<Cow<'a, str>>,
}
#[derive(Debug)]
@ -81,8 +83,14 @@ struct JsonResponse<'a> {
}
#[derive(Deserialize, Debug)]
struct BranchQuery {
struct BadgeQuery {
branch: Option<String>,
#[serde(default = "default_label")]
label: String,
}
fn default_label() -> String {
"Hits-of-Code".to_string()
}
fn pull(path: impl AsRef<Path>) -> Result<()> {
@ -93,8 +101,8 @@ fn pull(path: impl AsRef<Path>) -> Result<()> {
}
fn hoc(repo: &str, repo_dir: &str, cache_dir: &str, branch: &str) -> Result<(u64, String, u64)> {
let repo_dir = format!("{}/{}", repo_dir, repo);
let cache_dir = format!("{}/{}.json", cache_dir, repo);
let repo_dir = format!("{repo_dir}/{repo}");
let cache_dir = format!("{cache_dir}/{repo}.json");
let cache_dir = Path::new(&cache_dir);
let repo = Repository::open_bare(&repo_dir)?;
// TODO: do better...
@ -116,7 +124,7 @@ fn hoc(repo: &str, repo_dir: &str, cache_dir: &str, branch: &str) -> Result<(u64
"-M".to_string(),
"--diff-filter=ACDM".to_string(),
];
let cache = CacheState::read_from_file(&cache_dir, branch, &head)?;
let cache = CacheState::read_from_file(cache_dir, branch, &head)?;
match &cache {
CacheState::Current { count, commits, .. } => {
info!("Using cache");
@ -124,8 +132,8 @@ fn hoc(repo: &str, repo_dir: &str, cache_dir: &str, branch: &str) -> Result<(u64
}
CacheState::Old { head, .. } => {
info!("Updating cache");
arg.push(format!("{}..{}", head, branch));
arg_commit_count.push(format!("{}..{}", head, branch));
arg.push(format!("{head}..{branch}"));
arg_commit_count.push(format!("{head}..{branch}"));
}
CacheState::No | CacheState::NoneForBranch(..) => {
info!("Creating cache");
@ -206,16 +214,16 @@ where
data.1.to_lowercase()
);
info!("Deleting cache and repository");
let cache_dir = format!("{}/{}.json", &state.cache(), repo);
let repo_dir = format!("{}/{}", &state.repos(), repo);
std::fs::remove_file(&cache_dir).or_else(|e| {
let cache_dir = format!("{}/{repo}.json", &state.cache());
let repo_dir = format!("{}/{repo}", &state.repos());
std::fs::remove_file(cache_dir).or_else(|e| {
if e.kind() == io::ErrorKind::NotFound {
Ok(())
} else {
Err(e)
}
})?;
std::fs::remove_dir_all(&repo_dir).or_else(|e| {
std::fs::remove_dir_all(repo_dir).or_else(|e| {
if e.kind() == io::ErrorKind::NotFound {
Ok(())
} else {
@ -254,10 +262,10 @@ where
);
let future = async {
let repo = format!("{}/{}", data.0.to_lowercase(), data.1.to_lowercase());
let service_path = format!("{}/{}", T::url_path(), repo);
let service_url = format!("{}/{}", T::domain(), repo);
let path = format!("{}/{}", state.repos(), service_url);
let url = format!("https://{}", service_url);
let service_path = format!("{}/{repo}", T::url_path());
let service_url = format!("{}/{repo}", T::domain());
let path = format!("{}/{service_url}", state.repos());
let url = format!("https://{service_url}");
let remote_exists = remote_exists(&url).await?;
let file = Path::new(&path);
if !file.exists() {
@ -276,7 +284,7 @@ where
let (hoc, head, commits) = hoc(&service_url, &state.repos(), &state.cache(), branch)?;
let hoc_pretty = match NumberPrefix::decimal(hoc as f64) {
NumberPrefix::Standalone(hoc) => hoc.to_string(),
NumberPrefix::Prefixed(prefix, hoc) => format!("{:.1}{}", hoc, prefix),
NumberPrefix::Prefixed(prefix, hoc) => format!("{hoc:.1}{prefix}"),
};
let res = HocResult::Hoc {
hoc,
@ -296,7 +304,7 @@ pub(crate) async fn json_hoc<T: Service>(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
data: web::Path<(String, String)>,
branch: web::Query<BranchQuery>,
branch: web::Query<BadgeQuery>,
) -> Result<HttpResponse> {
let branch = branch.branch.as_deref().unwrap_or("master");
let rc_clone = repo_count.clone();
@ -332,14 +340,15 @@ pub(crate) async fn calculate_hoc<T: Service>(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
data: web::Path<(String, String)>,
branch: web::Query<BranchQuery>,
query: web::Query<BadgeQuery>,
) -> HttpResponse {
let rc_clone = repo_count.clone();
let label = query.label.clone();
let mapper = move |r| match r {
HocResult::NotFound => p404(rc_clone),
HocResult::Hoc { hoc_pretty, .. } => {
let badge_opt = BadgeOptions {
subject: "Hits-of-Code".to_string(),
subject: label,
color: "#007ec6".to_string(),
status: hoc_pretty,
};
@ -350,10 +359,10 @@ pub(crate) async fn calculate_hoc<T: Service>(
Ok(no_cache_response(body))
}
};
let branch = branch.branch.as_deref().unwrap_or("master");
let branch = query.branch.as_deref().unwrap_or("master");
let error_badge = |_| {
let error_badge = Badge::new(BadgeOptions {
subject: "Hits-of-Code".to_string(),
subject: query.label.clone(),
color: "#ff0000".to_string(),
status: "error".to_string(),
})
@ -370,9 +379,10 @@ async fn overview<T: Service>(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
data: web::Path<(String, String)>,
branch: web::Query<BranchQuery>,
query: web::Query<BadgeQuery>,
) -> Result<HttpResponse> {
let branch = branch.branch.as_deref().unwrap_or("master");
let branch = query.branch.as_deref().unwrap_or("master");
let label = query.label.clone();
let base_url = state.settings.base_url.clone();
let rc_clone = repo_count.clone();
let mapper = move |r| match r {
@ -398,11 +408,12 @@ async fn overview<T: Service>(
url: &url,
branch,
};
templates::overview(
templates::overview_html(
&mut buf,
VERSION_INFO,
rc_clone.load(Ordering::Relaxed),
repo_info,
label,
)?;
Ok(HttpResponse::Ok().content_type("text/html").body(buf))
@ -422,7 +433,7 @@ async fn index(
repo_count: web::Data<AtomicUsize>,
) -> Result<HttpResponse> {
let mut buf = Vec::new();
templates::index(
templates::index_html(
&mut buf,
VERSION_INFO,
repo_count.load(Ordering::Relaxed),
@ -437,16 +448,23 @@ async fn generate(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
) -> Result<HttpResponse> {
let repo = format!("{}/{}", params.user, params.repo);
let mut buf = Vec::new();
templates::generate(
let repo_info = RepoGeneratorInfo {
service: params.service,
user: &params.user,
repo: &params.repo,
branch: params
.branch
.as_deref()
.filter(|s| !s.is_empty())
.unwrap_or("master"),
};
templates::generate_html(
&mut buf,
VERSION_INFO,
repo_count.load(Ordering::Relaxed),
&state.settings.base_url,
params.service.url(),
params.service.service(),
&repo,
&repo_info,
)?;
Ok(HttpResponse::Ok().content_type("text/html").body(buf))
@ -454,7 +472,7 @@ async fn generate(
fn p404(repo_count: web::Data<AtomicUsize>) -> Result<HttpResponse> {
let mut buf = Vec::new();
templates::p404(&mut buf, VERSION_INFO, repo_count.load(Ordering::Relaxed))?;
templates::p404_html(&mut buf, VERSION_INFO, repo_count.load(Ordering::Relaxed))?;
Ok(HttpResponse::NotFound().content_type("text/html").body(buf))
}
@ -462,14 +480,32 @@ async fn async_p404(repo_count: web::Data<AtomicUsize>) -> Result<HttpResponse>
p404(repo_count)
}
#[get("/tacit-css.min.css")]
async fn css() -> HttpResponse {
HttpResponse::Ok().content_type("text/css").body(CSS)
/// 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}")]
async fn static_file(
path: web::Path<String>,
repo_count: web::Data<AtomicUsize>,
) -> Result<HttpResponse> {
StaticFile::get(&path)
.map(|data| {
let far_expires = SystemTime::now() + FAR;
HttpResponse::Ok()
.insert_header(Expires(far_expires.into()))
.content_type(data.mime.clone())
.body(data.content)
})
.map(Result::Ok)
.unwrap_or_else(|| p404(repo_count))
}
#[get("/favicon.ico")]
async fn favicon32() -> HttpResponse {
HttpResponse::Ok().content_type("image/png").body(FAVICON)
let data = &template_statics::favicon32_png;
HttpResponse::Ok()
.content_type(data.mime.clone())
.body(data.content)
}
async fn start_server(listener: TcpListener, settings: Settings) -> std::io::Result<Server> {
@ -486,7 +522,7 @@ async fn start_server(listener: TcpListener, settings: Settings) -> std::io::Res
.wrap(middleware::NormalizePath::new(TrailingSlash::Trim))
.service(index)
.service(health_check)
.service(css)
.service(static_file)
.service(favicon32)
.service(generate)
.default_service(web::to(async_p404));

View File

@ -3,7 +3,7 @@ use hoc::{config::Settings, telemetry};
use std::net::TcpListener;
fn init() {
dotenv::dotenv().ok();
dotenvy::dotenv().ok();
openssl_probe::init_ssl_cert_env_vars();
telemetry::init_subscriber(telemetry::get_subscriber("hoc", "info"))

View File

@ -28,8 +28,8 @@ pub(crate) trait Service: Sized + 'static {
}
}
#[derive(Deserialize, Serialize)]
pub(crate) enum FormService {
#[derive(Deserialize, Serialize, Clone, Copy)]
pub enum FormService {
#[serde(rename = "github")]
GitHub,
#[serde(rename = "gitlab")]

View File

@ -7,8 +7,6 @@ pub(crate) const VERSION_INFO: VersionInfo = VersionInfo {
commit: env!("VERGEN_GIT_SHA_SHORT"),
version: env!("CARGO_PKG_VERSION"),
};
pub(crate) const CSS: &str = include_str!("../static/tacit-css.min.css");
pub(crate) const FAVICON: &[u8] = include_bytes!("../static/favicon32.png");
lazy_static! {
pub(crate) static ref CLIENT: reqwest::Client = reqwest::Client::new();

View File

@ -1,3 +1,5 @@
use crate::service::FormService;
pub struct RepoInfo<'a> {
pub commit_url: &'a str,
pub commits: u64,
@ -9,3 +11,10 @@ pub struct RepoInfo<'a> {
pub url: &'a str,
pub branch: &'a str,
}
pub struct RepoGeneratorInfo<'a> {
pub service: FormService,
pub user: &'a str,
pub repo: &'a str,
pub branch: &'a str,
}

View File

@ -1,3 +1,4 @@
@use super::statics::*;
@use crate::statics::VersionInfo;
@(title: &str, header: &str, content: Content, version_info: VersionInfo, repo_count: usize)
@ -9,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="Hits-of-Code, GitHub, Badge" />
<meta name="description" content="Hits-of-Code Badges for Git repositories" />
<link rel="stylesheet" href="/tacit-css.min.css" />
<link rel="stylesheet" href="/static/@tacit_css_min_css.name" />
<title>@title</title>
</head>
<body>

View File

@ -1,16 +1,16 @@
@use super::base;
@use crate::statics::VersionInfo;
@use super::base_html;
@use crate::{statics::VersionInfo, template::RepoGeneratorInfo};
@(version_info: VersionInfo, repo_count: usize, base_url: &str, url: &str, service: &str, path: &str)
@(version_info: VersionInfo, repo_count: usize, base_url: &str, repo_info: &RepoGeneratorInfo)
@:base("Hits-of-Code Badges", "Badge Generator", {
@:base_html("Hits-of-Code Badges", "Badge Generator", {
<p>
Here is the markdown for the badge for <a href="https://@url/@path">@url/@path</a>
Here is the markdown for the badge for <a href="https://@repo_info.service.url()/@repo_info.user/@repo_info.repo">@repo_info.user/@repo_info.repo</a>
</p>
<pre>
[![Hits-of-Code](@base_url/@service/@path)](@base_url/@service/@path/view)
[![Hits-of-Code](@base_url/@repo_info.service.service()/@repo_info.user/@repo_info.repo?branch=@repo_info.branch)](@base_url/@repo_info.service.service()/@repo_info.user/@repo_info.repo/view?branch=@repo_info.branch)
</pre>
<p>
@ -18,6 +18,6 @@ It will be rendered like this
</p>
<pre>
<a href="@base_url/@service/@path/view"><img src="@base_url/@service/@path" alt="example badge" /></a>
<a href="@base_url/@repo_info.service.service()/@repo_info.user/@repo_info.repo/view?branch=@repo_info.branch"><img src="@base_url/@repo_info.service.service()/@repo_info.user/@repo_info.repo?branch=@repo_info.branch" alt="example badge" /></a>
</pre>
}, version_info, repo_count)

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize, base_url: &str)
@:base("Hits-of-Code Badges", "Hits-of-Code Badges", {
@:base_html("Hits-of-Code Badges", "Hits-of-Code Badges", {
<p>
This API offers badges for the Hits-of-Code metric for your repositories. This metric was proposed by
@ -51,6 +51,10 @@ in your repository or you want a badge for another branch of your repository, ju
<code>?branch=&lt;branch-name&gt;</code> to the URL.
</p>
<p>
The badge label can be customized using the <code>label=&lt;some-label&gt;</code> query parameter. It defaults to <code>Hits-of-Code</code>.
</p>
<p>
You can also request the HoC as JSON by appending <code>/json</code> to the request path. This will return a JSON object
with three fields: <code>count</code> (the HoC value), <code>commits</code> (the number of commits) and
@ -80,6 +84,8 @@ the lines of
<input name="user" id="user" type="text" placeholder="user" />
<label>/</label>
<input name="repo" id="repo" type="text" placeholder="repository" />
<label>:</label>
<input name="branch" id="branch" type="text" placeholder="branch (defaults to `master`)" />
<button type="submit">Generate</button>
</form>

View File

@ -1,10 +1,10 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@use crate::template::RepoInfo;
@(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo)
@(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo, label: String)
@:base("Hits-of-Code Badges", "Overview", {
@:base_html("Hits-of-Code Badges", "Overview", {
<p>
The project <a href="@repo_info.url">@repo_info.url</a> has
@ -19,7 +19,7 @@ To include the badge in your readme, use the following markdown:
</p>
<pre>
[![Hits-of-Code](@repo_info.base_url/@repo_info.path?branch=@repo_info.branch)](@repo_info.base_url/@repo_info.path/view?branch=@repo_info.branch)
[![@label](@repo_info.base_url/@repo_info.path?branch=@repo_info.branch&label=@label)](@repo_info.base_url/@repo_info.path/view?branch=@repo_info.branch&label=@label)
</pre>

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize)
@:base("Page not Found - Hits-of-Code Badges", "404 - Page not Found", {
@:base_html("Page not Found - Hits-of-Code Badges", "404 - Page not Found", {
<p>
<big>Sorry</big>. I couldn't find the page you are looking for. Please go <a href="/">back to the homepage</a>.
</p>

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize)
@:base("Branch not Found - Hits-of-Code Badges", "404 - Branch not Found", {
@:base_html("Branch not Found - Hits-of-Code Badges", "404 - Branch not Found", {
<p>
<big>Sorry</big>. I couldn't find the requested branch of your repositroy. Currently this service assumes the
extistence of a branch named <code>master</code>. If you'd like to request a badge for another branch, you can do so by

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize)
@:base("Internal Server Error - Hits-of-Code Badges", "500 - Internal Server Error", {
@:base_html("Internal Server Error - Hits-of-Code Badges", "500 - Internal Server Error", {
<p>
<big>Oops</big>. Looks like a made a mistake. Please go <a href="/">back to the homepage</a> and try again.
</p>

66
tests/count.rs Normal file
View File

@ -0,0 +1,66 @@
use hoc::count::count_repositories;
use tempfile::TempDir;
#[test]
fn no_repos() {
let repos = TempDir::new().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())
}
#[test]
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())
}
#[test]
fn one_repo_for_owner() {
let repos = TempDir::new().unwrap();
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())
}
#[test]
fn two_repos_for_owner() {
let repos = TempDir::new().unwrap();
let provider = TempDir::new_in(&repos).unwrap();
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())
}
#[test]
fn two_repos_for_two_providers() {
let repos = TempDir::new().unwrap();
let provider1 = TempDir::new_in(&repos).unwrap();
let owner1 = TempDir::new_in(&provider1).unwrap();
let _repo1 = TempDir::new_in(&owner1).unwrap();
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())
}
#[test]
fn two_subdirs_in_one_repo() {
let repos = TempDir::new().unwrap();
let provider = TempDir::new_in(&repos).unwrap();
let owner = TempDir::new_in(&provider).unwrap();
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())
}

View File

@ -14,18 +14,3 @@ async fn favicon() {
assert!(response.status().is_success());
}
#[actix_rt::test]
async fn tacit_css() {
let test_app = util::spawn_app().await;
let client = awc::Client::default();
let response = client
.get(&format!("{}/tacit-css.min.css", test_app.address))
.send()
.await
.expect("Failed to execute request");
assert!(response.status().is_success());
}

View File

@ -14,8 +14,9 @@ lazy_static::lazy_static! {
pub struct TestApp {
pub address: String,
repo_dir: TempDir,
cache_dir: TempDir,
// Those are unused but are hold to be dropped and deleted after the TestApp goes out of scope
_repo_dir: TempDir,
_cache_dir: TempDir,
}
pub async fn spawn_app() -> TestApp {
@ -26,15 +27,12 @@ pub async fn spawn_app() -> TestApp {
let port = listener.local_addr().unwrap().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();
// configuration.database.database_name = Uuid::new_v4().to_string();
// let connection_pool = configure_database(&configuration.database).await;
settings.repodir = _repo_dir.path().to_path_buf();
settings.cachedir = _cache_dir.path().to_path_buf();
let server = hoc::run(listener, settings)
.await
@ -44,7 +42,7 @@ pub async fn spawn_app() -> TestApp {
TestApp {
address,
repo_dir,
cache_dir,
_repo_dir,
_cache_dir,
}
}