Skip to content

Conversation

@goneall
Copy link
Member

@goneall goneall commented Jul 23, 2024

This is a HUGE pull request with a lot of breaking changes.

There are a number of additional dependent libraries which I plan to move to the SPDX github repo in the near future, so this is currently marked as a draft.

If you do want to attempt to compile and test, the additional repos are at github.com/goneall.

I'll update once the other repos are moved over.

goneall added 30 commits July 10, 2023 16:39
This is a breaking change.
Change the storage interface to use a PropertyDescriptor type which
includes both a property name and a namespace.  This prevents property
name collisions which will occur in the SPDX v3 model update.

To update any code which uses the storage interface, change the property
name to PropertyDescriptor for all calls to the interface which used
propertyName.

The constants have been updated to use the PropertyDescriptor type which
should minimize the amount of change.

Signed-off-by: Gary O'Neall <[email protected]>
Still many unit tests are failing - but at least it compiles.
Change the storage interface to use object URI's - getting rid of
the requirement for SPDX document containers - causes a major
redesign

Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
All unit tests pass except compares

Signed-off-by: Gary O'Neall <[email protected]>
Still some unit test failures in compare

Signed-off-by: Gary O'Neall <[email protected]>
All unit tests now pass

Signed-off-by: Gary O'Neall <[email protected]>
Unit tests are currently placeholders

Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Now compiles - unit test are currently failing

Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
@goneall goneall marked this pull request as draft July 23, 2024 04:29
goneall added 14 commits July 23, 2024 11:25
Change ModelCopyManager to remove type parameter

Signed-off-by: Gary O'Neall <[email protected]>
Implementation is not complete - this is an intermediate checkin

Signed-off-by: Gary O'Neall <[email protected]>
Required an update of the SPDX model 3 which renamed a few
fields.

There are 2 to the treatment of the external licenses:
- Uses a ID map rather than the SPDX document as a parameter
- Passes in the appropriate types

Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Also fixes unit tests broken by the move of the compatible storage
manager

Signed-off-by: Gary O'Neall <[email protected]>
@goneall goneall marked this pull request as ready for review September 5, 2024 00:51
Signed-off-by: Gary O'Neall <[email protected]>
After attempting to fix - fixed several, but many missing remain

Signed-off-by: Gary O'Neall <[email protected]>
@goneall
Copy link
Member Author

goneall commented Sep 5, 2024

@pmonks - This is probably way to big of a pull request to review, but if you're available for a quick sanity check - I plan on merging and cutting an "Alpha" release of the library this week.

The upgrade documentation describes some of the changes.

@pmonks
Copy link
Collaborator

pmonks commented Sep 5, 2024

@goneall I'm on vacation with limited cell / wifi until Sept 11th, but will be back then. Maybe go ahead with the alpha (which I can also test when I get back in my own code), and I'll prioritise a review as soon as I can?

@goneall
Copy link
Member Author

goneall commented Sep 5, 2024

@goneall I'm on vacation with limited cell / wifi until Sept 11th, but will be back then. Maybe go ahead with the alpha (which I can also test when I get back in my own code), and I'll prioritise a review as soon as I can?

@pmonks - I'll go ahead with the Alpha. I'll also sign up a couple other users of the library for a review after the alpha release. Enjoy your vacation!

@goneall goneall merged commit 0c34285 into master Sep 5, 2024
@goneall goneall deleted the v3-prototype branch September 5, 2024 15:21
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