pyramid/bodhi/bodhi/models/enum.py | 1 +
pyramid/bodhi/bodhi/models/models.py | 12 ++++++++++++
2 files changed, 13 insertions(+)
New commits:
commit baac10a489dac3256bb9569469bbf8427dab5b9e
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu May 12 13:47:49 2011 -0400
basics of a Stack
diff --git a/pyramid/bodhi/bodhi/models/enum.py b/pyramid/bodhi/bodhi/models/enum.py
index f113c57..508540a 100644
--- a/pyramid/bodhi/bodhi/models/enum.py
+++ b/pyramid/bodhi/bodhi/models/enum.py
@@ -24,6 +24,7 @@ class EnumSymbol(object):
def __repr__(self):
return "<%s>" % self.name
+
class EnumMeta(type):
"""Generate new DeclEnum classes."""
diff --git a/pyramid/bodhi/bodhi/models/models.py b/pyramid/bodhi/bodhi/models/models.py
index e2674ac..2622dc7 100644
--- a/pyramid/bodhi/bodhi/models/models.py
+++ b/pyramid/bodhi/bodhi/models/models.py
@@ -941,6 +941,18 @@ class Bug(Base):
return "%s/show_bug.cgi?id=%s" % (config.get('bz_baseurl'),
self.bug_id)
+#class Stack(Base):
+# """
+# A Stack in bodhi represents a group of packages that are commonly pushed
+# together as a group.
+# """
+# # name
+# # packages = Many to many?
+# # updates
+
+
+
+
class MyApp(object):
__name__ = None
__parent__ = None
Show replies by date