Skip to content

Added more const for external reference to external.go#188

Merged
kzantow merged 3 commits intospdx:mainfrom
neilnaveen:neil/fix/external.go/bug
Feb 9, 2023
Merged

Added more const for external reference to external.go#188
kzantow merged 3 commits intospdx:mainfrom
neilnaveen:neil/fix/external.go/bug

Conversation

@neilnaveen
Copy link
Copy Markdown
Contributor

Signed-off-by: Neil Naveen 42328488+neilnaveen@users.noreply.github.com

-added more const for external.go, from the PR spdx#153

Signed-off-by: Neil Naveen <42328488+neilnaveen@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@lumjjb lumjjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @neilnaveen for opening this up!

Copy link
Copy Markdown
Collaborator

@kzantow kzantow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @neilnaveen if you are going to add these constants (which seems good 👍), could you add all the constants defined in the external references categories and annex f types?

Also these need aliases in the spdx/model.go.

I'd second @lumjjb 's request to replace the hardcoded values with these constants where appropriate, too. I think it would make sense to be part of this PR.

Signed-off-by: Neil Naveen <42328488+neilnaveen@users.noreply.github.com>
@neilnaveen
Copy link
Copy Markdown
Contributor Author

Hey @neilnaveen if you are going to add these constants (which seems good 👍), could you add all the constants defined in the external references categories and annex f types?

Also these need aliases in the spdx/model.go.

I'd second @lumjjb 's request to replace the hardcoded values with these constants where appropriate, too. I think it would make sense to be part of this PR.

I have added all constants from the annex f types, and I have put them in their respective categories.

@neilnaveen neilnaveen requested review from kzantow and lumjjb and removed request for kzantow and lumjjb February 7, 2023 21:05
Copy link
Copy Markdown
Collaborator

@kzantow kzantow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @neilnaveen this PR stills seems to be missing a number of changes from the original PR: https://github.com/spdx/tools-golang/pull/153/files it also does not include the aliases in the spdx package, are you able to fix this?

Signed-off-by: Neil Naveen <42328488+neilnaveen@users.noreply.github.com>
@neilnaveen
Copy link
Copy Markdown
Contributor Author

Hi @neilnaveen this PR stills seems to be missing a number of changes from the original PR: https://github.com/spdx/tools-golang/pull/153/files it also does not include the aliases in the spdx package, are you able to fix this?

I have added aliases into spdx/model.go. Could you also tell me which changes I have not added in this PR that was in #153?

@neilnaveen neilnaveen requested a review from kzantow February 9, 2023 18:21
@kzantow kzantow merged commit cdce85b into spdx:main Feb 9, 2023
neilnaveen added a commit to neilnaveen/tools-golang that referenced this pull request Feb 13, 2023
Signed-off-by: Neil Naveen <42328488+neilnaveen@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants