Here is the diff for moving "active" back to SeriesMixin.
I have pushed these changes.
After pulling the changes, can you please try to run this test on you computer:
bin/test --layer=WindmillLayer -t programming_languages_edit -t title_inline_edit -t product_edit_people_driver -t product_edit_people_owner -t project_licenses -t test_timeline_graph
Many thanks!
=== modified file 'lib/lp/registry/interfaces/distroseries.py'
--- lib/lp/registry/interfaces/distroseries.py 2010-03-09 12:37:25 +0000
+++ lib/lp/registry/interfaces/distroseries.py 2010-03-12 17:49:47 +0000
@@ -165,12 +165,6 @@ description=_( "The title of this series. It should be distinctive " "and designed to look good at the top of a page.")))
- active = exported(Bool(
- title=_("Active"),
- description=_(
- "Whether or not this series is stable and supported, or "
- "under current development. This excludes series which "
- "are experimental or obsolete.")))
description = exported( Description(title=_("Description"), required=True, description=_("A detailed description of this series, with "
+ active = exported(Bool(
+ title=_("Active"),
+ description=_(
+ "Whether or not this series is stable and supported, or "
+ "under current development. This excludes series which "
+ "are experimental or obsolete.")))
+
summary = exported( Summary(title=_("Summary"), description=_('A single paragraph that explains the goals of '
@@ -110,7 +117,6 @@ readonly=True, value_type=Reference(schema=IPerson)))
-
bug_supervisor = CollectionField( title=_('Currently just a reference to the parent bug ' 'supervisor.'),
Here is the diff for moving "active" back to SeriesMixin.
I have pushed these changes.
After pulling the changes, can you please try to run this test on you computer: WindmillLayer -t programming_ languages_ edit -t title_inline_edit -t product_ edit_people_ driver -t product_ edit_people_ owner -t project_licenses -t test_timeline_graph
bin/test --layer=
Many thanks! registry/ interfaces/ distroseries. py' registry/ interfaces/ distroseries. py 2010-03-09 12:37:25 +0000 registry/ interfaces/ distroseries. py 2010-03-12 17:49:47 +0000
descripti on=_(
"The title of this series. It should be distinctive "
"and designed to look good at the top of a page.")))
Description( title=_ ("Description" ), required=True,
descripti on=_("A detailed description of this series, with "
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -165,12 +165,6 @@
- active = exported(Bool(
- title=_("Active"),
- description=_(
- "Whether or not this series is stable and supported, or "
- "under current development. This excludes series which "
- "are experimental or obsolete.")))
description = exported(
=== modified file 'lib/lp/ registry/ interfaces/ series. py' registry/ interfaces/ series. py 2010-03-08 09:34:22 +0000 registry/ interfaces/ series. py 2010-03-12 17:50:01 +0000 IHasDrivers) :
--- lib/lp/
+++ lib/lp/
@@ -92,6 +92,13 @@
class ISeriesMixin(
"""Methods & properties shared between distro & product series."""
+ active = exported(Bool(
Summary( title=_ ("Summary" ),
description= _('A single paragraph that explains the goals of '
readonly= True,
value_ type=Reference( schema= IPerson) ))
+ title=_("Active"),
+ description=_(
+ "Whether or not this series is stable and supported, or "
+ "under current development. This excludes series which "
+ "are experimental or obsolete.")))
+
summary = exported(
@@ -110,7 +117,6 @@
-
title= _('Currently just a reference to the parent bug '
'supervisor. '),
bug_supervisor = CollectionField(
=== modified file 'lib/lp/ registry/ model/distroser ies.py' registry/ model/distroser ies.py 2010-03-09 12:37:25 +0000 registry/ model/distroser ies.py 2010-03-12 17:50:16 +0000
intermediateT able='SectionSe lection' )
--- lib/lp/
+++ lib/lp/
@@ -182,15 +182,6 @@
@property DEVELOPMENT, FROZEN, CURRENT, SUPPORTED, self):
- def active(self):
- return self.status in [
- SeriesStatus.
- SeriesStatus.
- SeriesStatus.
- SeriesStatus.
- ]
-
- @property
def named_version(
return '%s (%s)' % (self.displayname, self.version)
=== modified file 'lib/lp/ registry/ model/series. py' registry/ model/series. py 2010-03-08 09:34:22 +0000 registry/ model/series. py 2010-03-12 17:50:23 +0000 notNull= True)
--- lib/lp/
+++ lib/lp/
@@ -25,6 +25,15 @@
summary = StringCol(
@property DEVELOPMENT, FROZEN, CURRENT, SUPPORTED, self): bug_supervisor
+ def active(self):
+ return self.status in [
+ SeriesStatus.
+ SeriesStatus.
+ SeriesStatus.
+ SeriesStatus.
+ ]
+
+ @property
def bug_supervisor(
"""See `ISeriesMixin`."""
return self.parent.
=== modified file 'lib/lp/ registry/ stories/ webservice/ xx-project- registry. txt' registry/ stories/ webservice/ xx-project- registry. txt 2010-03-08 12:23:03 +0000 registry/ stories/ webservice/ xx-project- registry. txt 2010-03-12 17:56:15 +0000
--- lib/lp/
+++ lib/lp/
@@ -817,6 +817,7 @@
>>> babadoo_foobadoo = webservice. get('/babadoo/ foobadoo' ).jsonBody( ) entry(babadoo_ foobadoo) milestones_ collection_ link: u'http:// .../babadoo/ foobadoo/ active_ milestones' milestones_ collection_ link: u'http:// .../babadoo/ foobadoo/ all_milestones' .../~babadoo- owner/babadoo/ fooey'
>>> pprint_
+ active: True
active_
all_
branch_link: u'http://