TurboGears Upgrade
by Toshio Kuratomi
Hello developers,
We're hoping to upgrade TurboGears on the Fedora Infrastructure app
servers next week due to security concerns addressed by a newer version[1]_.
As a first step in this, I'll be installing TurboGears-1.0.3 and
necessary dependencies on publictest1 tomorrow for people to test on.
If you have a TurboGears application active on app3 and app4, please
test that it functions on publictest1 this week so that we're ready to
upgrade next week.
Luke Macken has already upgraded the Bodhi instance to the new TG and
reports that it was a smooth process with no needed changes to Bodhi's code.
.. [1]: https://hosted.fedoraproject.org/projects/bodhi/ticket/87
-Toshio
15 years, 5 months
Moin: Same old crap
by Mike McGrath
Its been a few months since we looked into page saves. Deleting
thousands of users did help but it only masked the problem. Has anyone
heard of any patches from the moin team regarding speeding up or
indexing page saves?
-Mike
15 years, 5 months
Mirrormanager validator patch
by Warren Togami
Trivial changes to MM to get it to work on F8 Turbogears. Thanks to
lmacken.
Warren Togami
wtogami(a)redhat.com
diff --git a/mirrors/mirrors/controllers.py b/mirrors/mirrors/controllers.py
index 6aec95c..1c0c768 100644
--- a/mirrors/mirrors/controllers.py
+++ b/mirrors/mirrors/controllers.py
@@ -230,7 +230,7 @@ class SiteToSiteFields(widgets.WidgetsList):
def get_sites_options():
return [(s.id, s.name) for s in Site.select(orderBy='name')]
- sites = widgets.MultipleSelectField(options=get_sites_options, size=15)
+ sites = widgets.MultipleSelectField(options=get_sites_options,
size=15, validator=validators.NotEmpty())
site_to_site_form = widgets.TableForm(fields=SiteToSiteFields(),
@@ -406,7 +406,7 @@ class HostController(controllers.Controller,
identity.SecureResource, content):
class HostCategoryFieldsNew(widgets.WidgetsList):
def get_category_options():
return [(c.id, c.name) for c in Category.select(orderBy='name')]
- category = widgets.SingleSelectField(options=get_category_options)
+ category = widgets.SingleSelectField(options=get_category_options,
validator=validators.NotEmpty())
admin_active = widgets.CheckBox(default=True, help_text="unused")
user_active = widgets.CheckBox(default=True, help_text="Clear to
temporarily disable this category")
upstream =
widgets.TextField(validator=validators.Any(validators.UnicodeString,validators.Empty),
attrs=dict(size='30'), help_text='e.g.
rsync://download.fedora.redhat.com/fedor
@@ -920,7 +920,7 @@ class VersionFields(widgets.WidgetsList):
def get_products_options():
return [(p.id, p.name) for p in Product.select(orderBy='name')]
- product = widgets.SingleSelectField(options=get_products_options)
+ product =
widgets.SingleSelectField(options=get_products_options,validator=validators.NotEmpty())
name = widgets.TextField(validator=validators.UnicodeString,
attrs=dict(size='30'))
isTest = widgets.CheckBox(label="is a Test release")
display = widgets.CheckBox(label="display in the publiclist
chooser", default=True)
15 years, 5 months