1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
from buildstream import Source, Consistency class BarSource(Source): BST_FORMAT_VERSION = 5 def preflight(self): pass def configure(self, node): pass def get_consistency(self): return Consistency.INCONSISTENT def setup(): return BarSource