Commit graph

41 commits

Author SHA1 Message Date
Atk
8bdee6b770
Codeberg support (#134) 2022-01-19 00:51:33 +00:00
Eduardo Pinho
309f13ec84
Extend dependency status box to report more issues (#121)
* Extend dependency status box to report more issues

- replace render_dev_dependency_box
  with an extended render_dependency_box
   - reports insecure dev dependencies,
     outdated main dependencies,
     and outdated dev dependencies
   - handle pluralization in dependency count message
- change methods in AnalyzeDependenciesOutcome
   - add count_outdated
   - remove any_dev_issues
- remove AnalyzedDependencies::any_dev_issues

* Format status.rs

* Simplify AnalyzeDependenciesOutcome method impls

- match ergonomics lint

* Use bullet point list

* Tweak dependency box again

- only use list items if there is more than one dependency kind

* Fix outdated dependency count

- `count_outdated` already counts only main dependencies

* Tweak dependency box to no longer assume non-zero issues

- check for when all dependency component counts are zero,
  render nothing
- always call `render_dependency_box` if it finds no security issues

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2021-10-18 15:55:53 +01:00
Eduardo Pinho
6cd7256ee8
Only query advisory database on latest matching version (#98)
* Add methods to check always insecure dependencies

Unlike checks for `_insecure`,
   `always_insecure_ only accounts for
   vulnerabilities not patched in the latest version in the range

* Update status renders to show "maybe insecure"

- show always insecure dependencies as insecure,
  and remaining ones as "possibly insecure"
- show warning sign on all dependencies with possible vulnerability
- tweak security banner in case
  all insecure dependencies are "possibly insecure"

* Update badge renderer to show "maybe insecure"

- only show the red "inscure"
  if >=1 dependency is always insecure
- show "possibly insecure" if all are up to date but might be vulnerable

* Update status renderer

- more complete counts per project

* Format code

* Extend banner to explain what "maybe insecure" means
2021-09-05 09:51:10 +02:00
Tassilo Horn
c99b0df891
Add support for projects hosted on sourcehut (sr.ht) (#117) 2021-08-31 20:38:38 +01:00
Eduardo Pinho
b9445f4764
Clippy fix (#119) 2021-08-22 09:50:38 +02:00
Paolo Barbolini
468a86c92e
clippy: fix clippy::from_over_into warning (#107) 2021-03-26 10:17:39 +01:00
7ebffe019f
Display rustsec information on page (#96)
* chore: Bump rustsec version

* feat: display RustSec CVEs at the bottom

This closes #75.

* fix: Reduce complexity and remove duplicate advisories
2021-02-01 19:46:26 +01:00
Rob Ede
139741362e
links direct to other deps.rs pages (#86)
and a crates link is provided on the icon to the left
2020-12-13 13:28:22 +00:00
0a22c413b3
Remove dev-dependencies from badge (#70)
* Remove dev-dependencies from badge
* Document behavior of functions on AnalyzedDependencies
2020-10-26 15:49:40 +01:00
Rob Ede
1b66eddb06
reqwest client + caching (#58) 2020-10-03 13:08:16 +01:00
Rob Ede
66fd685062
fix clippy lints (#56) 2020-10-02 08:37:27 +02:00
Paolo Barbolini
871e9acd74
Fix url generation to git hosted Cargo.toml file (#57) 2020-10-01 21:49:11 +01:00
Rob Ede
b7b25b7cb7
update hyper and futures ecosystem 2020-09-30 23:08:40 +01:00
Rob Ede
820a3cfd28
remove failure 2020-09-29 00:28:58 +01:00
Rob Ede
c8531f444a
fmt 2020-09-28 23:53:20 +01:00
Sam Rijs
f0442bbb3c integrate rustsec database 2018-02-25 21:59:06 +11:00
Sam Rijs
26d18be9af upgrade from ordermap to indexmap 2018-02-17 09:31:38 +11:00
Sam Rijs
7fff95203e first simple version of crate dependency reports 2018-02-17 00:25:34 +11:00
Sam Reis
12e4d7df51 display number of outdated dependencies in badge 2018-02-14 12:49:46 +11:00
Paul Woolcock
bd2482a3cd Whoops, wrong string here 2018-02-12 23:37:29 -05:00
Paul Woolcock
cc537251fe Add 'Bitbucket' to RepoSite enum 2018-02-12 15:32:00 -05:00
Paul Woolcock
194be9c9b5 Add Gitlab to the RepoSite enum 2018-02-12 12:35:13 -05:00
Sam Rijs
53b7ed3015 introduce lightweight (5 mins) caching for crate metadata 2018-02-12 22:02:54 +11:00
Sam Rijs
c0d7d7e313 change from BTreeMap to OrderMap 2018-02-11 21:25:07 +11:00
Sam Rijs
52e3fc4d28 support path-based internal dependencies 2018-02-11 20:53:10 +11:00
Sam Rijs
c135edc2a1 blacklist non-compatible popular repos 2018-02-11 19:09:49 +11:00
Sam Rijs
19f97f917e use OrderMap for crates list 2018-02-11 16:17:21 +11:00
Sam Rijs
e1c921066b implement support for workspaces 2018-02-11 14:46:58 +11:00
Sam Rijs
54e8dfa662 refactor engine in preparation for multi-crate repo support 2018-02-11 13:24:24 +11:00
Sam Rijs
d935ca0ef8 move to the failure crate for error reporting 2018-02-05 21:08:52 +11:00
Sam Rijs
b101a3fade throttle calls to get popular repos from github 2018-02-05 19:38:04 +11:00
Sam Rijs
dff0f8d6e3 add first prototype of landing page 2018-02-03 20:12:00 +11:00
Sam Rijs
f4fa88e204 skip pre-releases when determining latest release 2018-02-03 17:55:50 +11:00
Sam Rijs
ef6b3f92d4 allow dots in repo names 2018-01-28 10:08:07 +11:00
Sam Rijs
d320259fe8 link to repo site in headline 2018-01-27 22:49:43 +11:00
Sam Rijs
d821851fd8 html frontend 2018-01-27 20:47:12 +11:00
Sam Rijs
adab7fdf74 implement badges 2018-01-27 12:40:17 +11:00
Sam Rijs
eb1bd1b698 prepare for multi-crate repos 2018-01-27 12:17:50 +11:00
Sam Rijs
2ce0218218 clean up imports 2018-01-26 23:41:59 +11:00
Sam Rijs
b6dea8b0e9 first version of api is running 2018-01-26 23:15:53 +11:00
Sam Rijs
f82e3d0ef6 query crate versions 2018-01-26 14:37:46 +11:00