flyingcircusio / batou

batou is a universal, fractal deployment utility using Python.
https://batou.readthedocs.org
Other
47 stars 12 forks source link

Change Environment.filter logic #439

Closed elikoga closed 5 months ago

elikoga commented 5 months ago

Previously, if the filter ran out of filter elements but there are still environments left, they get silently added. Apparently, due to file system ordering this was previously masked in all tests

Unless this was intended previously?

https://github.com/flyingcircusio/batou/commit/37c542fddc4175770f785d3191a606be51279668#diff-b59e4ac305b8d689da39dd33337351920c23860934a20f8f10e13352734f78d0R53-R63

This was used to provide the semantic: "If no filter is provided, all environments are meant". Now it's an explicit path