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

Issue 197. Fix handling of optional package fields #198

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

AlexanderYukhanov
Copy link

No description provided.

@goneall
Copy link
Member

goneall commented Sep 6, 2023

It looks like your editor reformatted much of the changed files.

Could you make the changes without the changes to the white space?

FYI - We're using the default Eclipse 2.1 formatter which is set to tabs only, tab size of 4.

@AlexanderYukhanov
Copy link
Author

updating

@AlexanderYukhanov
Copy link
Author

Restored the surrounding formatting, please take another look

Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

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

Thanks @AlexanderYukhanov

I'll merge this in for the next release.

@@ -606,19 +603,13 @@ protected List<String> _verify(Set<String> verifiedIds, String specVersion) {

// files depends on if the filesAnalyzed flag
try {
if (getFiles().size() == 0) {
if (filesAnalyzed) {
Copy link
Member

Choose a reason for hiding this comment

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

I noticed we removed the check for files being present when files analyzed is true.

I went back and read the spec, and indeed there is no stated requirement that files be present - so this change is correct.

@goneall goneall merged commit b9902aa into spdx:master Sep 7, 2023
2 checks passed
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.

None yet

2 participants