dependabot[bot]
3cb0c742fa
Bump golangci/golangci-lint-action from 3.7.0 to 3.7.1
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.0...v3.7.1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 06:42:17 +00:00
Kevin Dangoor
7c3088d905
Merge pull request #53 from github/dependabot/github_actions/actions/setup-go-5
...
Bump actions/setup-go from 4 to 5
2023-12-12 15:35:23 -05:00
dependabot[bot]
5f523af764
Bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 06:33:34 +00:00
Andrew Henry
e0a077a4c3
Merge pull request #52 from github/ajhenry/extract-licenses
...
Add method for extracting licenses from expression
2023-09-19 10:26:07 -04:00
Andrew Henry
0f05021d0f
docs: update readme with extractlicenses
2023-09-19 10:01:16 -04:00
Andrew Henry
4f63854de4
docs: update docs to include extract licenses
2023-09-19 09:45:34 -04:00
Andrew Henry
7fe1a57f22
fix: remove nil guard
2023-09-19 09:42:04 -04:00
Andrew Henry
16353ede45
test: update to include error test
2023-09-19 09:41:26 -04:00
Andrew Henry
674a5c96bf
fix: Make modifiers present and more to extracts file
2023-09-18 16:45:00 -04:00
Andrew Henry
cb36f68515
docs: add public method docs
2023-09-18 13:28:05 -04:00
Andrew Henry
df5d42ebe2
feat: add method for extracting licenses from expression
2023-09-18 13:20:22 -04:00
Kevin Dangoor
304897a7aa
Merge pull request #51 from github/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2023-09-05 11:34:22 -04:00
dependabot[bot]
10de648214
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 06:33:07 +00:00
Kevin Dangoor
63668b155e
Merge pull request #50 from github/dependabot/github_actions/golangci/golangci-lint-action-3.7.0
...
Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
2023-08-17 11:04:10 -04:00
dependabot[bot]
c1fe5d2541
Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 06:33:25 +00:00
E. Lynette Rayle
b48e4ca923
Merge pull request #49 from github/elr/go_playground
...
Add Go Playground for testing spdx.Satisfies
2023-07-19 14:00:03 -04:00
E. Lynette Rayle
55394025e9
Add Go Playground for testing spdx.Satisfies
2023-07-19 13:59:46 -04:00
Kevin Dangoor
b5baa62004
Merge pull request #48 from github/dependabot/github_actions/golangci/golangci-lint-action-3.6.0
...
Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0
2023-06-13 14:23:49 -04:00
dependabot[bot]
26cc8c9210
Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.4.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 07:03:50 +00:00
Kevin Dangoor
84f9abeffb
Merge pull request #41 from github/dependabot/github_actions/actions/setup-go-4
...
Bump actions/setup-go from 3 to 4
2023-05-01 12:54:07 -04:00
Kevin Dangoor
24ba5a3f6e
Merge branch 'main' into dependabot/github_actions/actions/setup-go-4
2023-05-01 12:31:31 -04:00
E. Lynette Rayle
fc39e7c5e5
Merge pull request #44 from spiffcs/36-public-api
...
docs: add expressions to `Validate` test cases and API documentation
2023-04-13 13:01:42 -04:00
Christopher Angelo Phillips
4093c9286d
Merge branch 'main' into 36-public-api
2023-04-13 12:48:03 -04:00
Andrew Henry
f4850b3a16
Merge pull request #43 from github/dangoor-codeowners
...
Add myself to CODEOWNERS
2023-04-13 12:46:06 -04:00
Christopher Phillips
91b9397106
style: small changes for golangci-lint
...
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
2023-04-13 12:31:41 -04:00
Christopher Phillips
766b0abc03
test: update tests and documentation to express spdx expression use case
...
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
2023-04-13 12:28:42 -04:00
E. Lynette Rayle
3f40be4afc
Add go package badge
2023-03-21 11:09:54 -04:00
E. Lynette Rayle
0e882480d8
Merge pull request #42 from github/elr/fix-only
...
fix bug where GPL-2.0 failed to match GPL-2.0-only
2023-03-21 10:54:02 -04:00
Kevin Dangoor
b14ea221fc
Add myself to CODEOWNERS
...
I can help with reviews here.
2023-03-20 21:34:17 -04:00
E. Lynette Rayle
e08d1d684a
fix bug where GPL-2.0 failed to match GPL-2.0-only
...
add/refine function documentation
2023-03-20 11:20:14 -04:00
E. Lynette Rayle
a8343f7e69
add failing tests for bug where GPL-2.0 failed to match GPL-2.0-only
2023-03-20 11:19:13 -04:00
dependabot[bot]
f9e7084908
Bump actions/setup-go from 3 to 4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 07:05:24 +00:00
E. Lynette Rayle
9f2f2c087e
Merge pull request #39 from github/elr/dup-tests
...
remove duplicate tests
2023-02-08 17:50:54 -05:00
E. Lynette Rayle
3d115ff280
remove duplicate tests
2023-02-08 17:49:58 -05:00
E. Lynette Rayle
9e28f22555
Merge pull request #38 from github/dependabot/github_actions/golangci/golangci-lint-action-3.4.0
...
Bump golangci/golangci-lint-action from 3.2.0 to 3.4.0
2023-02-08 17:47:16 -05:00
dependabot[bot]
a45d89c714
Bump golangci/golangci-lint-action from 3.2.0 to 3.4.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.2.0 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.4.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 22:22:09 +00:00
E. Lynette Rayle
53b41f211e
Merge pull request #32 from github/update-dependabot-4749908f
...
Add Dependabot config file
2023-02-08 17:21:48 -05:00
E. Lynette Rayle
abc0b15e36
Merge pull request #37 from github/elr/paren-bug
...
improve checking for syntax errors
2023-02-08 17:21:26 -05:00
E. Lynette Rayle
a83a0a1173
improve checking for syntax errors
...
fixes #4
The issue suggested fixing this at the scan level, but scan is just a tokenizer. Parse knows what is expected syntactically. The fix was made at the parse level and tests for malformed expressions were added.
2023-02-08 17:20:20 -05:00
E. Lynette Rayle
70d5a3f44e
Merge branch 'main' into update-dependabot-4749908f
2023-02-08 17:16:01 -05:00
E. Lynette Rayle
9f1f925e5b
Merge pull request #35 from github/elr/cmd-doc
...
add documentation for license extraction utility
2023-01-17 09:35:56 -05:00
E. Lynette Rayle
ad924b9206
add documentation for license extraction utility
2023-01-17 09:33:29 -05:00
E. Lynette Rayle
9edaf20a8c
Merge pull request #34 from github/elr/license-updates
...
update license lists from official spdx data
2023-01-13 22:42:37 -05:00
E. Lynette Rayle
442905e1bb
update license lists from official spdx data
...
Update licenses in spdxexp/license.go to the latest set of [official spdx licenses](https://github.com/spdx/license-list-data ).
Active licenses and deprecated licenses were extracted from [spdx/license-list-data/json/licenses.json](https://github.com/spdx/license-list-data/blob/main/json/licenses.json ).
Exception licenses were extracted from [spdx/license-list-data/json/exceptions.json](https://github.com/spdx/license-list-data/blob/main/json/exceptions.json ).
Update range data for licenses. This requires human analysis.
2023-01-13 22:41:05 -05:00
Sentinel Reviewer
4c79859046
Add Dependabot config file
2022-12-06 10:53:20 -06:00
E. Lynette Rayle
a7497e736b
Merge pull request #28 from github/elr/mod-version
...
module name must end in v2 for latest go conventions
2022-12-01 12:16:14 -05:00
E. Lynette Rayle
a5bd2f646f
module name must end in v2 for latest go conventions
2022-12-01 12:09:55 -05:00
E. Lynette Rayle
cf11334fb2
Merge pull request #27 from github/elr/refactor-to-spdxexp
...
rename package from expression to spdxexp
2022-12-01 11:14:34 -05:00
E. Lynette Rayle
9374645834
rename package from expression to spdxexp
...
Thoughts on the renaming:
- expression is long for a go package name
- exp is not specific (e.g. exp.Satisfies)
- spdxexp hits the balance between short length and enough info to quickly distinguish it from other packages (e.g. spdxexp.Satisfies)
2022-12-01 11:08:47 -05:00
E. Lynette Rayle
82503af468
Merge pull request #26 from github/elr/refactor-spdxexp
...
rename spdx package expression
2022-11-30 19:35:13 -05:00