You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Iam little bit confused with packages filtering. Plugin exclude_platfrom work well for py versions and 4 main platforms. Can I also blocklist/filter aarch64 and win32 packages or which filter I should use?
Thank you.
The text was updated successfully, but these errors were encountered:
Platform/Python-specific binaries filtering
This filter allows advanced users not interesting in Windows/macOS/Linux specific binaries to not mirror the corresponding files.
You can also exclude Python versions by their minor version (ex. Python 2.6, 2.7) if you’re sure your mirror does not need to serve these binaries.
[plugins]
enabled =
exclude_platform
[blocklist]
platforms =
windows
py2.6
py2.7
Available platforms are:
windows
macos
freebsd
linux
Available python versions are:
py2.4 ~ py2.7
py3.1 ~ py3.10
Yes, I use this plugin and blocklist filter. It works very well as excepted for python versions, macos and freebsd.
But I can't filter aarch64 or win32 packages.
Thank You very much.
I wouldn't be surprised of bug(s) existing here. A lot of plugins have been community contributed and had little involvement from any core bandersnatch developer (me). Debug logging and running a local build of bandersnatch with more logging to workout why there are not working is probably needed here. Another way would be to improve our plugin unittests as at the end of the day it's just checking metadata in a way to workout if we download a package or not.
As always, a PR fixing, with unittests, would be accepted.
Hi,
Iam little bit confused with packages filtering. Plugin exclude_platfrom work well for py versions and 4 main platforms. Can I also blocklist/filter aarch64 and win32 packages or which filter I should use?
Thank you.
The text was updated successfully, but these errors were encountered: