The dgrijalva/jwt-go project is no longer maintained[1] and they have
transferred ownership to golang-jwt/jwt[2][3][4]. We should move to the
supported golang-jwt/jwt.
The following was performed:
1. update services/httpd/handler*.go to import golang-jwt/jwt
2. revert testcase string comparison changes from 225bcecd (back to v3)
2. go mod edit -require github.com/golang-jwt/jwt@v3.2.1+incompatible
3. go mod edit -droprequire github.com/dgrijalva/jwt-go
4. go mod tidy # see note
5. go clean ./... && go build ./...
6. go test ./...
Note: 'go mod tidy' had unrelated changes (perhaps it wasn't run in
recent commits) so I removed the unrelated delta to keep this PR focused
on the dgrijalva/jwt-go to golang-jwt/jwt changes.
References:
[1] dgrijalva/jwt-go#462
[2] dgrijalva/jwt-go#463
[3] https://github.com/dgrijalva/jwt-go/blob/master/README.md
[4] https://github.com/golang-jwt/jwt
[5] https://github.com/influxdata/influxdb/issues/21926
GitHub uses a library called Licensee to identify a project's license
type. It shows this information in the status bar and via the API if it
can unambiguously identify the license.
This commit renames LICENSE_OF_DEPENDENCIES.md to DEPENDENCIES.md, which
allows Licensee to ignore the file when checking the repository's
license type. It also adds a "Licensing" section to the README so that
users will understand the intent of the DEPENDENCIES.md file.
Collectively, these changes allow Licensee to successfully identify the
license type of InfluxDB's codebase as MIT.
I also updated the license info for Opentracing-Go, which is now
Apache-licensed and no longer MIT-licensed.
Signed-off-by: Andrea Kao <eirinikos@gmail.com>