New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine and simplify Package models #275
Comments
From #241 |
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* Add new PackageIdentifier class for #805 as Package property and as discrete type:namespace/name@version?qualifiers#path fields * Improved DependentPackage definitions using a package idenitifier and simpler flags. Do not use a mapping per scope anymore. * Improve related packages definitions with a PackageRelationship class using from/to package identifiers * Add OrderedDictType for schematics * Remove unused Package methods for versions Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* Support PackageIdentifier class for #805 as Package property and as discrete type:namespace/name@version?qualifiers#path fields * Improved DependentPackage definitions using a package idenitifier and simpler flags. Do not use a mapping per scope anymore. * Improve related packages definitions with a PackageRelationship class using from/to package identifiers Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* is_runtime defaults to True * is_resolved and is_optional default to False * also improve scope handling for maven poms and other cosmetics Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* migrated from scancode-toolkit-contrib Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* migrated from scancode-toolkit-contrib Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* migrated from scancode-toolkit-contrib Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* migrated from scancode-toolkit-contrib Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* this is otherwsie gitignored Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* also renamed the info function to pe_info Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* as specified at https://github.com/package-url/purl-spec * at the package, dependencies and related levels * rename path to subpath to conform with purl * not directly tested for now Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* This is a first rough implmentation using https://github.com/package-url/packageurl-python * Based on package-url/purl-spec#1 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* this is an early release that implements the to-be spec at package-url/purl-spec#31 * update tests accordingly Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* handle namespace for npm scoped packages properly * add missing description to npm * Add new package attributes default_web_baseurl, default_download_baseurl and default_api_baseurl and the corresponding methods to override in subclasses * Improve npm URLs computation and implement these methods. * Other minor refinements. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* these come from the latest rebase on develop Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Using "licensing" rather than license makes it clear that this is not a normalized scancode "license" but is instead the original, as "asserted" or "declared" licensing in a package manifest. Declared is the term used by SPDX. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This is completed and merged in develop. |
This commit adds in setup.py |
@jhgoebbert good point. That's never been a released version on Pypi! |
Thanks ... This is now tracked in #1183 |
Things that need to be corrected:
We need a few more types and change some types:
Some extra data fields needed too:
Or should be retired:
The text was updated successfully, but these errors were encountered: