Example #1
0
 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
Example #2
0
 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
Example #3
0
 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()
Example #4
0
 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()