-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(model)!: Simplify the
CuratedPackage
and its creation
Historically, serialized ORT results contained entries for all `CuratedPackage`s. Back then, the list of `PackageCurationResult`, in particular the value of the `base` property, had been useful to trace back from which original value any curated package had been derived. Meanwhile, ORT results have been refactored to apply the package curations on-the-fly. This means that the serialized ORT result only contains the original, non-curated packages and the package curations separately, but no more the curated packages. So, in order to debug the derivation one can simply use break points in the function which applies the curation. That is why the `base` property is not needed anymore. So, remove the `base` property, which allows to also remove the `diff()` function as it was only needed to compute the `base`. This simplifies things, because the `diff` is not always straight forward to compute and make sense of. Note: It might make sense to add the `original` package as a separate property to `CuratedPackage`. Signed-off-by: Frank Viernau <[email protected]> Signed-off-by: Sebastian Schuberth <[email protected]>
- Loading branch information
1 parent
e7b8a3a
commit f9c7220
Showing
12 changed files
with
35 additions
and
251 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
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 was deleted.
Oops, something went wrong.
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
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 was deleted.
Oops, something went wrong.
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.