yeti
yeti copied to clipboard
Incorrect export
trafficstars
My export setting
Result
These IP's without "old" tag
In fact I have "old" tag in 99% cases, but it is expired and should not affect the export
But YETI still use it (doesn't matter fresh or not)
Probably export.py should be fixed something like that
for t in self.exclude_tags:
q_exclude |= Q(tags__match__ne={"name": t.name, "fresh": True})
On https://github.com/yeti-platform/yeti/blob/fcd3ee3d3d064df772d0392c20c22aad2bc4c8e6/core/exports/export.py#L120
Thomas and me decided that it would be best to take into export the freshness of the tag (smthg like in my example), but add the ability to export by expired tags, too (as a BooleanField like "only consider fresh tags in include and exclude")