Commit Graph

20 Commits

Author SHA1 Message Date
Eric Chiang
d0fac451e0 hack: fix godep license parsing for gopkg.in packages
The script incorrectly thinks that `gopkg.in/square/go-jose.v2/cipher`
doesn't have a license because it parses `gopkg.in/square` as the
root of the repo, even though `gopkg.in/square/go-jose.v2` is the
root.

Add special handling for gopkg.in packages by grep'ing for the
version that gopkg.in appends to the package name.
2017-11-22 09:38:17 -08:00
Christoph Blecker
fa7db1387b
Update godep-licenses script to work on darwin
This change ensures that the BSD (darwin) and GNU (linux) versions of the md5sum util have the same output.
2017-09-01 13:55:16 -07:00
Mike Danese
224e32bcb3 make godep licenses/copyright check case insensitive 2016-10-24 18:00:08 -07:00
David McMahon
ae12275ec8 Add a bash version check and some suggested updates for OSX. 2016-09-29 13:38:22 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Tim Hockin
3c6ce53b7f Fix call-sites after dep updates 2016-06-02 16:57:28 -07:00
Tim Hockin
aae0c90d64 Abort if we can't find a license 2016-06-02 15:57:30 -07:00
Tim Hockin
392c5dc618 Update license for go4.org
Add it as a special case package root and import the license file.  This was
the only UNKNOWN license, prior to the change to not look at upstream repo
state.
2016-06-02 15:57:30 -07:00
Tim Hockin
847b56b253 Simplify godep licenses logic
This code used to actually reach out to the internet to look for files.  This
is flaky, slow, and semantically WRONG.  The license that is upstream might
actually be different than what we have vendored.  Only look at local files.

This now passes back-to-back updates and verifies.
2016-05-27 10:01:27 -07:00
Tim Hockin
3facb3522b Godeps licenses
Fix the licenses script and run it.
2016-05-08 20:30:39 -07:00
David McMahon
3e613ee341 Write a parallel (godeps) _workspace tree to hold all the missing files.
godeps doesn't get everything we want, so fix the problem but write it
to a parallel tree since _workspace is reserved only for godeps auto-generated
files.
2016-03-22 16:51:30 -07:00
k8s-merge-robot
d55f096804 Merge pull request #23154 from hongchaodeng/deplic
Auto commit by PR queue bot
2016-03-18 18:20:59 -07:00
David McMahon
ede7bb6793 Add a --retry to curl to help avoid transient failures. 2016-03-17 17:16:40 -07:00
Hongchao Deng
dd6487d0b7 use '/usr/bin/env bash' in update/verify-godep-licenses.sh 2016-03-17 14:55:21 -07:00
Jeff Grafton
8b2ecf4a94 Use LC_ALL=C with the other sort call in update-godep-licenses.sh
Also update LICENSES based on this ordering.
2016-03-11 17:29:51 -08:00
Eric Paris
c8d3a06223 Use LC_ALL=C when calling sort 2016-03-10 14:07:09 -05:00
David McMahon
ffeaef6201 New Godeps LICENSE generation tool.
Includes initial Godeps/LICENSES and Godeps/.license_file_state file to ensure
fast local generation.
2016-03-01 18:16:09 -08:00
James DeFelice
06df194943 updated license exceptions for testify and yaml.v2 2016-01-27 17:25:00 +00:00
Brendan Burns
61ff7475a8 Add a stray dependency that was missing due to godep update 2016-01-25 10:05:29 -08:00
Karl Isenberg
6125f539b6 Add hack/update-godep-licenses.sh to generate Godeps/LICENSES.md
- Add Godeps/LICENSES.md
- Add verify-godep-licenses to verify that Godeps/LICENSES.md is up to date
- Trigger verify-godep-licenses in the pre-commit hook only if the Godeps dir has changed
- Exclude verify-godep-licenses in verify-all
- Add verify-godep-licenses to make verify (used by travis)
- Add verify-godep-licenses to shippable
- Update dev docs to mention update-godep-licenses
2016-01-14 09:05:25 -08:00