commit | b6dd47d16a82624c48b2c181b5794924adc28a04 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon May 08 16:40:18 2023 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed May 10 23:57:57 2023 +0000 |
tree | 8d6fff5b8694dea6c76a9a200cb3a2905216ec82 | |
parent | 18d7102fc3a27623b4e3ee4e32ee0d2ffcaa5a7c [diff] |
internal/worker: run go mod init and go mod tidy for analysis When doing an analysis scan, if a module doesn't have a go.mod file, create one with `go mod init` and populate its requirements with `go mod tidy`. Change-Id: I62a13cfd27908dc59d6a1798a200972e50be11b4 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/493676 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.