[ReviewBoard] - Add message to upgrade script to alert users that manual edits may be - required if using mod_wsgi
Stephen Gallagher
sgallagh at fedoraproject.org
Mon Jan 10 16:30:22 UTC 2011
commit c0223fa00106a36ccccd277a8f77fe66f45ed2fd
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Mon Jan 10 11:30:11 2011 -0500
- Add message to upgrade script to alert users that manual edits may be
- required if using mod_wsgi
...WSGI-users-that-config-changes-are-needed.patch | 27 ++++++++++++++++++++
ReviewBoard.spec | 12 ++++++--
2 files changed, 36 insertions(+), 3 deletions(-)
---
diff --git a/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch b/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch
new file mode 100644
index 0000000..22654a9
--- /dev/null
+++ b/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch
@@ -0,0 +1,27 @@
+From 8f44b649e53ef72aad1ab6196479dab68852a9d7 Mon Sep 17 00:00:00 2001
+From: Stephen Gallagher <sgallagh at redhat.com>
+Date: Mon, 10 Jan 2011 11:18:47 -0500
+Subject: [PATCH 2/2] Notify WSGI users that config changes are needed
+
+---
+ reviewboard/cmdline/rbsite.py | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/reviewboard/cmdline/rbsite.py b/reviewboard/cmdline/rbsite.py
+index a7917d87a19e8da64326efeffce512ea9bbf79fa..c94a1933c65b4f1e0ea935ad89bd7d90c5e19031 100755
+--- a/reviewboard/cmdline/rbsite.py
++++ b/reviewboard/cmdline/rbsite.py
+@@ -1530,6 +1530,10 @@ class UpgradeCommand(Command):
+ print " SetEnv HOME %s" % os.path.join(site.abs_install_dir,
+ "data")
+
++ print "If you are upgrading from version 1.5.1 or older and are running ReviewBoard on mod_wsgi,"
++ print "you need to update your Apache configuration as described at:"
++ print "http://www.reviewboard.org/docs/releasenotes/dev/reviewboard/1.5.2/#important-updates"
++
+
+ class ManageCommand(Command):
+ """
+--
+1.7.3.4
+
diff --git a/ReviewBoard.spec b/ReviewBoard.spec
index 0423254..a2888b9 100644
--- a/ReviewBoard.spec
+++ b/ReviewBoard.spec
@@ -2,7 +2,7 @@
Name: ReviewBoard
Version: 1.5.2
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: Web-based code review tool
Group: Applications/Internet
License: MIT
@@ -29,7 +29,8 @@ Requires: python-paramiko
Requires: python-memcached
Requires: python-dateutil
-Patch1000: FED01-Disable-ez_setup-when-installing-by-RPM.patch
+Patch1001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
+Patch1002: FED02-Notify-WSGI-users-that-config-changes-are-needed.patch
%description
Review Board is a powerful web-based code review tool that offers
@@ -39,7 +40,8 @@ of the stress and time out of the code review process.
%prep
%setup -q -n %{name}-%{version}
-%patch1000 -p1
+%patch1001 -p1
+%patch1002 -p1
%build
%{__python} setup.py build
@@ -78,6 +80,10 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/webtests/*.py*
%changelog
+* Mon Jan 10 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.5.2-20
+- Add message to upgrade script to alert users that manual edits may be
+- required if using mod_wsgi
+
* Mon Jan 10 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.5.2-19
- Important Updates
- Users using existing WSGI configurations must update their configuration
More information about the scm-commits
mailing list