[pootle] - Update to 2.1.0 - Improved performance, concurrency and memory consumption - UI improvements
dwayne
dwayne at fedoraproject.org
Wed Aug 18 13:05:03 UTC 2010
commit 0e3ca8383b00723ee3e62889f6725bb1ad28173d
Author: Dwayne Bailey <dwayne at translate.org.za>
Date: Wed Aug 18 15:04:19 2010 +0200
- Update to 2.1.0
- Improved performance, concurrency and memory consumption
- UI improvements for translators
- Machine translation
- Terminology extraction
- Formats: Support for monolingual formats without conversion
- Java properties
- Mac OSX strings
- PHP arrays
- Subtitle files
- Haiku catkeys
- Offline translation in XLIFF for all formats
- Reviewing suggestions offline with the XLIFF alt-trans tag
- New admin dashboard, contact form
- Captcha support to combat spam
- Several new batch operations via the command-line
- Require Django-south for database migration
.gitignore | 1 +
README.fedora | 20 ++++++++----
...s.patch => pootle-2.1.0-1-fedora-settings.patch | 12 ++++----
pootle.spec | 30 ++++++++++++++++---
sources | 2 +-
5 files changed, 46 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 191d921..ead95e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Pootle-2.0.3.tar.bz2
+/Pootle-2.1.0.tar.bz2
diff --git a/README.fedora b/README.fedora
index ca53fad..0f20f7b 100644
--- a/README.fedora
+++ b/README.fedora
@@ -7,7 +7,7 @@ specific information on Pootle.
0. Installation setup
- Database
-You can use sqlite (default) or MySQL. Sqlite requires no setup.
+You can use MySQL (recommended) or Sqlite. Sqlite requires no setup.
If you want to use MySQL then see section 3. below.
- Email
@@ -19,8 +19,8 @@ and DEFAULT_FROM_EMAIL in /etc/pootle/localsettings.py
Regardless of how you choose to run Pootle (see below) the first run
will be slow. This is because the Django database is initialised
-and the files statistics are generated. This is a once off event with
-subsequent operations being much faster.
+and the statistics are generated for all files. This is a once off
+event with subsequent operations being much faster.
To run Pootle you can use Apache or run Pootle standalone:
@@ -65,27 +65,33 @@ at http://translate.sourceforge.net/wiki/pootle/using_mysql
4. Further information
-4.1 Pootle and Version Control
+4.1 Command line power for Pootle
+
+A number of commands are available to help you batch process actions on Pootle
+as well as when building your own scripts.
+http://translate.sourceforge.net/wiki/pootle/commands
+
+4.2 Pootle and Version Control
The wiki has a lot of information on setting up the version control system
http://translate.sourceforge.net/wiki/pootle/version_control
-4.2 Pootle and Translation Memory (TM)
+4.3 Pootle and Translation Memory (TM)
The updatetm tool is what you want to use to supply translation memory
suggestions to translators:
http://translate.sourceforge.net/wiki/pootle/updatetm
-4.3 Terminology
+4.4 Terminology
You can setup a terminology project or terminology file to supply
terminology suggestions to translators:
http://translate.sourceforge.net/wiki/pootle/adding_a_terminology_project
-4.4 Changes to Pootle on Fedora
+4.5 Changes to Pootle on Fedora
The following changes have been made to a default Pootle setup
diff --git a/pootle-2.0.0-rc2-fedora-settings.patch b/pootle-2.1.0-1-fedora-settings.patch
similarity index 68%
rename from pootle-2.0.0-rc2-fedora-settings.patch
rename to pootle-2.1.0-1-fedora-settings.patch
index 0922e6f..5270010 100644
--- a/pootle-2.0.0-rc2-fedora-settings.patch
+++ b/pootle-2.1.0-1-fedora-settings.patch
@@ -1,9 +1,9 @@
-diff -up Pootle-2.0.0-rc2/localsettings.py.fedora-settings Pootle-2.0.0-rc2/localsettings.py
---- Pootle-2.0.0-rc2/localsettings.py.fedora-settings 2009-11-25 13:27:26.000000000 +0200
-+++ Pootle-2.0.0-rc2/localsettings.py 2009-11-27 16:02:58.000000000 +0200
-@@ -56,10 +56,10 @@ PARSE_POOL_CULL_FREQUENCY = 4
+diff -up Pootle-2.1.0/localsettings.py.fedora-settings Pootle-2.1.0/localsettings.py
+--- Pootle-2.1.0/localsettings.py.fedora-settings 2010-08-13 15:40:55.000000000 +0200
++++ Pootle-2.1.0/localsettings.py 2010-08-18 14:58:42.000000000 +0200
+@@ -69,10 +69,10 @@ PARSE_POOL_CULL_FREQUENCY = 4
# By default we use Django's in memory cache which is only suitable
- # for small deployments. memcached is prefered. For more info, check
+ # for small deployments. memcached is preferred. For more info, check
# http://docs.djangoproject.com/en/dev/topics/cache/#setting-up-the-cache
-CACHE_BACKEND = 'locmem:///?max_entries=4096&cull_frequency=5'
+#CACHE_BACKEND = 'locmem:///?max_entries=4096&cull_frequency=5'
@@ -14,7 +14,7 @@ diff -up Pootle-2.0.0-rc2/localsettings.py.fedora-settings Pootle-2.0.0-rc2/loca
# Using memcached to store sessions improves performance for anonymous
# users. For more info, check
-@@ -69,7 +69,7 @@ CACHE_BACKEND = 'locmem:///?max_entries=
+@@ -82,7 +82,7 @@ CACHE_BACKEND = 'locmem:///?max_entries=
#SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
# Uncomment this if you're using memcached as CACHE_BACKEND and running under Django 1.1
diff --git a/pootle.spec b/pootle.spec
index da2a714..02393f6 100644
--- a/pootle.spec
+++ b/pootle.spec
@@ -3,8 +3,8 @@
%global fullname Pootle
Name: pootle
-Version: 2.0.3
-Release: 2%{?dist}
+Version: 2.1.0
+Release: 1%{?dist}
Summary: Localization and translation management web application
Group: Development/Tools
@@ -15,12 +15,13 @@ Source1: pootle.conf
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0: pootle-2.0.0-rc2-fedora-settings.patch
+Patch0: pootle-2.1.0-1-fedora-settings.patch
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: translate-toolkit >= 1.4.1
Requires: Django >= 1.0
+Requires: Django-south
%{?fedora:Requires: iso-codes}
Requires: memcached
Requires: mod_wsgi
@@ -31,7 +32,7 @@ Requires: python-Levenshtein
# EL-5 uses Python 2.4 and thus needs sqlite2
%{?rhel:Requires: python-sqlite2}
Requires: translate-toolkit >= 1.5.1
-%if 0%{?fedora}{?rhel}>=6
+%if 0%{?rhel}>=6%{?fedora}
Requires: xapian-bindings-python >= 1.0.13
Requires: xapian-core
%endif
@@ -117,7 +118,7 @@ fi
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pootle.conf
%{python_sitelib}/*
%{_datadir}/pootle
-%if 0%{?fedora}{?rhel}>=6
+%if 0%{?rhel}>=6%{?fedora}
%attr(-,apache,apache) %{_sharedstatedir}/pootle
%else
%attr(-,apache,apache) /var/lib/pootle
@@ -127,6 +128,25 @@ fi
%changelog
+* Wed Aug 18 2010 Dwayne Bailey <dwayne at translate.org.za> - 2.1.0-1
+- Update to 2.1.0
+ - Improved performance, concurrency and memory consumption
+ - UI improvements for translators
+ - Machine translation
+ - Terminology extraction
+ - Formats: Support for monolingual formats without conversion
+ - Java properties
+ - Mac OSX strings
+ - PHP arrays
+ - Subtitle files
+ - Haiku catkeys
+ - Offline translation in XLIFF for all formats
+ - Reviewing suggestions offline with the XLIFF alt-trans tag
+ - New admin dashboard, contact form
+ - Captcha support to combat spam
+ - Several new batch operations via the command-line
+- Require Django-south for database migration
+
* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
diff --git a/sources b/sources
index ca7d8e3..c478125 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6a64e49c0d19ba0d7392bb87efa213b5 Pootle-2.0.3.tar.bz2
+d32bab6d3b6a4cb6351459feaf9de89d Pootle-2.1.0.tar.bz2
More information about the scm-commits
mailing list