summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib/time: update tzdata to 2018iIan Lance Taylor2019-01-072-2/+2
| | | | | | | | | | Updates #22487 Change-Id: Iab4874ddef8e47eb99cd03e1c40af8372cce65c6 Reviewed-on: https://go-review.googlesource.com/c/156637 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* lib/time: update tzdata to 2018gTobias Klauser2018-11-282-2/+2
| | | | | | | | | | | | | Now that the tree has been frozen for some time, update the tzdata database to version 2018g (released 2018-10-26) for Go 1.12. Updates #22487 Change-Id: I9e82bcdaef28d308643c08c9fd3472e4c14a196e Reviewed-on: https://go-review.googlesource.com/c/151299 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* lib/time: update vendored tzdata to release 2018eAlberto Donizetti2018-06-112-2/+2
| | | | | | | | | | | | It has been a long time since the last time the vendored zoneinfo in lib/time was updated, and we're well into the freeze. Update it to the lastest release from IANA. Updates #22487 Change-Id: Ib9a8eb409554848285fc88363dbb04ed9d6d9eb0 Reviewed-on: https://go-review.googlesource.com/117855 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* all: use HTTPS for iana.org linksKevin Burke2018-02-132-6/+5
| | | | | | | | | | iana.org, www.iana.org and data.iana.org all present a valid TLS certificate, so let's use it when fetching data or linking to resources to avoid errors in transit. Change-Id: Ib3ce7c19789c4e9d982a776b61d8380ddc63194d Reviewed-on: https://go-review.googlesource.com/89416 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* lib/time: follow redirects in curlKyle Shannon2018-01-241-2/+2
| | | | | | | | | | | Starting on or about the 2018c archives, www.iana.org is redirected to data.iana.org. Tell curl to follow the redirect. Updates: #22487 Change-Id: I00acada1a3ba01ef701d6d4ffae6cc2cbb6a068f Reviewed-on: https://go-review.googlesource.com/89375 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* lib/time: update tzdata to 2017cTobias Klauser2017-12-062-2/+2
| | | | | | | | | | | | Update the tzdata database to version 2017c (released 2017-10-20). Updates #22487 Change-Id: If58ff89173ef1f1044075505f42ff132b57795f0 Reviewed-on: https://go-review.googlesource.com/74230 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* time: vendor tzdata-2017b and update testAlberto Donizetti2017-06-072-2/+2
| | | | | | | | | | | | | | | | | | This change updates the vendored tzdata database to version 2017b (released 2017-03-20). The TestFirstZone test (which always uses the vendored database) is updated to make it work with the new timezones database. (The Tokelau abbreviation was changed from 'TKT' to the numeric abbreviation in tzdata-2017a) Fixes #19376 Change-Id: I0dea93e8703992de5c92c7840b8bacad9d02c50d Reviewed-on: https://go-review.googlesource.com/44832 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* *.bash: always use the same string equality operatorDaniel Martí2017-03-141-1/+1
| | | | | | | | | | | | | POSIX Shell only supports = to compare variables inside '[' tests. But this is Bash, where == is an alias for =. In practice they're the same, but the current form is inconsisnent and breaks POSIX for no good reason. Change-Id: I38fa7a5a90658dc51acc2acd143049e510424ed8 Reviewed-on: https://go-review.googlesource.com/38031 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* lib/time: update tzdata to 2016jBrad Fitzpatrick2017-01-052-2/+2
| | | | | | | | | | Fixes #18500 Change-Id: I4dddd1b99aecf86b9431b0c14f452152dff9b95a Reviewed-on: https://go-review.googlesource.com/34816 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* lib/time: update tzdata to 2016iBrad Fitzpatrick2016-11-102-2/+2
| | | | | | | | | | Fixes #17678 Change-Id: I01d12a827e6106efed1ec024f736c640b86906b4 Reviewed-on: https://go-review.googlesource.com/33029 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* lib/time: update to IANA release 2016g (September 2016)Alberto Donizetti2016-10-202-2/+2
| | | | | | | | Change-Id: Ie6258602554c5bb6685c9de42ccda84d297af1e2 Reviewed-on: https://go-review.googlesource.com/31515 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* lib/time: update to IANA release 2016f (July 2016)Brad Fitzpatrick2016-07-072-3/+3
| | | | | | | | | | | | Fixes #16273 Change-Id: I443e1f254fd683c4ff61beadae89c1c45ff5d972 Reviewed-on: https://go-review.googlesource.com/24744 Reviewed-by: Andrew Gerrand <adg@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Quentin Smith <quentin@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* all: make copyright headers consistent with one space after periodEmmanuel Odeke2016-05-021-1/+1
| | | | | | | | | | | | | | | | | | Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* lib/time: update to IANA release 2016d (Apr 2016).David Symonds2016-04-282-2/+2
| | | | | | | | Change-Id: I46d9ea31cf5836d054a9ce22af4dd1742a418a07 Reviewed-on: https://go-review.googlesource.com/22588 Run-TryBot: David Symonds <dsymonds@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
* misc: update timezone database to IANA 2016aRob Pike2016-02-032-2/+2
| | | | | | | | | | Fixes #14202 Change-Id: Ia6dccecb1b9b3f6c0838c99090e6ddf1ad43303c Reviewed-on: https://go-review.googlesource.com/19175 Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
* lib/time: update to IANA release 2015g.David Symonds2016-01-212-2/+3
| | | | | | Change-Id: Id82209dc313fa6b54e623eb325412737e7a055fe Reviewed-on: https://go-review.googlesource.com/18794 Reviewed-by: Andrew Gerrand <adg@golang.org>
* lib/time: update to IANA release 2015e.David Symonds2015-07-222-2/+2
| | | | | | | | | Fixes #11810. Change-Id: I8453e53a72e242a69ea34eb393999e7291d4358f Reviewed-on: https://go-review.googlesource.com/12502 Run-TryBot: David Symonds <dsymonds@golang.org> Reviewed-by: Rob Pike <r@golang.org>
* remove the obsolete lib/codereview.David Symonds2014-12-083-3895/+0
| | | | | | Change-Id: Idd2e74053ce4a2be3d757aef1bb83313973de6f0 Reviewed-on: https://go-review.googlesource.com/1175 Reviewed-by: Andrew Gerrand <adg@golang.org>
* [dev.garbage] all: merge dev.cc (81884b89bd88) into dev.garbageRuss Cox2014-12-052-2/+2
|\ | | | | | | | | | | TBR=rlh CC=golang-codereviews https://golang.org/cl/181100044
| * [dev.cc] all: merge default (8d42099cdc23) into dev.ccRuss Cox2014-12-052-2/+2
| |\ | | | | | | | | | | | | | | | TBR=austin CC=golang-codereviews https://golang.org/cl/178700044
| | * lib/time: update to ICANN time zone database 2014jRob Pike2014-12-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #9189. LGTM=dsymonds R=golang-codereviews, dsymonds CC=golang-codereviews https://golang.org/cl/178660043
| * | [dev.cc] all: merge dev.power64 (7667e41f3ced) into dev.ccRuss Cox2014-11-142-3/+10
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to reduce the delta between dev.cc and dev.garbage to just garbage collector changes. These are the files that had merge conflicts and have been edited by hand: malloc.go mem_linux.go mgc.go os1_linux.go proc1.go panic1.go runtime1.go LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/174180043
* | | [dev.garbage] all: merge default (f38460037b72) into dev.garbageRuss Cox2014-11-141-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | This is the revision that dev.cc is branched from. LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/169590043
| * | all: use golang.org/x/... import pathsAndrew Gerrand2014-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | LGTM=rsc, r R=r, rsc CC=golang-codereview, golang-codereviews https://golang.org/cl/168050043
| * | lib/codereview: fix with more recent hg revisions.Adam Langley2014-11-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've Mercurial version 3.2 and hg submit fails with: File "/home/agl/devel/go/lib/codereview/codereview.py", line 3567, in get_hg_status ret = hg_commands.status(fui, self.repo, *[], **{'rev': [rev], 'copies': True}) File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 5714, in status fm = ui.formatter('status', opts) File "/home/agl/devel/go/lib/codereview/codereview.py", line 3464, in formatter return plainformatter(self, topic, opts) File "/usr/lib/python2.7/site-packages/mercurial/formatter.py", line 57, in __init__ if ui.debugflag: AttributeError: 'FakeMercurialUI' object has no attribute 'debugflag' This change dumbly adds a boolean debugflag and that seems to work. LGTM=minux R=rsc, minux CC=golang-codereviews https://golang.org/cl/167410043
* | | [dev.garbage] all: merge dev.power64 (5ad5e85cfb99) into dev.garbageRuss Cox2014-10-292-3/+10
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The goal here is to get the big-endian fixes so that in some upcoming code movement for write barriers I don't make them unmergeable. LGTM=rlh R=rlh CC=golang-codereviews https://golang.org/cl/166890043
| * | [dev.power64] build: merge default into dev.power64Austin Clements2014-10-222-3/+10
| |/ | | | | | | | | | | | | LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/160200044
* | [dev.garbage] lib/codereview: allow hg submit to commit new branch if CL ↵Russ Cox2014-09-251-2/+2
|/ | | | | | | | | | | | description says so This means I won't have to edit the plugin when I create the next dev branch. LGTM=r, adg R=r, adg CC=golang-codereviews https://golang.org/cl/148950045
* codereview: do not hit upload_complete on first patchRuss Cox2014-08-061-1/+2
| | | | | | | | Causes server 500 error, so don't do it. TBR=minux CC=golang-codereviews https://golang.org/cl/125770043
* codereview: fix submit of merge + include branch prefix in submitted messageRuss Cox2014-08-061-8/+21
| | | | | | | | | | | | hg insists that we not list explicit files for a merge. for benefit of other tools reading logs, include branch prefix at start of every commit message. LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/124780044
* codereview: handle upload of mergeRuss Cox2014-08-061-3/+15
| | | | | | | LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/118690043
* codereview: preserve branch prefix in subject during hg mailRuss Cox2014-08-061-8/+10
| | | | | | | LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/124800043
* codereview: enable work and code reviews in development branchesRuss Cox2014-08-061-5/+17
| | | | | | | | | | This is an experiment. See mail on golang-dev (subject: "an experiment: development branches"). LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/117660043
* codereview: abort 'hg commit' before entering commit message.Shenghou Ma2014-07-181-4/+4
| | | | | | | | | | Hook pre-commit runs before 'hg commit' command whereas hook precommit runs after the user has entered commit message. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/106320043
* codereview: revive the tests.Shenghou Ma2014-07-182-14/+31
| | | | | | | LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/105500043
* codereview: update name of the a+c toolBrad Fitzpatrick2014-07-011-1/+1
| | | | | | | LGTM=rsc R=rsc, minux CC=golang-codereviews https://golang.org/cl/105480043
* lib/codereview: fix doc/go1.*.txt exceptionRuss Cox2014-06-121-1/+1
| | | | | | | LGTM=r R=r CC=golang-codereviews https://golang.org/cl/108950046
* codereview: no LGTM needed for doc/go1.x.txtRuss Cox2014-06-121-3/+13
| | | | | | | | | | Rob asked for this change to make maintaining go1.4.txt easier. If you are not sure of a change, it is still okay to send for review. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/109880044
* codereview: do not add defaultcc for private CLsRuss Cox2014-06-051-2/+2
| | | | | | | LGTM=r R=r, 0xjnml, bradfitz, iant CC=golang-codereviews https://golang.org/cl/103070046
* lib/timezone: update to IANA 2014dRob Pike2014-06-012-2/+2
| | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/102040045
* lib/time/zoneinfo.zip: update to IANA release 2014cRob Pike2014-05-162-2/+2
| | | | | | | LGTM=minux.ma R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/93420046
* lib/time: update time zone info to v.2014bRobert Hencke2014-04-292-4/+2
| | | | | | | | | Fixes #7412. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/92850043
* codereview: remove unused upload_options.revisionPatrick Mézard2014-02-241-12/+9
| | | | | | | LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://golang.org/cl/60640052
* codereview: fix for Mercurial 2.9Anthony Martin2014-02-141-1/+1
| | | | | | | | | | | | The branchtags method was removed but we should've been using branchmap all along. http://selenic.com/hg/rev/4274eda143cb LGTM=franciscossouza, r R=golang-codereviews, franciscossouza, r CC=golang-codereviews https://golang.org/cl/57500045
* codereview: warn about 'hg upload' not uploadingRuss Cox2014-02-131-0/+2
| | | | | | | | | | | | This seems to be what causes the 'chunk mismatch' errors. I don't know why the server tells us there's nothing to upload, but at the least we can warn that it did, so that the user will try again. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/62840043
* lib/codereview: allow addca CLs without LGTMRuss Cox2014-02-101-1/+6
| | | | | | | LGTM=gri R=golang-codereviews, gri CC=golang-codereviews https://golang.org/cl/61610043
* lib/codereview: add LGTM= line to commit messagesRuss Cox2014-01-231-5/+20
| | | | | | | | | | | The R= is populated by Rietveld, so it's basically anyone who replied to the CL. The LGTM= is meant to record who actually signed off on the CL. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/55390043
* codereview: switch defaultcc to golang-codereviewsRuss Cox2013-12-201-1/+1
| | | | | | | | | See this thread for background: https://groups.google.com/forum/#!topic/golang-dev/xG7vPi21r8g R=golang-codereviews, gobot, golang-dev, dsymonds CC=golang-codereviews, golang-dev https://golang.org/cl/44450043
* plan9: correct create permissions with union directoryJeff Sickel2013-10-231-1/+1
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/15360045
* lib/codereview: return an empty list when CONTRIBUTORS is not found instead ↵Francesc Campoy2013-10-101-1/+1
| | | | | | | | of None. R=adg, campoy, r CC=golang-dev https://golang.org/cl/14419059