cmd/ejobs: add -since flag to filter by date This change adds a (optional) -since flag to ejobs start command to filter modules by their version_updated_at timestamp before enqueuing tasks. This helps to skip analyzing older modules and speed up jobs. It also updates internal/pkgsitedb and internal/worker to support this. Change-Id: I13f1b3ae2373ceceb919581225a7de77e186deeb Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/774280 Reviewed-by: Jonathan Amsterdam <jba@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ethan Lee <ethanalee@google.com> Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
This repository contains code that enables collecting and evaluating metrics for the Go ecosystem.
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.