Lines Matching defs:Upgrader
89 class Upgrader:
124 Upgrader.tag_set.add(self.tag)
130 Upgrader.untag_set.add(self.tag)
136 Upgrader.legacy[self.legacy_version] = self
138 Upgrader.by_tag[self.tag] = self
158 return Upgrader.by_tag[tag]
165 Upgrader(py)
169 while i in Upgrader.legacy:
170 Upgrader.legacy[i].depends = [Upgrader.legacy[i-1].tag]
174 for tag, upg in Upgrader.by_tag.items():
176 if fd not in Upgrader.by_tag:
180 Upgrader.by_tag[fd].depends.append(tag)
182 if dep not in Upgrader.by_tag:
218 tags.add(Upgrader.legacy[i].tag)
233 unknown_tags = tags - (Upgrader.tag_set | Upgrader.untag_set)
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)
282 Upgrader.load_all()
290 for tag in Upgrader.tag_set: