Skip to content
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

whitelisting packages across versions #26

Closed
larsrinn opened this issue Jun 6, 2019 · 1 comment · Fixed by #27
Closed

whitelisting packages across versions #26

larsrinn opened this issue Jun 6, 2019 · 1 comment · Fixed by #27

Comments

@larsrinn
Copy link
Contributor

larsrinn commented Jun 6, 2019

Hey,

this is a great package, it just enriched our CI pipeline :)

Is it possible to whitelist packages without pinning them to specific versions? I presumed:

[Authorized Packages]
uuid: "*"

or

[Authorized Packages]
uuid: "<1.5"

but this wasn't working...

@ochedru
Copy link
Collaborator

ochedru commented Jun 7, 2019

I agree this is too restrictive. This should be quite straightforward to extend the version check in the check_package() function with e.g. python-semver. I'll try to put it together into a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants