Skip to content

Add multiple checksums - #311

Merged
meretp merged 13 commits into
spdx:mainfrom
meretp:add_multiple_checksums
Nov 28, 2022
Merged

meretp merged 13 commits into
spdx:mainfrom
meretp:add_multiple_checksums

Conversation

@meretp

@meretp meretp commented Nov 24, 2022

Copy link
Copy Markdown
Collaborator

Based on the contribution from @jotterson, thanks!

fixes #185

@meretp
meretp force-pushed the add_multiple_checksums branch 2 times, most recently from 5c29442 to 6cfafe1 Compare November 24, 2022 12:14
@meretp meretp changed the title WIP: Add multiple checksums Add multiple checksums Nov 24, 2022

@nicoweidner nicoweidner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Quite a few comments 😅
For comments that would require larger changes, please decide for yourself whether it still makes sense to incorporate them, in view of the upcoming refactor. We can also discuss that in a meeting

Comment thread spdx/checksum.py Resolved
Comment thread spdx/checksum.py Resolved
Comment thread spdx/checksum.py Resolved
Comment thread spdx/checksum.py Resolved
Comment thread spdx/cli_tools/parser.py Resolved
Comment thread tests/data/doc_parse/spdx-expected.json Resolved
Comment thread tests/data/doc_write/json-simple.json Resolved
Comment thread tests/test_document.py Resolved
Comment thread tests/utils_test.py Resolved
jotterson and others added 5 commits November 28, 2022 10:29
Signed-off-by: Jeffrey Otterson <otterson@yahoo.com>
Signed-off-by: Jeffrey Otterson <otterson@yahoo.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
@meretp
meretp force-pushed the add_multiple_checksums branch from 2422866 to 89c3f7b Compare November 28, 2022 09:44
nicoweidner
nicoweidner previously approved these changes Nov 28, 2022

@nicoweidner nicoweidner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I noticed a few more small things, but looks very good now!

Comment thread spdx/checksum.py Resolved
Comment thread spdx/checksum.py Resolved
Comment thread tests/test_checksum.py Resolved
Comment thread spdx/file.py Resolved
Comment thread spdx/package.py Resolved
Comment thread spdx/parsers/rdfbuilders.py Resolved
Comment thread spdx/parsers/rdfbuilders.py Resolved
Comment thread spdx/parsers/rdfbuilders.py Resolved
Comment thread spdx/parsers/tagvaluebuilders.py Resolved
Comment thread spdx/writers/tagvalue.py Resolved
@meretp
meretp force-pushed the add_multiple_checksums branch 2 times, most recently from a1ab8a9 to f830eba Compare November 28, 2022 12:53
nicoweidner
nicoweidner previously approved these changes Nov 28, 2022
Comment thread spdx/checksum.py Resolved
Comment thread spdx/checksum.py Resolved
Comment thread spdx/package.py Resolved
Comment thread spdx/parsers/rdfbuilders.py Resolved
nicoweidner
nicoweidner previously approved these changes Nov 28, 2022
Meret Behrens added 8 commits November 28, 2022 15:30
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
@meretp
meretp merged commit 72780a4 into spdx:main Nov 28, 2022
@meretp
meretp deleted the add_multiple_checksums branch November 28, 2022 15:39
@meretp meretp mentioned this pull request Nov 28, 2022
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.

Multiple checksums per entity allowed by spec, but not supported by FIle and Package classes

3 participants