Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Amarjeet Anand 77ada3988f CONTRIBUTING: document GO_DISCOVERY_LOG_LEVEL
Change-Id: I8bc7a6a7eeeaf1e94507493ff52606f54aa7cceb
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/247197
Reviewed-by: Julie Qiu <julie@golang.org>
2020-08-06 16:00:51 +00:00
Julie Qiu 14c857198d README.md,CONTRIBUTING.md: rename go.dev label to pkgsite
The go.dev label will be renamed to pkgsite, since all of the
issues we have been receiving and using that label for have
been related to x/pkgsite.

Change-Id: I1f1aabe42ea537aa45bc5fae84868a2f33aba9c5
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/242537
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2020-07-14 14:06:31 +00:00
Julie Qiu bd6b7cbc1c CONTRIBUTING.md: update information
* Update various links
* Add tips for code review and using Gerrit

Change-Id: I8a8a194a1a4506251f8b243a4ee015b1eff7d2d5
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/240947
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-07-06 15:02:13 +00:00
Jonathan Amsterdam 1705eb3beb devtools/cmd/csphash: check script hashes for CSP
Add a tool that checks the script hashes used
for our Content Security Policy (CSP).

Run the tool from all.bash.

(Also, prettier decided to change CONTRIBUTING.md.)

Fixes b/159711607.

Change-Id: I4498a19143c53fb90bcf0560ccaf529f4fb72a81
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/240138
Reviewed-by: Julie Qiu <julie@golang.org>
2020-06-30 15:51:38 +00:00
Julie Qiu 31fdd26c6b CONTRIBUTING.md: add guidelines for sending a CL
Change-Id: Ic5d32b855beaea237c23a1f0838227a5f415bded
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/768315
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-06-11 17:17:05 +00:00
Julie Qiu 4cb4254131 all: update documentation
README.md, CONTRIBUTING.md, doc/design.md and doc/frontend.md are
updated improve clarity on the project direction and how to contribute
to the project.

Change-Id: Ia4b7302cf4851c0f777f8b7c3fa45c60dad7d989
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/766270
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-06-11 15:17:46 +00:00
Miguel Acero eeabbb31ec CONTRIBUTING.md, doc: add details for local development
Instructions are added for how to install golang-migrate. Additional context is added for how to populate the local database, and run the frontend and worker servers.

Updates b/157994345

Change-Id: I937fd77da5894c01f2c380cc94055fa786a448ce
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/760281
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-06-04 15:30:24 +00:00
Julie Qiu 23f4a4a759 all: run prettier on markdown files
./all.bash prettier now runs on files with a .md file extension. Several
existing .md files are formatted.

Change-Id: Id083a932cdd5db105ae7494b71bcad340b080132
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/756682
Reviewed-by: Andrew Bonventre <andybons@google.com>
2020-05-29 14:48:09 +00:00
Julie Qiu 9ac9110cce all: add updates to roadmap
README.md and CONTRIBUTING.md are updated to discuss upcoming design
changes.

Change-Id: If9835bffbf1533d4f7c02e3c66fc8ed07b2a17cf
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/750822
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-05-26 12:12:07 +00:00
Julie Qiu 19794c8aeb all: rename module to golang.org/x/pkgsite
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>
2020-04-23 16:18:43 +00:00
Julie Qiu cd006148cc CONTRIBUTING: fix link to doc/design.md
Change-Id: Ia416fcbed498d193f8a97ce33762044c63b31d36
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/694806
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-04-06 17:09:52 -04:00
Jonathan Amsterdam 1c003d1c99 CONTRIBUTING.md,docs: clean up for external use
Change-Id: I1ab3bcb5eed7000ab104fa126ddefedcde0f653c
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/692510
Reviewed-by: Julie Qiu <julieqiu@google.com>
2020-04-06 17:09:52 -04:00
Julie Qiu a1a82cfb05 discovery: update README.md and CONTRIBUTING.md
README.md and CONTRIBUTING.md are updated, and content about
contributing and desing decision is moved to the /doc directory.

Updates b/150141240

Change-Id: I82cf43694799535617b0774febe13cb4dadac489
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/677232
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2020-04-06 15:50:52 -04:00
Andrew Bonventre 4673ce2411 discovery: make small improvements for developer ergonomics
+ Fix a test that fails due to precision differences in time values
  in Postgres


+ Provide an example URL when visiting the root path of the fetch
  service
+ Update handlers to return a 404 instead of 500 if a user provides
  an invalid path
+ Don't require a full URL when parsing module data since the path
  is all that's needed

Change-Id: I9f8dc13b0a4995e6cb848f86ad41f6fed2759f82
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/439693
Reviewed-by: Julie Qiu <julieqiu@google.com>
2020-03-27 16:46:34 -04:00
Julie Qiu d11f2161ab discovery: add CONTRIBUTING.md
Change-Id: I7a64fc4950c77cebe6fe7ffdff57a438370a5eb0
Reviewed-on: https://team-review.git.corp.google.com/c/417743
Reviewed-by: Andrew Bonventre <andybons@google.com>
2020-03-27 16:46:33 -04:00