def makeSnapshotWithOptions(self, name, **options): tago = self.cm_make_proxy_object(tag, name) tago.commit = sha_for(cm) if options.has_key["annotation"]: tago.annotation = options["annotation"] if options.has_key["meta"]: tago.meta = options["meta"] tago.exists() and tago.update() or tago.create() return tago
def activateConfig(self): tago = self.cm.make_proxy_object(tag, "current") tago.meta = {"validated" : True} tago.commit = sha_for(self.cm) tago.exists() and tago.update() or tago.create()
def activateConfig(self): tago = self.cm.make_proxy_object(tag, "current") tago.meta = {"validated": True} tago.commit = sha_for(self.cm) tago.exists() and tago.update() or tago.create()