[TurboGears] Add a text file describing porting from 1.0 to 1.1

Toshio くらとみ toshio at fedoraproject.org
Tue Jan 18 01:32:31 UTC 2011


commit e4361bcb3f504e37f35ff158dc2b52827aa16cbc
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Mon Jan 17 17:32:07 2011 -0800

    Add a text file describing porting from 1.0 to 1.1

 TurboGears.spec     |    3 ++-
 porting-1.0-1.1.txt |   23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/TurboGears.spec b/TurboGears.spec
index c896573..ebabeee 100644
--- a/TurboGears.spec
+++ b/TurboGears.spec
@@ -130,7 +130,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(0644,root,root,0755)
-%doc CHANGELOG.txt LICENSE.txt
+%doc CHANGELOG.txt LICENSE.txt porting-1.0-1.1.txt
 %attr(0755,root,root) %{_bindir}/tg-admin
 %{python_sitelib}/%{name}-%{version}-py*.egg-info/
 %{python_sitelib}/turbogears/
@@ -138,6 +138,7 @@ rm -rf %{buildroot}
 %changelog
 * Mon Jan 17 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 1.1.2-2
 - Changes to allow the package to run on RHEL6.
+- Add a text file with tips for porting from 1.0 to 1.1
 
 * Sat Dec 25 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.1.2-1
 - Update to upstream 1.1.2
diff --git a/porting-1.0-1.1.txt b/porting-1.0-1.1.txt
new file mode 100644
index 0000000..402e7c9
--- /dev/null
+++ b/porting-1.0-1.1.txt
@@ -0,0 +1,23 @@
+TurboGears-1.1.x is supposed to be compatible with TurboGears-1.0.x but we've
+run into several problems in the apps we've written in Fedora.  This file lists
+the known incompatibilities and how to fix them.
+
+IdentityWrapper has moved
+=========================
+
+turbogears.identity has been reorganized.  In particular,
+turbogears.identity.IdentityWrapper has been moved to
+turbogears.identity.base.IdentityWrapper
+
+Widget Change
+=============
+
+There's been changes to how widgets render.  In particular, when rendering a
+widget written in kid in a genshi template, the following code no longer
+works::
+    ${HTML(widget.render())}
+
+You can use this instead::
+    ${ET(widget.display())}
+
+


More information about the scm-commits mailing list