| Age | Commit message (Collapse) | Author |
|
Change-Id: Id22b6fbc926c516043a2a9869ce9042dedebc725
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753433
Reviewed-by: Jonathan Amsterdam <jba@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Change-Id: I14479d9e612dfa7eed9188206746af5b51c10201
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753428
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>
|
|
Change-Id: Ia70b35ab9aef270692a3892629c3c81208771089
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/713360
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
|
|
Change-Id: Ic939b5b002e881f8041ccb95114010fe7e751f9a
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/639558
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
|
|
Remove support for the dev.boringcrypto and dev.fuzz branches.
They are no longer relevant.
For golang/go#65205.
Change-Id: If0e7060b148fe3ebff9139a6ce2f418b928a0bd6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/557415
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
|
|
If pkgsite is built with -trimpath, runtime.GOROOT() returns an empty
string, so we don't know where the local go stdlib is. In that case,
don't try to serve a local stdlib and instead fall back to the
stdlibZipModuleGetter. Also fix two issues that show up when using the
stdlibZipModuleGetter. First, we try to prefetch fetch.LocalVersion of
the standard library when the server starts. Instead, prefetch latest
which will have the correct behavior with both the stdlib zips and
local stdlib. Second, when we're trying to fetch the stdlib using git
make sure that we're on another branch than the one we're trying to
fetch into because git won't let us fetch into the branch we're on.
Fixes golang/go#64903
Change-Id: I9dfb22d50b7738080490ce2682e0cf187c16d2d1
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/554195
TryBot-Bypass: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
remoteGoRepo.clone inits a repo and then tries to fetch into the
"main" branch of the repo. But if the user's settings are for the
default branch to be called main, main will already exist and the
fetch command will fail. The -f flag will cause the command to do the
fetch even though the branch already exists.
For golang/go#63254
For golang/go#63744
Change-Id: I33f414654088a67eae4bfa70424d0dc6c34903f0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/540635
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Michael Matloob <matloob@golang.org>
|
|
ResolveSupportedBranches uses the git command, and the Windows
longtest builders don't have git, so skip the test when git isn't
present.
For golang/go#61209
Change-Id: I230793c76702ad0c3e153f9d70031a370b20ac30
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/524799
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
The testhelper package says it should only be depended on by test
files, but it's depended on by an internal/stdlib non-test file
(albeit for a testing purpose). Remove the dependency by making a copy
of the TestDataPath function. An alternative to this would be
splitting the testGoRepo into a different package, and making the goRepo
interface and the withGoRepo function exported.
For golang/go#61399
Change-Id: Ib64c18c6311f99501fc340801eee7a5625b95730
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/522242
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
|
|
Instead of using the in-memory git library implementation, just run
all git operations using git commands.
Add the MustHaveExecPath function from the internal/testenv library in
the Go repo to our internal/testenv (with a modification to drop
MustHaveExec because we don't really need it) so that we can check
that git exists on the test platform before running tests that use
this code because now we need a git binary to do git operations.
For #61399
For #61341
Change-Id: I53441ee1638353a23935ba6a5ac70e2965b546f9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/510415
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Michael Matloob <matloob@golang.org>
|
|
Change-Id: Ie5a688c08ba46018f0fa8f5a1af495e9c29fd684
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/509695
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
|
|
Starting with go1.21.0, the first version of new major Go versions will
include the .0 suffix (compare go1.20).
Update pkgsite logic to account for this switch, and add
unit+integration test support.
Fixes golang/go#60373
Change-Id: Ibdac8a3413a48f925427a5aae366bed2f691cfa6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/508937
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
|
|
This CL adds a copy of the MustHaveExternalNetwork function from the
testenv package in the Go repo for use for filtering out tests that
need the network access from running on builders that don't guarantee
it. (External network access is only enabled on longtest builders). It
also calls the function from two tests that are failing because they
make external network calls.
For #61209
Change-Id: I68ed1d3f8bb65697b1025bca0ba40aa0ab7423a3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/508295
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Michael Matloob <matloob@google.com>
TryBot-Bypass: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
|
|
Fixes golang/go#58594.
Change-Id: I13c9879a12ae070d1aa07d8e152bafa07cfb7952
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/474536
TryBot-Result: kokoro <noreply+kokoro@google.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
Fixes golang/go#54388
Change-Id: I7c5255993b38547ef4933f1e25c033766816394e
GitHub-Last-Rev: 36c2e0d685c35a5c6da67f232786fd51ce36bd92
GitHub-Pull-Request: golang/pkgsite#49
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/422834
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Most of the checks were about io/ioutil. There were a couple of
other minor ones. I didn't address the check for strings.Title;
instead, I turned off that check globally with a staticcheck.conf
file.
Change-Id: I286a6894fb1fd891818ab9e451c891f52a3828fc
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/412675
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
|
|
Gofmt to update doc comments to the new formatting.
For golang/go#51082.
Change-Id: Ia9e71e7ecac75822ff43d6c7e60f512442a5fa50
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/399617
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Add a goRepo interface, implemented for remote, local and test repos.
Functions of stdlib use a global instance that interface instead of if
statements.
Also, improve and rewrite some tests.
For golang/go#50229
Change-Id: I73641813e6c7a6bb9667f44a672e37dce964b17a
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/378094
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
When a local repo path has been specified, Versions will read refs
from that repo instead of the remote.
I checked with strace that visiting a stdlib package did
not hit the network after this change.
Fixes golang/go#50575
Change-Id: I3e61ab5a3f6e1be85c437412a0e4d4149b7f1f3c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/378054
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
On each call of the /fetch-std-master endpoint, we cloned the Go repo
for each supported branch to determine its current commit. Although
not a big deal, that is a bit wasteful and it also would occasionally
fail obscurely.
Instead we use git's remote list feature to get all the repo's refs in
one call. We then compare the hashes with the stored pseudo-versions
to see if the branch has moved.
Change-Id: I1d70e63668fcf6d35b90b9c231255faec614a04e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/349753
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
By calling stdlib.SetGoRepoPath, users can point to a local clone of
the Go repo for stdlib to use. This can save download time. The intent
is to use it for cmd/pkgsite.
Change-Id: I20d89f283b7b0b4f333599846eee1038d09cb50e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347404
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Refactor getGoRepo to handle both test and cloned repos. This will
enable adding a third option, getting the Go repo from a local copy.
Also add a test for checking the contents of a cloned repo, to make
sure the clone logic is correct. Flag-protect it because it's slow
and hits an external server.
Change-Id: I9de50bf12fccbd4fa35aa0566bdee3cddb25edf8
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/347403
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Previously, any URL with the prefix /github.com/golang/go redirected to
their corresponding package page (for example, /std or /cmd/go).
However, this also redirected paths like /github.com/golang/gofrontend.
This bug is now fixed and a test is added.
Fixes golang/go#47957
Change-Id: Iabcc2c57ef9f5365d93911a4971addb8bb5a903d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/344989
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
For golang/go#47834
Change-Id: I81acf4fdc51a19352bfa7fb0cf9a2c22bb42a65b
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343966
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Add a function that returns the content directory of the stdlib
module.
Remove the part of the test that checks go.mod; it was never
executing, because there is no go.mod file in any of the repos being
tested.
For golang/go#47834
Change-Id: Idc982620f6736ec60fe9a295f0372fd272745457
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343965
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
Change-Id: Ibe5383c8c9b9ce771b677c2e33a0c2c85621df6d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343218
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
It is now possible to fetch std@dev.fuzz and view /std@dev.fuzz on the
frontend.
For golang/go#46910
Change-Id: I2fd7259840ba32ff35ca323d07412988e533ffba
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/330413
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The proxy and stdlib "Versions" functions are wrapped with derrors.Wrap
to make it easier to debug errors.
Change-Id: Ia9f8c9914b5d5495083f78521af66cf8aa63778f
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/333233
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The strings "latest", "master" and "main" are replaced with constants.
Change-Id: Icb44678e54c0a5834b9f4aebcde6db39761c3c6f
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/325391
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
It's now possible to fetch std@latest from the worker.
Change-Id: Iacdd376af571fa8d610f5afe3f6a9ed77fc91206
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/325309
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
The stdlib source repo is changed to https://cs.opensource.google/go/go.
Fixes golang/go#44832
Change-Id: Ie8060ab1cabccbcf9ff20c0eec42c243c1feaf9c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/318873
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The README is no longer displayed at pkg.go.dev/std.
It is also no longer stored in the database when a std module is
fetched.
For golang/go#44356
Change-Id: I6b1605389bc3c97694b6ec2b06e28006a38be999
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/296950
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
An error is fixed when creating the zipfile for std@master, which
prevented the module from being fetched. A test is also added.
For golang/go#44390
Change-Id: I279146aef10311822f47f16259a2223c879140c2
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/294831
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
When fetching std@master, create a pseudo-version so the module is
stored under the commit that is the current value of master.
Fixes golang/go#43890
Change-Id: I99af482b1cc16a7bbb396c5b072f8e8d60a71b68
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/287213
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
getGoRepo currently looks for a "master" tag when fetching the master
repo, instead of at the master branch. This is now fixed.
However, stdlib.semanticVersion still returns "master" when the
requestedVersion is "master", instead of returning a resolved semantic
version, so a fetch request for std@master will still result in a 500. A
comment is added to fix this in the future.
In a future CL, a fake pseudoversion will need to be constructed in
order to resolve std@master to a semantic version.
For golang/go#43890
Change-Id: I9e68b91d8c9e0bea6f6751d834853b852f0d532b
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/286153
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Trust: Julie Qiu <julie@golang.org>
|
|
The target for @main and @master is maintained in the version_map table,
while @latest and a specific semantic version is determined using the
modules and units tables. As a result, these versions can be out of
sync.
Resolve the master/main version when a module is fetched and
disableProxyFetch is off, so that the targets are up to date with the
new version.
Fixes golang/go#43096
Change-Id: I86dde167639c0f180ab67b0d3243316240956fc4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/286212
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Added the ability to fetch the master version of a module
Fixes golang/go#39973
Change-Id: I66ea0dc3a2249ac4757a3d3b478c428f13c2ec89
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/279292
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Trust: Julie Qiu <julie@golang.org>
|
|
Link to source files in the canonical Go repo, go.googlesource.com/go.
Continue to serve raw content (for images) from the GitHub mirror,
since we can't from googlesource.com.
Fixes golang/go#43180
Change-Id: Iac513d6481bcdb73ae73eed40d33518ffd3a0158
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/278293
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
|
|
The variable tc is renamed to test when used to refer to a test case, for
consistency throughout the rest of the codebase, which uses the
variable test in most cases.
Change-Id: I88a87aa020928af98e8579a299f3111718dfa044
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/271809
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Trust: Julie Qiu <julie@golang.org>
|
|
In the only call to this function, we already know the resolved
version.
For golang/go#41452
Change-Id: I96e5ebdf5acb0aeec45288b25b555e5c6cbb52ee
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/255757
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
Reorganize FetchModule into two functions.
First, one calls GetModuleInfo to get some prelimary,
cheap information, including the size of the zip.
Then one calls FetchModule with the result of GetModuleInfo.
This allows us to make decisions based on the zip size
before downloading the entire zip.
For golang/go#41452
Change-Id: Ifbffa5882488e31a72e78670caf69c3d97a80546
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/255738
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
Logic for resolving the semantic version in Zip is moved to the
function semanticVersion.
For golang/go#39973
Change-Id: I5c9215a4cc326d2a9c5db79f33509656ec0b0065
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/247398
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
This change adds support for resolving the latest version of the std
module, using stdlib.Zip.
Updates golang/go#39973
Change-Id: I0e27303bf2290f67c9dbc80fadf66b2e5c73e886
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/241604
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
The overview tab for the stdlib package is currently displaying
src/README.vendor, instead of README.md, when the use-directories
experiment flag is on. This is because based on the way the std
module zip is constructed, both README.md and README.vendor are present
at the root for version v1.4.0-beta.1 and higher. The
fetch process will then choose README.vendor to include, since
it comes after README.md alphabetically.
The README.vendor file is no longer included in the std zip.
For golang/go#39629
Change-Id: I1c9d8fcd1776f7b58be08f5f1ec1dc1b735e736d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/244608
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
testRefs are sorted based on the Go version and other tags.
Change-Id: Ia190e661bb93ad69d025f976dc2e2597fa9650c4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/244609
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Change-Id: Iadaf802c8931eaf1c3d91afc29d39fd142f2f1a6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/241071
Reviewed-by: Julie Qiu <julie@golang.org>
|
|
We should endeavor to eliminate FromHTTPStatus, and just use the
internal error semantics of the derrors package. I'm looking at other
uses, but for now eliminate these trivial uses: just use InvalidArgument
directly.
Change-Id: I55149b43031829953c9ec2a22b20f933f343b933
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/238438
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
src-d as a company went bankrupt about six months ago, and their Go
modules now survive under a new GitHub organization. Since the paths had
to change, they jumped both to v5.
The semver jump doesn't otherwise affect the API or backwards
compatibility, so no other changes are necessary.
Change-Id: I60f153799dd613bf15a407f9fedd2905fa93b469
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/237902
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|
|
Change-Id: Ic17226b2ae53e17ed96ee288e29306845252b3e8
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/747785
Reviewed-by: Julie Qiu <julieqiu@google.com>
|
|
golang.org/x/discovery is renamed to golang.org/x/pkgsite.
When the repository is open sourced, it will be hosted at
go.googlesource.com/pkgsite.
Change-Id: Ifc3b45b771a385b99179e785447f2a87afcacf87
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/724273
Reviewed-by: Jonathan Amsterdam <jba@google.com>
|