Add utilities for finding channels, releases and rules in packages.
Review Request #7725 — Created Oct. 22, 2015 and submitted — Latest diff uploaded
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.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
rbpkg/repository/package_bundle.py |
---|
rbpkg/repository/package_channel.py |
---|
rbpkg/repository/package_rules.py |
---|
rbpkg/repository/tests/test_package_bundle.py |
---|
rbpkg/repository/tests/test_package_channel.py |
---|
rbpkg/repository/tests/test_package_rules.py |
---|