-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Prepare Release 31.b5 #2962
Prepare Release 31.b5 #2962
Commits on May 13, 2022
-
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for ce58241 - Browse repository at this point
Copy the full SHA ce58241View commit details -
Add new methods to collect package files
Either with Package.get_packages_files(codebase) to get the files of a package in a codebase, or with get_files_for_packages(codebase) to list all the files and the package_uid they belong to. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 07df33c - Browse repository at this point
Copy the full SHA 07df33cView commit details -
Recognize either app or system packages or both
This way it is possible to focus a scan only on some packages types and not always boil the ocean. For this we now have two lists of DatafileHandlers: one for system packages and one for application packages. The new UX is to have a change in the command line options: --package detects only application packages (which basically is what it was doing in the previous release) --system-package is new and detects only system packages. These two options can be combined to detect all package types. Several functions now accept new "application=True, system=False" arguments Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 4d0a38b - Browse repository at this point
Copy the full SHA 4d0a38bView commit details -
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 7062b3b - Browse repository at this point
Copy the full SHA 7062b3bView commit details
Commits on May 14, 2022
-
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 69c17ce - Browse repository at this point
Copy the full SHA 69c17ceView commit details -
Use new DATAFILE_HANDLERS in doc and code
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 59b6ce3 - Browse repository at this point
Copy the full SHA 59b6ce3View commit details
Commits on May 16, 2022
-
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 69a86a8 - Browse repository at this point
Copy the full SHA 69a86a8View commit details -
Use pre-released version of commoncode
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 6731d24 - Browse repository at this point
Copy the full SHA 6731d24View commit details -
Use new resource for license reference
The new commoncode.resource has an efficient get_resource() function to lookup a resource by path. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 27fb42e - Browse repository at this point
Copy the full SHA 27fb42eView commit details -
Always strip leading and trailing slahes from paths. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for e0f9167 - Browse repository at this point
Copy the full SHA e0f9167View commit details -
Bump commoncode to latest beta2
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for b82c5de - Browse repository at this point
Copy the full SHA b82c5deView commit details -
Also set the correct output format version to 2.0. The latest version was 1.0 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 7c1ea0d - Browse repository at this point
Copy the full SHA 7c1ea0dView commit details -
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 9a78cd7 - Browse repository at this point
Copy the full SHA 9a78cd7View commit details
Commits on May 17, 2022
-
Fix code syntax in deprecated code
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 4eaeb73 - Browse repository at this point
Copy the full SHA 4eaeb73View commit details -
Adjust help test for new --system-package option
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 2e7afc4 - Browse repository at this point
Copy the full SHA 2e7afc4View commit details -
Drop using Codebase(strip_root)
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 44c209a - Browse repository at this point
Copy the full SHA 44c209aView commit details -
Do not use removed Resource.pid
Use instead Resource.has_parent() Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 040d3ae - Browse repository at this point
Copy the full SHA 040d3aeView commit details -
Thete are new path prefixes added to each merged codebase Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 9dcc1ff - Browse repository at this point
Copy the full SHA 9dcc1ffView commit details -
Adapt datafile_path handling to new Resource.path
We need to adopt a different approach when a codebase has a single resource and when the scan is done with "strip_root" which is a common case in tests. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for f4f1564 - Browse repository at this point
Copy the full SHA f4f1564View commit details -
Bump plugincode and commoncode
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 4b1fa75 - Browse repository at this point
Copy the full SHA 4b1fa75View commit details -
Rename debian system-package tests
* Also use the --system-package option correctly Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 7cfe7c7 - Browse repository at this point
Copy the full SHA 7cfe7c7View commit details -
Rename win_reg system-package tests
* Also use the --system-package option correctly * Remove/rename dangling JSON expected test results file Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 22c2007 - Browse repository at this point
Copy the full SHA 22c2007View commit details -
Use the --system-package option correctly
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 6c825a5 - Browse repository at this point
Copy the full SHA 6c825a5View commit details -
Detect alpine installed packages end-to-end
AlpineInstalledDatabaseHandler.parse was making an incorrect call and was not tested. This is now tested with a mock rootfs extracted from a recent Alpine docker image and called correctly. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 4f9affd - Browse repository at this point
Copy the full SHA 4f9affdView commit details -
Improve how we search for Windows roots
resourec.parent can be null so we better guard against this. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 050a76d - Browse repository at this point
Copy the full SHA 050a76dView commit details -
Pin commoncode and plugincode for now
Until the beta cycle is completed Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for a035084 - Browse repository at this point
Copy the full SHA a035084View commit details -
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 80a46b6 - Browse repository at this point
Copy the full SHA 80a46b6View commit details -
Ensure we can detect installed RPMs end to end
- Ensure we correctly dela with installed RPM dbs in BaseRpmInstalledDatabaseHandler.parse() and BaseRpmInstalledDatabaseHandler.assemble() with the new commoncode. In particular lookup the Codebase Resources by path directly and properly search and tag file_references and missing_file_references. - Add en to end test with a mock Fedora rootfs - Add minimal, incomplete support for RPM distros in distro.py - and other misc. code formatting and minor documentation updates. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 455c1ac - Browse repository at this point
Copy the full SHA 455c1acView commit details -
Do not check headers in RPM tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Configuration menu - View commit details
-
Copy full SHA for 3ed8e7f - Browse repository at this point
Copy the full SHA 3ed8e7fView commit details