-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
breaking changes ------------------ * Reworked license related models and collections * API * Removed class `factory.license.LicenseChoiceFactory` The old functionality was integrated into `factory.license.LicenseFactory`. * Method `factory.license.LicenseFactory.make_from_string()`'s parameter `name_or_spdx` was renamed to `value` * Method `factory.license.LicenseFactory.make_from_string()`'s return value can also be a `LicenseExpression` The behavior imitates the old `factory.license.LicenseChoiceFactory.make_from_string()` * Renamed class `module.License` to `module.license.DisjunctliveLicense` * Removed class `module.LicenseChoice` Use dedicated classes `module.license.DisjunctliveLicense` and `module.license.LicenseExpression` instead * All occurrences of `models.LicenseChoice` were replaced by `models.licenses.License` * All occurrences of `SortedSet[LicenseChoice]` were specialized to `models.license.LicenseRepository` fixes ------------------ * serialization of multy-licenses #365 added ------------------ * API * Method `factory.license.LicenseFactory.make_with_expression()` * Class `model.license.DisjunctiveLicense` * Class `model.license.LicenseExpression` * Class `model.license.LicenseRepository` * Class `serialization.LicenseRepositoryHelper` tests ------------------ * added regression test for bug #365 misc ------------------ * raised dependency `py-serializable@^9.15` ---- fixes #365 ~~BLOCKED by a feature request to serializer: <https://github.com/madpah/serializable/pull/32>~~ --------- Signed-off-by: Jan Kowalleck <[email protected]>
- Loading branch information
1 parent
1e963bd
commit 6770786
Showing
121 changed files
with
2,504 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.