This PR improves the allow and deny lists by turning them into dicts of this structure:
{
"name": "version"
}
Where version may be null or a regex version. Additionally, the allowlist has been changed - no longer does the allowlist take precedence, instead the allowlist should be used to pin particular versions of a package. For instance, setting
"allowlist": {
"Zoom": "9.*"
}
pins Zoom to 9.x versions - only they will be promoted. To blanket deny promotion to a pkg, the denylist can be used with a null value (or "all") for version.
Also in this PR I've replaced deprecated methods called on plistlib and logger.
This PR improves the allow and deny lists by turning them into dicts of this structure:
Where
version
may be null or a regex version. Additionally, the allowlist has been changed - no longer does the allowlist take precedence, instead the allowlist should be used to pin particular versions of a package. For instance, settingpins Zoom to 9.x versions - only they will be promoted. To blanket deny promotion to a pkg, the denylist can be used with a null value (or "all") for version.
Also in this PR I've replaced deprecated methods called on plistlib and logger.