Skip to content

Commit

Permalink
Add license override for oauth library
Browse files Browse the repository at this point in the history
`github.com/mrjones/oauth` uses a non-standard-named filename for the
`LICENSE` 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 reported to both the go-license library
(google/go-licenses#142) and the oath 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 committed Oct 15, 2024
1 parent 939452c commit f856a37
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 f856a37

Please sign in to comment.