| Age | Commit message (Collapse) | Author |
|
|
|
The shutdown-idle set the duration to automatically shutdown the HTTP
server when no request after specific duration.
This is to complement the socket based activation to minimize the
resources on local environment.
|
|
This is to easily remember what tasks and commands to run in this
repository.
|
|
|
|
- Add LatestVersion field to internal.ModuleInfo and update tests
accordingly.
- Changed some test formatting to improve readability.
Change-Id: I1238e54614ef276d219b31d125cd2cad6b5a66f7
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/756901
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
- Implement ServeSearch method and pagination for search results.
Change-Id: I109d0861b5fa0cfbc20ce20308561ef6b5616405
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754860
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
- In preparation for upgrade to PostgreSQL 17, upgrade stale
dependencies within pkgsite.
Change-Id: Id54cbb46182711b9808ee3bbbe2f0d5d9a04583d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/758121
Auto-Submit: Ethan Lee <ethanalee@google.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>
|
|
- Implement the ServeModulePackages handler and introduce
GetModulePackages to return the list of packages for a given module
version.
Change-Id: I20c1618e2fdbf0126cb913665a1d7457b8951177
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754863
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
- Migrate pkgsite deployment from legacy gsutil to gcloud storage.
Change-Id: I66108c22909465e0d879a25806679b38d392a03e
GitHub-Last-Rev: 9f22cb3212238139412ca5158b0dad3d39b7b327
GitHub-Pull-Request: golang/pkgsite#119
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/748662
Reviewed-by: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
|
|
Preliminary attempt to render documentation as text.
The output doesn't match either pkgsite or go doc.
It's a simplification of the latter.
The go doc command turns out to be surprisingly complicated,
so it's best to start simple.
Change-Id: I7b5a6bf36b1892afb30c212309dd646e3cf8b06a
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/757501
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Obtain the go/doc.Package from the retrieved unit and validate
the doc query param. Rendering is more complicated; it is deferred
to another CL.
Change-Id: I1d16fe98dbf06457182f5925ce0986448882d40e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/757360
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
|
|
CL 757540 tried to run `go mod tidy` during the prepare.sh run, but
it turned out the script runs in a stage where `go` is unavailable.
Instead, move the (cd private && go mod tidy) run in a new
step that runs in the go container right after the prepare step.
Change-Id: I4595fc9b5e9b0172753b0b4d1425093449d84421
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/757920
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
- Implement module versions endpoint using ds.GetVersionsForPath
- Introduce paginate helper to generalize paginaton logic
- Update fakedatasource to correctly use V1Path to return all versions
Change-Id: Icc028bf8ca9c13978bb6eba84afe9736ccd6bcee
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754862
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Change-Id: I107392720c1daa0fd07d444449769fad66654c59
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/757540
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
- Large documentations blobs should avoid being returned unless
explicitly requested. Add a WithDocsSource to enable retrieval of
unit information without the large documentation source information.
- This does not functionally change existing GetUnit callsites.
Change-Id: Ie983b7eaeb61bb92f2716ae64a3d1e1ea738dbe2
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/756480
Reviewed-by: Jonathan Amsterdam <jba@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Change-Id: Id6b8686012803c88c9b7ea71e4b1c0058b7967b0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754861
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
- Create handler for serving v1 package endpoint.
- Create tests to verify endpoint behavior.
Change-Id: I72701cb15d83baf4e31ed918c198adf347605a4a
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754420
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
|
|
- Minor doc changes.
- Slight code reorg.
- Use new reflect.Pointer over reflect.Ptr.
Change-Id: If1a6bb1d335f32a119cc8b4487e3eacbcd6b6431
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/756420
Reviewed-by: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
- Introduce structs that will be used to parse query parameters.
- Implement parsing method and create relevant tests.
Change-Id: Ib54a57a7eb8d2dbaab0edf705a6cb9e5bc8288a9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754240
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Change-Id: I1eacfe303e724fc4dfe371b10a3762627162285d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753425
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
|
|
This addresses bcmills's comment in CL 508503.
Change-Id: I528465feb074c220ca2fc8a1f50eb6c1376f6b75
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/755581
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Auto-Submit: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
TryBot-Bypass: Michael Matloob <matloob@google.com>
|
|
Change-Id: I9841a5c30af333fd07ce5f9d8252e2ff79ee0dc9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753424
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Change-Id: I12a964f825257f416724f4a2712c7f2332d3bcf1
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753423
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Change-Id: I02d2be535d9e3ac1788306adcc78d997d0caf951
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753422
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
|
|
Change-Id: I80655ec771398304bd5c33c3f8d52ae22a35e6d8
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753421
Reviewed-by: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Our system does not use Node.JS in production. It is only for testing.
Make this clear.
And remove unneeded dependencies.
Change-Id: I7b28bbb62a163cda3cc1e241710e2889f79807c6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753420
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Change-Id: I4b8926abb39c2a025fa42312c88b3c8d203fcd98
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/752185
Reviewed-by: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Change-Id: I463a3a7eaf00119c931743e6841b08339760dea3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754800
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
Lower the concurrency limit of seeddb from 10 to 5 to reduce
database contention.
Increase the maximum number of transaction retries on serialization
failure from 10 to 20 to improve reliability for large module
insertions.
Change-Id: Id57eea3bf7b7cf5554d4e99fbe68ac89bb355904
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754540
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
|
|
Update golang.org/x dependencies to their latest tagged versions.
Change-Id: I2421b8fadf19befc309b16096bb771cd7ba808fc
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754683
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
Change-Id: Id9f71f9e14b72675c74cdd60be1fb1ba0d843791
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/752186
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alexis Eduardo AvendaƱo Mijangos <punker308989@gmail.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
|
|
Examples on pkg.go.dev that are runnable but lack pre-defined output
previously did not display the output container when they were executed.
This was because the template only rendered the output <pre> block
conditionally if .Output was present.
Modified static/doc/example.tmpl to always render the output container
for runnable examples, hiding it by default if no initial output exists.
Updated the PlaygroundExampleController in static/shared/playground/playground.ts
to manage the visibility of this container when execution results are
received.
Added regression tests:
- A client-side unit test in static/shared/playground/playground.test.ts
- A server-side template test in internal/godoc/dochtml/dochtml_test.go
Fixes golang/go#75062
Change-Id: I37b3922c99d956ff1b139834e4625eb8d61b84cd
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/752184
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
- This new error type should also capture alternative candidates given
an ambiguous package path.
Change-Id: I748cecdcc9d7656d4ea4d148dff090e230676f08
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754500
Auto-Submit: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
Update Docker configurations and documentation to use PostgreSQL 14,
aligning local development and testing environments with production.
There has been a change in how PostgreSQL 14 tokenizes paths. This has
caused an alteration in how multi word searches are resolved. Update
test case to reflect this. See golang/go#78036 for more context.
To test: `tests/search/run.sh`
Fixes golang/go#77903
Change-Id: I28eaa722914b2163fe962a1b4a1b8681d60b18b3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/750740
Auto-Submit: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
- Defined comprehensive types to represent return structures for
upcoming REST API.
Change-Id: Ie46aef2a4677daec9e5bb18c2ecd08cee8cb3c32
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/749120
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
|
|
- This test has a history of flakiness. PostgreSQL 14 includes
significant improvements to its Serializable Snapshot Isolation which
means it is much efficient in reducing false positive serialization
conflicts. To amend this, this test now focuses on data integrity
rather than an arbitary retry counter.
Change-Id: I7d9a46303a6cc4eb011d9d3764ebf0c61e2d6287
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/751680
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
|
|
Prior to CL 747620, we used the database/sql.DB default idle connection
limit of 2. An increase from 2 to 10 is quite extreme. If there are many
instances, the total number of connections can be quite high.
Reduce the limit to 6, which is selected as enough to handle the
concurrent requests for median instances.
Change-Id: I38772cef6f365a65b82842f5a389e50f6a6a6964
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/751540
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Reviewed-by: Nicholas Husin <husin@google.com>
|
|
Currently, InMemory queue sits in queue, and is instantiated in gcpqueue for
convenience. In preparation for a third queue type (Postgres), this CL
separates the two more cleanly, making it more ergonomic for the new queue type
to slot in next to the existing two.
This CL doesn't change any logic: it just exists to make the next CL smaller
and easier to review.
I also took the liberty of adding some tests specific to the InMemory queue,
since I didn't find any. Let me know if it's tested in another place, though,
and if you'd prefer me to remove it.
Updates golang/go#74027.
Change-Id: I44bd92129f33bc7975fcd138c905e0b7ab49d257
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/747881
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Fixes golang/go#77689.
Change-Id: Id754eeafdc8b680acb1aa137225292c808d0bf04
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/747880
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: David Chase <drchase@google.com>
|
|
Under high-load, the frontend can issue many queries and trigger many
connections. This can exceed the Cloud SQL connection limit of 100 per
instance enforced by the Cloud Run environment, even if the database
itself has remaining global capacity.
To prevent this, we introduce limits on the database connection pool.
We also include settings for idle connections and connection lifetimes
to ensure better resource management and connection rotation.
Introduces new env vars:
GO_DISCOVERY_DATABASE_MAX_OPEN_CONNS
GO_DISCOVERY_DATABASE_MAX_IDLE_CONNS
GO_DISCOVERY_DATABASE_CONN_MAX_LIFETIME
GO_DISCOVERY_DATABASE_CONN_MAX_IDLE_TIME
Updates SetPoolSettings to validate that MaxIdleConns does not exceed
MaxOpenConns, providing a warning if it does and capping it.
Change-Id: I74edac05c4a23102d64e74a180c661c223e1b757
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/747620
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Reviewed-by: Nicholas Husin <husin@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
- internal/fetch: fix stdlib path extraction by removing invalid "std/" prefix.
- internal/fetchdatasource: fix "std" proxy errors in GetLatestInfo.
- cmd/frontend: prioritize stdlib getter and add local GOROOT optimization.
Reproduction:
- `go run ./cmd/frontend -dev -direct_proxy` should utilize the local GOROOT as the source for stdlib.
- `go run ./cmd/frontend -direct_proxy` should enable one to via a stdlib library at `localhost:8080/std` or any other stdlib pkg.
Fixes golang/go#77112
Change-Id: I0686922804178129550d9bb9edc87b2adff51aa6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/746700
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nicholas Husin <husin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
|
|
- Update LRE file to accomodate updated LICENSE file.
- Modify gen_exceptions.go to use os.CreateTemp.
Fixes golang/go#77708
Change-Id: I8aac97f9de5a52226e894b328508d46a7e6f1355
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/747500
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
This makes examples a one way navigation from sidebar to content,
but not the other way around.
This should be more useful than the current behavior
where the sidebar is locked to the examples section.
Fixes golang/go#75369
Change-Id: I4c08ecc99d2519a8561d49525c5106365863a399
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/745600
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Auto-Submit: Nicholas Husin <nsh@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Nicholas Husin <husin@google.com>
|
|
Change-Id: Iae258bc0e0fe9a1ff9f0326f6bfcc4530c61b8d4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/737900
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Auto-Submit: Nicholas Husin <nsh@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <husin@google.com>
TryBot-Bypass: Nicholas Husin <nsh@golang.org>
|
|
- staticcheck was causing a kokoro build failure. Removed the deprecated
API in favor of using an os.ReadDir loop and parser.ParseFile.
Fixes golang/go#77682
Change-Id: Ie0f39298b2854b38014e58cb24ed0b496eaadf70
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/746620
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Nicholas Husin <husin@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Fixes golang/go#77324
Change-Id: I1852deb53b128b0f7f1ebb235287bfced00c2c3c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/741620
Auto-Submit: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Update golang.org/x dependencies to their latest tagged versions.
Change-Id: Ib5e6476d1539dc52fa50f2842d0066e3bcf243cd
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/743408
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
|
|
This ensures that simd/archsimd package items are sorted nicely.
For example:
"Uint8x64" < "Uint32x16" < "Uint64x8"
Fixes golang/go#77160
Change-Id: Ie08696262496e226120ae1b31ca81e02b7f20c65
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/736561
Auto-Submit: Sean Liao <sean@liao.dev>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
For golang/go#9273.
Change-Id: I75063982d33a203b1bb42f6067d5a37139b1be99
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/740180
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
|
|
When a user requests a package with a symbolic version (e.g., @master)
and the module boundary is not yet known, pkgsite currently triggers
a "greedy" index scan on the modules table's series_path index to find
the best match.
This change optimizes the lookup by explicitly providing candidate
module paths using internal.CandidateModulePaths. This allows the
Postgres optimizer to perform efficient point lookups on the
module_path index rather than a linear scan.
Fixes golang/go#77367
Change-Id: I072a72dc043ff7fb704977f07ba9fbd4ec821815
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/741300
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|