-
Notifications
You must be signed in to change notification settings - Fork 137
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
Latest x packages breaks pinned version functionality #1599
Comments
…rsion filtering is applied
Thanks for proposing and looking into this. We've never prioritized getting plugin's ordering correct so we apply correctly as it really increases the complexity of the plugin system, as you're seeing. I like the sounds of checking if there are specific per package version ranges etc. and exempting them from the keep option. If you could prove this all works with unit tests it will increase my ability to merge this efficiently. I'd even accept adding this to the integration tests we run too.
|
…rsion filtering is applied (remove commented code)
…ering as well as clarifying comments in documentation
…rsion filtering is applied
…rsion filtering is applied (remove commented code)
…ering as well as clarifying comments in documentation
* #1599 - disable additional package version filtering if pinned version filtering is applied * #1599 - disable additional package version filtering if pinned version filtering is applied (remove commented code) * #1599 - add unit test for combined pinned and latest version filtering as well as clarifying comments in documentation * #1599 - add changelog entry for combined pinned and latest version filtering * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/bandersnatch_filter_plugins/allowlist_name.py * #1599 - clean added unit test --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Cooper Lees <me@cooperlees.com>
My usecase
Problem
Because all filters are applied in a loop in
package.py
, the last X versions plugin wins and older required versions are not downloaded:Possible solution
Since I need this functionality quite urgently, I would create a "work in progress" PR with solution 2. If you have some additional ideas or requirements, I would adjust it accordingly.
The text was updated successfully, but these errors were encountered: