Skip to content

Add unpackaged files (OLD) - #1

Closed
bjamesv wants to merge 18 commits into
mainfrom
add-unpackaged-files1
Closed

bjamesv wants to merge 18 commits into
mainfrom
add-unpackaged-files1

Conversation

@bjamesv

@bjamesv bjamesv commented May 25, 2022 •

Copy link
Copy Markdown

Add Files without associated packages, as allowed by the spec but not currently supported in Document class.

  • unpackaged Files data model
  • tag/value Writer, Parser & tests
  • RDF Writer, Parser & tests
  • JSON-yaml-XML Writer, Parser & tests

Also leverages the unpackaged Files data model, to fix rdf parser bug where every referencesFile are incorrectly added to the last-listed Package.

Resolves spdx/tools-python #181

Signed-off-by: Brandon J. Van Vaerenbergh brandon@finitestate.io

@bjamesv bjamesv added the enhancement New feature or request label May 25, 2022
@bjamesv
bjamesv marked this pull request as ready for review June 13, 2022 19:32

@njv299 njv299 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looking really good. Nice and clean changes that add the intended functionality without making any sweeping, potentially-controversial modifications.

Just a few nit-picky comments or suggestions for wording that might be a bit clearer. Happy to approve when you see fit 👍🏻

Comment thread spdx/document.py Resolved
Comment thread spdx/document.py Resolved
Comment thread spdx/parsers/rdf.py Resolved
Comment thread spdx/parsers/rdf.py Resolved
Comment thread spdx/parsers/tagvaluebuilders.py Resolved
@bjamesv bjamesv changed the title Add unpackaged files Add unpackaged files (OLD) Jun 13, 2022
@bjamesv

bjamesv commented Jun 13, 2022

Copy link
Copy Markdown
Author

Changes made + squashed to new branch, see PR #2

@bjamesv bjamesv closed this Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Files without an associated Package allowed by spec, but not supported in Document class

2 participants