Skip to content

Commit

Permalink
Add license override for oauth library (#888)
Browse files Browse the repository at this point in the history
`github.com/mrjones/oauth` uses a non-standard-named filename for the
`LICENSE.txt` file (`MIT-LICENSE.txt` instead of `LICENSE.txt`).
`go-license-detector` cannot handle such a case, as seen here:
https://github.com/QuesmaOrg/quesma/actions/runs/11327943230/job/31500069625

The problem was already reported to both the `go-licenses` library
(google/go-licenses#142) and the `oauth`
library (mrjones/oauth#74), but it's not fixed
yet.

Fix the problem by adding an override entry to `overrides.ndjson`.
  • Loading branch information
avelanarius authored Oct 15, 2024
1 parent 8c93f77 commit b0f7b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/go-licence-detector/overrides.ndjson
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{"name": "github.com/pascaldekloe/goe", "licenceType": "Public Domain"}
{"name": "github.com/pascaldekloe/name", "licenceType": "Public Domain"}
{"name": "github.com/mrjones/oauth", "licenceFile": "MIT-LICENSE.txt"}

0 comments on commit b0f7b37

Please sign in to comment.