Commit Graph

157 Commits (c2b771d5c46ca3b2f58f72595fe07a4e56a63762)

Author SHA1 Message Date
Jordan Liggitt c3871e69ff Remove swagger12, swagger-ui, api-reference, swagger-spec, go-bindata-assetfs 2019-01-15 12:02:47 -05:00
k8s-ci-robot e998d6c2bc
Merge pull request #70718 from cblecker/godep-round-a-million
Fork godep to fix inconsistent abbreviation size
2018-11-07 19:10:45 -08:00
k8s-ci-robot 3bf41a210b
Merge pull request #69820 from ixdy/fork-multiarch-register
Use a forked copy of multiarch/qemu-user-static scripts instead of a privileged container
2018-11-07 19:10:15 -08:00
Christoph Blecker c0967edd4a
Add license declaration to forked godep 2018-11-07 11:02:08 -08:00
Christoph Blecker d15da2c586
Update godeps 2018-11-07 11:02:07 -08:00
Christoph Blecker 9d241ec454
Modify forked godep to have custom version 2018-11-06 12:23:23 -08:00
Filipe Brandenburger db89546591
Use a fixed abbreviation size in `git describe` output
Currently, this setting depends on whatever the user of `godep` has in
their `git config --get core.abbrev`, if it is set.

Even when it is not set, the number of characters used in the shortened
git commit will depend on whether there are collisions for that prefix
on the local repository (which in large part depends on how much
activity exists there.)

As a result, when multiple users are maintaining Godeps/ for a single
project, many spurious changes to Godeps/Godeps.json are generated due
to the lack of stability in the length of the abbreviated commit in
output of `git describe`.

Let's fix this by enforcing a reasonable abbreviation length in godep's
use of `git describe`. 14 characters is very unlikely to result in
collisions for prefixes.
2018-11-06 11:44:02 -08:00
Christoph Blecker 57e1d0adcc
Move godep from vendor to third_party/forked/ 2018-11-06 11:44:02 -08:00
Christoph Blecker 8574c38f81
Update srcimporter.go to golang/go@5f0a9ba
Also move to third_party/ as it's copied code.
2018-10-25 11:27:53 -07:00
Christoph Blecker 31601caa8d
Remove forked go/types 2018-10-24 17:40:06 -07:00
Jeff Grafton bb9efbba25 Fix path to qemu-binfmt-conf.sh 2018-10-16 23:40:38 -07:00
Jeff Grafton 9fa72e56bf Fork multiarch/qemu-user-static registration scripts
These files were downloaded from
22b0013668.
2018-10-16 23:40:38 -07:00
Lei Gong 36a7a1a79b fix some style error using gofmt 2018-06-28 15:02:30 +08:00
Jeff Grafton a725660640 Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
Jeff Grafton 01f94051c8 Remove the go_default_library_protos filegroups using buildozer 2018-06-22 16:22:18 -07:00
Ibrahim AshShohail 73f4cd89af
Fix error message in Equalities.DeepEqual
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
2018-05-20 02:22:09 +03:00
Matthias Bertschy 9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Jeff Grafton f9c1355b47 kazel: skip third_party/etcd.* 2018-04-11 16:46:36 -07:00
Ryan Hitchman 90d99b346f Fix spurious whitespace in messages from sh2ju.
<failure>
<![CDATA[
...
]]>
</failure>

creates a <failure> tag with text == "\n\n...\n".

It needs to be on one line.
2018-03-28 20:11:58 -07:00
Kubernetes Submit Queue 7ba67b399d
Merge pull request #60695 from rmmh/sh2ju-awk
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Make sh2ju use awk instead of bc.

awk is available in all of our test runners (as part of busybox or debian base packages), bc is not.

This will fix spurious errors in the typecheck job.

**Release note**:
```release-note
NONE
```
2018-03-24 00:34:28 -07:00
Cao Shufeng a598f14826 remove unused htpasswd
This file is not used anywhere.
Further more, this is an error in this file:
```
$ flake8 third_party/htpasswd/htpasswd.py --select=F
third_party/htpasswd/htpasswd.py:46:13: F821 undefined name 'time'
```
2018-03-08 17:59:37 +08:00
Ryan Hitchman ba16cd9071 Make sh2ju use awk instead of bc.
awk is available in all of our test runners (as part of busybox or debian base packages), bc is not.
2018-03-01 23:47:50 -08:00
Kubernetes Submit Queue 7f49ccd2d0
Merge pull request #60506 from php-coder/fix_suppress_gdate_cmd
Automatic merge from submit-queue (batch tested with PRs 60475, 60514, 60506, 59903, 60319). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

sh2ju.sh: suppress `which` command output when gdate not found in $PATH

**What this PR does / why we need it**:
`make quick-verify` (and probably some other commands) doesn't produce a lot of unrelated and useless information to a console now.

Here is the related PR in the upstream: https://github.com/manolo/shell2junit/pull/7

How it was before:
>SUCCESS  verify-pkg-names.sh	1s
>Verifying verify-readonly-packages.sh
>which: no gdate in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/coder/bin:/home/coder/git/bin:/opt/maven/bin:/opt/go1.9.2/bin:/home/coder/.cargo/bin:/home/coder/git/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/home/coder/git/kubernetes/third_party/etcd:/opt/groovy-2.4.12/bin:/home/coder/bin:/home/coder/git/bin:/opt/maven/bin:/opt/go1.9.2/bin:/home/coder/.cargo/bin:/home/coder/git/src/github.com/openshift/origin/_output/local/bin/linux/amd64:/home/coder/git/kubernetes/third_party/etcd:/opt/groovy-2.4.12/bin)
2018-02-28 07:20:25 -08:00
Ryan Hitchman c3acf0749b Vendor golang's go/types to include a fix for CGo typechecking.
Ts is go/types forked from go@236abdb46b (just after 1.10) and
cherry-picked go@1006f703ffc, which fixes https://github.com/golang/go/issues/23712.
It can be removed when all builders are >= go1.11.
2018-02-27 13:53:32 -08:00
Slava Semushin ac8d6a295a sh2ju.sh: suppress `which` command output when gdate not found in $PATH. 2018-02-27 16:27:57 +01:00
Jeff Grafton ef56a8d6bb Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
Christoph Blecker 9f53050229
Add OWNERS for third_party folder 2018-02-04 21:47:07 -08:00
Christoph Blecker 3bcc6e9eeb
Add brackets and quotes where needed 2018-01-26 15:11:53 -08:00
Christoph Blecker 670505e5ff
Contain variable names in shell2unit
Also correct unbound assertions variable error on line 176
2018-01-26 14:08:25 -08:00
Christoph Blecker 92b1e6d227
Add cblecker to shell2junit OWNERS
You break it, you bought it.
2018-01-26 13:57:35 -08:00
Christoph Blecker 33a0b5af0c
Fix unset variables in shell2junit 2018-01-25 13:30:27 -08:00
Christoph Blecker 5fe4d279ca
Produce junit results for verify job 2018-01-25 13:30:25 -08:00
Jeff Grafton efee0704c6 Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
Dr. Stefan Schimanski bec617f3cc Update generated files 2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski 012b085ac8 pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
Kubernetes Submit Queue 1d8f1e268f Merge pull request #47699 from supereagle/fix-typos
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix typos: remove duplicated word in comments

**What this PR does / why we need it**: Remove the duplicated word `the` in comments

**Which issue this PR fixes** : fixes #

**Special notes for your reviewer**:

```release-note
NONE
```
2017-10-17 02:35:52 -07:00
Jeff Grafton aee5f457db update BUILD files 2017-10-15 18:18:13 -07:00
supereagle 87c29a08e1 fix typos: remove duplicated word in comments 2017-09-16 14:38:10 +08:00
Jeff Grafton 33276f06be Use buildozer to remove deprecated automanaged tags 2017-08-11 09:31:50 -07:00
Jeff Grafton cf55f9ed45 Autogenerate BUILD files 2017-08-11 09:30:23 -07:00
Kubernetes Submit Queue ec2fa9d46c Merge pull request #47614 from mengqiy/fix_naming
Automatic merge from submit-queue

fix naming for testgrid to pick up cmd test junit

Fixes #47613

The file name for testgrid to pick up should match regex `'junit(_[^_]+)?(_\d+-\d+)?(_\d+)?.xml'`
Name before is `junit-test-cmd.xml`
Name after is `junit_test-cmd.xml`

```release-note
NONE
```

/assign @krzyzacy
2017-07-19 21:51:49 -07:00
Kubernetes Submit Queue c9ab810803 Merge pull request #47620 from mengqiy/addOwner
Automatic merge from submit-queue

add owners for shell2junit pkg

Per https://github.com/kubernetes/kubernetes/pull/47614#issuecomment-308888690
```release-note
NONE
```
2017-07-19 12:15:45 -07:00
Mike Danese 8e23c656ca add testmain setup func to the integration framework 2017-07-12 17:34:55 -07:00
ymqytw b983a81184 add owners for sh2ju 2017-06-16 14:13:26 -07:00
ymqytw fa91eb4496 fix naming for testgrid 2017-06-15 13:38:41 -07:00
ymqytw 590ea991a5 change junit output format 2017-06-14 11:26:51 -07:00
ymqytw 471327f95f output junit for cmd tests 2017-06-13 10:13:23 -07:00
Jordan Liggitt 2d2427b847
gonum: slice-based edge holder
Use slices to store sets of edges for n <= 4.
~20% memory savings with many nodes with n=2 edges.
2017-05-30 15:12:30 -04:00
Jordan Liggitt 385b84ad83
gonum: visiting graph traversal
Use visitors to avoid allocating slices to hold nodes during traversal (and to allow short-circuiting)
Benchmarked at 95% space savings traversing nodes with many edges.
2017-05-30 15:12:30 -04:00
Jordan Liggitt ec1d79da19
gonum: directed acyclic graph
Implements graph.Directed capable of storing at most one edge between any two nodes.
Uses the Undirected implementation for space efficiency (~30% space savings).
2017-05-30 15:12:30 -04:00