Commit graph

251 commits

Author SHA1 Message Date
Rob Ede
ebec04d2de
refactor: migrate to tracing for logging 2024-05-26 21:42:38 +01:00
Rob Ede
0153222542
chore: update pulldown-cmark and lockfile (#222) 2024-05-26 15:51:44 +01:00
Rob Ede
e10d5ea6e4
ci: remove CD job (#223) 2024-05-26 15:16:30 +01:00
DCjanus
658f353c23
Bump reqwest from 0.11 to 0.12 (#220)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-18 21:16:54 +01:00
DCjanus
1fd1ee139c
Bump base64 from 0.13 to 0.22 (#219) 2024-05-05 21:54:28 +08:00
dependabot[bot]
a17e7107dd
Bump rustls from 0.21.10 to 0.21.11 (#218)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 21:19:29 +01:00
Paolo Barbolini
6c6898eef7
Bump dependencies (#217) 2024-04-16 07:14:10 +02:00
dependabot[bot]
b410d70438
Bump h2 from 0.3.24 to 0.3.26 (#216)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 18:18:43 +02:00
dependabot[bot]
8c21b0eb28
Bump mio from 0.8.10 to 0.8.11 (#214)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:46:47 +01:00
Paolo Barbolini
031878a61a
cargo: bump dependencies (#212) 2024-01-20 13:02:58 +01:00
dependabot[bot]
4c9c0c18ca
Bump h2 from 0.3.22 to 0.3.24 (#211)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 17:27:01 +00:00
Paolo Barbolini
cb9903a12b
docker: respect Cargo.lock during build (#209) 2023-11-26 22:06:44 +01:00
Paolo Barbolini
1e23f5e5b2
Replace sass-rs with grass (#208) 2023-11-26 20:32:26 +00:00
Paolo Barbolini
69ed102737
cargo: bump dependencies (#207) 2023-11-26 20:13:03 +00:00
dependabot[bot]
87392c5f2e
Bump rustix from 0.38.17 to 0.38.19 (#206)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.17 to 0.38.19.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.17...v0.38.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 20:58:47 +01:00
Paolo Barbolini
e63afb0582
cargo: bump dependencies (#204) 2023-10-08 10:13:30 +01:00
Paolo Barbolini
fef732b319
cargo: bump dependencies (#203) 2023-08-20 11:46:26 +01:00
Paolo Barbolini
ef5a4b68bb
docker: bump Debian to v12 (#200) 2023-07-29 21:33:26 +01:00
Paolo Barbolini
1b90a41f6a
docker: add missing libcurl dependency (#199) 2023-07-29 21:18:42 +01:00
Paolo Barbolini
6301ac943a
Bump dependencies (#198) 2023-07-29 20:37:22 +01:00
dependabot[bot]
89e615b1e6
Bump openssl from 0.10.48 to 0.10.55 (#197)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 00:28:06 +01:00
dependabot[bot]
63d49bca3b
Bump h2 from 0.3.15 to 0.3.17 (#194)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.15 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.15...v0.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 20:46:19 +01:00
dependabot[bot]
c0a311b28d
Bump openssl from 0.10.45 to 0.10.48 (#193) 2023-03-25 08:14:35 +00:00
Rob Ede
dae02c356a
Bump setup-rust-toolchain action 2023-03-01 23:54:50 +00:00
Rob Ede
3a94aeed09
require safe tokio version range
see https://rustsec.org/advisories/RUSTSEC-2023-0005
2023-02-03 20:05:43 -05:00
Rob Ede
bce1f86308
Update deps + clippy (#187) 2023-01-31 19:37:42 +00:00
Rob Ede
2b45ed16cc
Address Clippy 2023-01-31 08:40:34 -05:00
Simon Lamon
c840d04789
Fix form submission (#189) 2023-01-31 13:37:10 +00:00
dependabot[bot]
6e25ce930d
Bump libgit2-sys from 0.14.1+1.5.0 to 0.14.2+1.5.1 (#186)
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-22 20:42:49 +00:00
95f9e116a3
Bump dependencies to patch tokio (#184) 2023-01-17 09:22:13 +00:00
Paolo Barbolini
361207c40c
Tweak cache durations (#183) 2022-12-21 10:29:15 +01:00
f9d545f9ff
Allow analyzing crates in sub-directories of repo root (#170)
* Allow analyzing crates in sub-directories (#95)

* Add field to the main page form for selecting an inner path

* chore: make clippy happy

* Display sub-directory tree in status overview

* Append the query parameter to the SVG links

* Clippy fixes

* Update assets/links.js

Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>

Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
2022-11-09 16:21:48 +00:00
Paolo Barbolini
477d83a4e0
Bump dependencies (#180) 2022-11-08 08:30:55 +00:00
Paolo Barbolini
014ce6bbaf
Fix latest nightly clippy warning (#181) 2022-11-08 08:26:28 +00:00
Paolo Barbolini
2aa03ff391
Point the livenessProbe at /repo/github/deps-rs/deps.rs (#172) 2022-10-31 10:27:45 +01:00
Arnaud Rebts
a7e89ed183
fix: kustomize does not seems to prefix the service name in ingress (#179) 2022-10-30 09:55:09 +01:00
Arnaud Rebts
1f1e131d25
fix/deploy (#178)
* fix: also update kustomization patches

* fix: last reference to old ingress api
2022-10-30 09:12:49 +01:00
Arnaud Rebts
4d884dcf35
fix: also update kustomization patches (#177) 2022-10-30 09:07:39 +01:00
Arnaud Rebts
cdf065ce49
fix: update ingress version (#176) 2022-10-30 09:02:12 +01:00
Paolo Barbolini
7f21afaba8
cargo: update dependencies (#175) 2022-10-28 20:45:31 +02:00
Paolo Barbolini
35523bb875
cargo: bump dependencies (#173) 2022-10-10 15:14:32 +01:00
Paolo Barbolini
1f518743dd
cargo: bump dependencies (#171) 2022-09-13 11:25:59 +02:00
Rob Ede
5b022c44b8
Support latest crate badge (#137)
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
2022-09-06 08:55:04 +01:00
edfdb969c7
Add link generators to the front page (#167)
Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: Paolo Barbolini <paolo.barbolini@m4ss.net>
2022-08-29 12:13:12 +01:00
c2f0b88b02
Quirks Mode no more! (#169)
* Serve standard mode documents

* One of these days I'll remember to run rustfmt and clippy, I promise
2022-08-27 20:20:11 +02:00
d89fc4929a
Bump vendored Bulma version (#168) 2022-08-27 18:43:27 +02:00
0788aaaedb
Set new icons for Codeberg and Gitea (#165) 2022-08-21 23:34:24 +01:00
valentinleistner
ba7647dcff
Support for self-hosted Gitea (#164)
deps.rs is now available for self-hosted Gitea at
`/repo/gitea/<DOMAIN>/owner/repo`, e. g.
`/repo/gitea/git.example.org/deps-rs/deps.rs`,
`/repo/gitea/git.example.org:1234/deps-rs/deps.rs`,
`/repo/gitea/http://unsafe-gitea.org/deps-rs/deps.rs`.

This _should_ also include support for Gitea hosted in subdirectories,
e. g. `www.example.org/gitea`, though I haven't tested this yet.

If no protocol (`https://`/`http://`) is specified, `https://` is
automatically added to the beginning of the gitea server's URL.
However I could also change this to only accept https. Another
option might be the use of URL-encoding.
I am open for feedback, feel free to suggest changes.

Implementation notes:

- The Router now matches `/repo/*site/:qual/:name` instead of
  `/repo/:site/:qual/:name` to allow for an arbitrary number of
  `/`s before qual and name.
- `RepoSite` now has a new variant `Gitea(GiteaDomain)`.
- `RepoSite` no longer implements `Copy`. However this should not
  be problematic because `Copy`ing was only used for `to_base_uri`,
  `to_usercontent_base_uri` and `to_usercontent_repo_suffix` which
  now accept `&self` references.
- `RepoSite` no longer implements `AsRef` and now uses `Display`
  instead.

- updated test `correct_raw_url_generation`
- updated readme

Related to #84, #141
2022-08-21 11:16:52 +02:00
Paolo Barbolini
a991fa8eb1
cargo: bump dependencies (#163) 2022-08-15 21:04:48 +01:00
Paolo Barbolini
bacc736364
Use MissedTickBehavior::Delay for updating crates.io-index (#161) 2022-08-14 21:48:09 +01:00