Lines Matching refs:tags
60 # It is also possible to use this mechanism to revert prior tags. In this
67 # Dependencies between tags are expressed by two variables at the top-level
91 untag_set = set() # tags to remove by downgrading
140 def ready(self, tags):
142 if dep not in tags:
146 def update(self, cpt, tags):
149 tags.add(self.tag)
153 tags.remove(self.tag)
215 # convert to list of tags before proceeding
216 tags = set([])
218 tags.add(Upgrader.legacy[i].tag)
219 verboseprint("performed legacy version -> tags conversion")
224 tags = set((''.join(cpt.get('Globals','version_tags'))).split())
229 verboseprint("has tags", ' '.join(tags))
233 unknown_tags = tags - (Upgrader.tag_set | Upgrader.untag_set)
236 "tags in this checkpoint:", ' '.join(unknown_tags)
238 # Apply migrations for tags not in checkpoint and tags present for which
240 to_apply = (Upgrader.tag_set - tags) | (Upgrader.untag_set & tags)
242 ready = set([ t for t in to_apply if Upgrader.get(t).ready(tags) ])
249 Upgrader.get(tag).update(cpt, tags)
258 cpt.set('Globals', 'version_tags', ' '.join(tags))
276 # used during build; generate src/sim/tags.cc and exit