Commit Graph

17 Commits

Author SHA1 Message Date
Tim Hockin
822745512d
Make update-gofmt use ls-files 2023-01-22 15:16:23 -08:00
SataQiu
84a0478d1b fix bug of hack/update-gofmt.sh 2019-04-13 03:29:51 +08:00
SataQiu
0f09703c48 fix shellcheck failures of hack/update-gofmt.sh hack/update-translations.sh 2019-04-09 12:30:58 +08:00
Roy Lenferink
a5d0616bdc Improving syntax for bash scripts 2019-01-18 19:17:16 +01:00
tianshapjq
1de325fe3f ignore .git dirs when executing gofmt 2018-09-06 14:27:42 +08:00
Matthias Bertschy
9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Dr. Stefan Schimanski
f6a2915f26 hack/*.sh: re-add staging dirs to verify+update scripts 2017-02-17 08:51:31 +01:00
Kubernetes Submit Queue
298ec318b2 Merge pull request #31547 from mbohlool/fix2
Automatic merge from submit-queue

Ignore staging folder in update gofmt

small bugfix in hack/update-gofmt.sh
2016-09-14 05:35:51 -07:00
Davanum Srinivas
01c40066b3 Skip gofmt for staging/ directory
We should not try to format stuff that does not
belong to the current repository

Fixes #31875
2016-09-02 11:51:38 -04:00
mbohlool
7c8f10af6f Ignore staging folder in update gofmt 2016-08-26 13:35:57 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Tim Hockin
527cb50583 Demand at least go1.6 2016-05-08 20:30:37 -07:00
Tim Hockin
cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
Eric Paris
cbc4581bd6 Default to allow new golang versions
Out tests for features that didn't exist in old golang versions (like
gofmt didn't exist in 1.3 or the linker didn't want an = in 1.4) checked
for the new version. But this means every time there is a new version we
have to update the test. This PR inverts the test. We do it the old way
for the old version and if a new version comes along we just assume it
is going to work the new way.
2016-03-07 09:57:36 -05:00
Tim Hockin
0df07424e7 Make go version requirements clearer 2015-12-10 12:09:25 -08:00
Jeff Grafton
4cafa3e92d Ignore _gopath in verify scripts
The _gopath directory is used in Jenkins to install extra dependencies,
and any files in it should be ignored by the various verification
scripts.
2015-10-19 14:09:23 -07:00
Daniel Smith
7a0fc719fb Fix tooling for apis/experimental's new home
* fix package name
* add a script to auto-gofmt everything, useful after grep/sed incantations
* update conversion/deep copy generation
* doc update
2015-09-11 16:06:10 -07:00