Individuals (namely me) should just set a personal excludesfile.
Change-Id: I0417495de7a87346e61224da84c50ce70b2c3900
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/238439
Reviewed-by: Jonathan Amsterdam <jba@google.com>
We use zip files as license test data. They should not be ignored by
git.
Change-Id: I21672c4fae5b759c8a9869b63f465c8550d8b513
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/769679
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
A new method is added to postgres.DB, optimistically named 'FastSearch',
that implements search hedging. Each FastSearch concurrently queries
both all packages as well as popular subsets of packages, so that
results can be returned quicker when they consist entirely of popular
packages.
Additionallly SearchResult.Rank is renamed to 'Score', to differentiate
it from ts_rank.
The old 'Search' method is kept for now, although 'log' is corrected to
'ln' (this should have little effect on the ordering of results). In a
subsequent CL we will switch the default search method to FastSearch,
and implement the 'of many' qualifier in the search result summary.
Updates b/141182438
Change-Id: I73c6700e09288f3a8bfdb5fa57d0899606e452d2
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/558516
Reviewed-by: Jonathan Amsterdam <jba@google.com>
When IntelliJ starts up, it adds go.sum files to
internal/proxy/testdata/modproxy/modules. These are added to the
.gitignore.
Change-Id: I487973eb2f3844b29528f2d947d058c6cbd1c557
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/489913
Reviewed-by: Robert Findley <rfindley@google.com>
IntelliJ creates a .idea ignore in the repository root, which is now
ignored by git.
Change-Id: Ieda599bbc0865649e91bb4bee82b001d615a1026
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/447072
Reviewed-by: Robert Findley <rfindley@google.com>
Zip files are now ignored by git, since the binary files created are
different depending on the machine.
Change-Id: I1d21482f9d8b6cfee6c8cf60c5419da260527ba0
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/436919
Reviewed-by: Channing Kimble-Brown <ckimblebrown@google.com>
The replace directive for sos.googlesource.com/sos is moved to
the root of the discovery repo to fix a build error when deploying GAE.
Fixes b/128783757.
Change-Id: I02d290f2f98e161e992b8191d9f74a8fc2d54531
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/435776
Reviewed-by: Channing Kimble-Brown <ckimblebrown@google.com>
Implemented a proxy that runs on localhost:8080 following the Module
proxy protocol.
It supports the modules and versions:
- my/module (v1.0.0, v1.1.0, v1.1.1)
- my/module/v2 (v2.0.0)
A GET request can be made to:
- GET $GOPROXY/<module>/@v/list
- GET $GOPROXY/<module>/@v/<version>.info
- GET $GOPROXY/<module>/@v/<version>.mod
- GET $GOPROXY/<module>/@v/<version>.zip
All the zip files contain only an empty README.md.
Change-Id: If7d547eb94a9a24608fafccdfd39330da9849a0e
Reviewed-on: https://team-review.git.corp.google.com/c/412883
Reviewed-by: Andrew Bonventre <andybons@google.com>