Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep for release 2.3.0 #79

Merged
merged 4 commits into from
Jun 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add notification of generated code
elrayle committed Jun 17, 2024
commit 494d58bf2ced3f96442c5a6facfa6d9abb1c0318
4 changes: 4 additions & 0 deletions cmd/exceptions.go
Original file line number Diff line number Diff line change
@@ -51,6 +51,10 @@ func extractExceptionLicenseIDs() error {
// generate the GetExceptions() function in get_exceptions.go
getExceptionsContents := []byte(`package spdxlicenses

// Code generated by go-spdx cmd/exceptions.go. DO NOT EDIT.
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.

// GetExceptions returns a slice of exception license IDs.
func GetExceptions() []string {
return []string{
`)
8 changes: 8 additions & 0 deletions cmd/license.go
Original file line number Diff line number Diff line change
@@ -56,6 +56,10 @@ func extractLicenseIDs() error {
// generate the GetLicenses() function in get_licenses.go
getLicensesContents := []byte(`package spdxlicenses

// Code generated by go-spdx cmd/license.go. DO NOT EDIT.
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.

// GetLicenses returns a slice of active license IDs.
func GetLicenses() []string {
return []string{
`)
@@ -76,6 +80,10 @@ func GetLicenses() []string {
// generate the GetDeprecated() function in get_deprecated.go
getDeprecatedContents := []byte(`package spdxlicenses

// Code generated by go-spdx cmd/license.go. DO NOT EDIT.
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.

// GetDeprecated returns a slice of deprecated license IDs.
func GetDeprecated() []string {
return []string{
`)
4 changes: 4 additions & 0 deletions spdxexp/spdxlicenses/get_deprecated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions spdxexp/spdxlicenses/get_exceptions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions spdxexp/spdxlicenses/get_licenses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.