| Age | Commit message (Collapse) | Author |
|
This was modified by go fix -omitzero.
The intention was probably to omit the fields (of time.Time type)
when they are zero values. However, omitempty doesn't do it.
I considered to set them for omitzero, but it's delicate.
- Modified field is "required" field per spec.
- Published is an optional field but our codebase assumes it's
always present (and optionally uses the Modified field only
if it differs from Published). In practice, probably it's
always set any way.
Just remove the tag so the future `go fix` run doesn't cause
churn.
Change-Id: I1138e629e2d3f77d96167f3a52413a08b15821cd
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753426
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
On vulnerability entry pages, display "custom versions" (and a note
explainining them) if there are any "custom_ranges" published in the OSV.
(Once this is live, we will remove the disclaimer from the OSV details
since this will be redundant.)
Change-Id: I20c3b08ecb3f36ce0334553eef0dacd0fe57480b
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/597616
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
vuln page
For UNREVIEWED reports, display the word "Unreviewed" under the title,
and add a blurb to the feedback section explaining its meaning.
Currently, don't display anything special for a REVIEWED report. This is the
default.
Change-Id: I43ad7c324f6712a22a035c4aac725808cd50e7c3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/586101
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Change-Id: I0cb26136ddd58afbb53312dbd93f3ca1a5b8388f
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/581176
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
Adds support for the summary field in OSV, and updates vulnerability
testdata, and corresponding screentests, to pull in the
newly-populated "summary" field. This CL does not change how vulns are displayed.
Change-Id: Id4d74df06c1e4185ee7dc5816307867e89ab2587
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/506956
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
|
|
Fix bug and add tests. Only affects testing infrastructure, so impact
is minimal.
Change-Id: I93e9a88ce70412325a53efa589cd1662efaec68e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/488775
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
|
|
Change-Id: Ia3c4f84c5559adef42b9f8659231024a7fc062a9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/486455
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
|
|
Removes the OSVEntry wrapper struct, which is no longer needed now that
pkgsite has its own internal osv.Entry struct.
Change-Id: I12d3b2eebe9628c7f990b8cb7eb45402c46aa16a
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/484456
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: David Chase <drchase@google.com>
|
|
Copy x/vuln/osv to completely remove dependency on x/vuln in pkgsite.
Change-Id: I8ae2940b4bad20c351ab622d5f1021f0a432d57d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/484115
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
|