Add utilities for finding channels, releases and rules in packages.
Review Request #7725 — Created Oct. 22, 2015 and submitted
This adds a handful of utility functions that make it easy to get data on packages that match certain criteria, such as rules that match a version and the current system, or the current release channel. Unit tests were added for each of these cases.
Unit tests pass.
Used these in a custom command that tested this functionality.
Description | From | Last Updated |
---|---|---|
lists rules? |
david |
-
Tool: Pyflakes Processed Files: rbpkg/repository/package_rules.py rbpkg/repository/tests/test_package_bundle.py rbpkg/repository/tests/test_package_channel.py rbpkg/repository/package_channel.py rbpkg/repository/package_bundle.py rbpkg/repository/tests/test_package_rules.py Tool: PEP8 Style Checker Processed Files: rbpkg/repository/package_rules.py rbpkg/repository/tests/test_package_bundle.py rbpkg/repository/tests/test_package_channel.py rbpkg/repository/package_channel.py rbpkg/repository/package_bundle.py rbpkg/repository/tests/test_package_rules.py
-
Tool: Pyflakes Processed Files: rbpkg/repository/package_rules.py rbpkg/repository/tests/test_package_bundle.py rbpkg/repository/tests/test_package_channel.py rbpkg/repository/package_channel.py rbpkg/repository/package_bundle.py rbpkg/repository/tests/test_package_rules.py Tool: PEP8 Style Checker Processed Files: rbpkg/repository/package_rules.py rbpkg/repository/tests/test_package_bundle.py rbpkg/repository/tests/test_package_channel.py rbpkg/repository/package_channel.py rbpkg/repository/package_bundle.py rbpkg/repository/tests/test_package_rules.py