[ReviewBoard] New upstream beta release Site divisions within Review Board Invite-only groups Hidden groups Access
Stephen Gallagher
sgallagh at fedoraproject.org
Fri Apr 8 14:51:51 UTC 2011
commit a9eb1d2998e81b937cd4ef0ffea89cc3c9569ef9
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Fri Apr 8 10:47:44 2011 -0400
New upstream beta release
Site divisions within Review Board
Invite-only groups
Hidden groups
Access control on repositories
Collapsible reviews
One-click Ship It!
Delete detection for Git and Perforce
The review request ID is now displayed under the summary on the review
request
Added error messages when typing an invalid reviewer (user or group). Prior
to this, the invalid reviewer would just disappear from the list, leaving no
indication that it was wrong
Plastic SCM support
Better custom authentication backends
Improved user page
User info bubble
Better DKIM support for e-mails
Searching by change numbers now works. This may require a full reindex
The dashboard is now much faster
Reduced the number of round trips to the database when loading the diff
viewer
The old 1.0 API has been removed
The old iPhone interface has been removed
Review Board now depends on Django 1.2
The entire web UI has been updated to use the new API
http://www.reviewboard.org/docs/releasenotes/dev/reviewboard/1.6-beta-1/
...1-Disable-ez_setup-when-installing-by-RPM.patch | 8 ++++----
...WSGI-users-that-config-changes-are-needed.patch | 15 ++++++++-------
ReviewBoard.spec | 17 ++++++++---------
3 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/FED01-Disable-ez_setup-when-installing-by-RPM.patch b/FED01-Disable-ez_setup-when-installing-by-RPM.patch
index e491d00..e40de1b 100644
--- a/FED01-Disable-ez_setup-when-installing-by-RPM.patch
+++ b/FED01-Disable-ez_setup-when-installing-by-RPM.patch
@@ -1,14 +1,14 @@
-From 86d1b40676ee90f00aa6d494107161e9edff4e3a Mon Sep 17 00:00:00 2001
+From 14c57d21085537be0d71e3b061cfdfed3a2054c5 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh at redhat.com>
Date: Tue, 22 Jun 2010 08:14:30 -0400
-Subject: [PATCH] Disable ez_setup when installing by RPM
+Subject: [PATCH 1/2] Disable ez_setup when installing by RPM
---
setup.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
-index 14ebd9f47b6a624b667e7f34dc21adadab7cbc76..6c9e58076f8b7d21fcbcd85297875712e23f5d38 100755
+index f0745c479e4e5bd84fe39a0f37233b95cac55e63..b53619303024cb2f02b670de112bc6c42d184aaf 100755
--- a/setup.py
+++ b/setup.py
@@ -8,8 +8,8 @@
@@ -23,5 +23,5 @@ index 14ebd9f47b6a624b667e7f34dc21adadab7cbc76..6c9e58076f8b7d21fcbcd85297875712
from setuptools import setup, find_packages
from distutils.command.install_data import install_data
--
-1.7.1
+1.7.4
diff --git a/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch b/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch
index 80aba2c..687863e 100644
--- a/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch
+++ b/FED02-Notify-WSGI-users-that-config-changes-are-needed.patch
@@ -1,4 +1,4 @@
-From 02be4fe37e86b451f7830176ce73c0e901027f21 Mon Sep 17 00:00:00 2001
+From 6d78366500e105fb435da2250a3fe165faff00c5 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
@@ -11,10 +11,10 @@ API properly
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/reviewboard/cmdline/rbsite.py b/reviewboard/cmdline/rbsite.py
-index a7917d87a19e8da64326efeffce512ea9bbf79fa..0d204a6ca1876746be78f5e35b39e37d8e906d2c 100755
+index d07f7590695f8c20a6c7501f86fe449135e1ef17..345d6f7c72c30d2004a32426643ced199fd0de54 100755
--- a/reviewboard/cmdline/rbsite.py
+++ b/reviewboard/cmdline/rbsite.py
-@@ -1500,12 +1500,19 @@ class UpgradeCommand(Command):
+@@ -1575,6 +1575,7 @@ class UpgradeCommand(Command):
def run(self):
site.setup_settings()
@@ -22,8 +22,9 @@ index a7917d87a19e8da64326efeffce512ea9bbf79fa..0d204a6ca1876746be78f5e35b39e37d
data_dir_exists = os.path.exists(os.path.join(site.install_dir, "data"))
- print "Rebuilding directory structure"
- site.rebuild_site_directory()
+@@ -1585,6 +1586,12 @@ class UpgradeCommand(Command):
+ print "Upgrading site settings_local.py"
+ site.upgrade_settings()
+ from djblets.siteconfig.models import SiteConfiguration
+ siteconfig = SiteConfiguration.objects.get_current()
@@ -34,7 +35,7 @@ index a7917d87a19e8da64326efeffce512ea9bbf79fa..0d204a6ca1876746be78f5e35b39e37d
if options.upgrade_db:
print "Updating database. This may take a while."
site.sync_database()
-@@ -1530,6 +1537,14 @@ class UpgradeCommand(Command):
+@@ -1609,6 +1616,14 @@ class UpgradeCommand(Command):
print " SetEnv HOME %s" % os.path.join(site.abs_install_dir,
"data")
@@ -50,5 +51,5 @@ index a7917d87a19e8da64326efeffce512ea9bbf79fa..0d204a6ca1876746be78f5e35b39e37d
class ManageCommand(Command):
"""
--
-1.7.3.4
+1.7.4
diff --git a/ReviewBoard.spec b/ReviewBoard.spec
index b09179c..626e2cf 100644
--- a/ReviewBoard.spec
+++ b/ReviewBoard.spec
@@ -7,12 +7,12 @@ Summary: Web-based code review tool
Group: Applications/Internet
License: MIT
URL: http://www.review-board.org
-Source0: http://downloads.review-board.org/releases/%{name}/1.5/%{name}-%{version}.tar.gz
+Source0: http://downloads.review-board.org/releases/%{name}/1.5/%{name}-%{version}beta1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
-Requires: Django >= 1.2.4
+Requires: Django >= 1.3
Requires: python-djblets >= 0.6.7
Requires: python-imaging
Requires: httpd
@@ -39,7 +39,7 @@ projects to large companies and offers a variety of tools to take much
of the stress and time out of the code review process.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-%{version}beta1
%patch1001 -p1
%patch1002 -p1
@@ -57,13 +57,12 @@ chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/reviewboard/manage.py
chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/reviewboard/cmdline/rbssh.py
chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/reviewboard/cmdline/rbsite.py
-# RHEL 5 packages don't have egg-info files, so remove the requires.txt
-# It isn't needed, because RPM will guarantee the dependency itself
-%if 0%{?rhel} > 0
-%if 0%{?rhel} <= 5
+# The requires.txt file isn't needed, because RPM will guarantee the
+# dependency itself. Furthermore, upstream's requires.txt has workarounds
+# to handle easy_install that cause problems with RPM (notably, an exact
+# version requirement on python-dateutil==1.5 to prevent auto-updating to
+# the python3-only python-dateutil 2.0)
rm -f $RPM_BUILD_ROOT/%{python_sitelib}/%{name}*.egg-info/requires.txt
-%endif
-%endif
# Remove test data from the installed packages
rm -Rf $RPM_BUILD_ROOT/%{python_sitelib}/reviewboard/diffviewer/testdata \
More information about the scm-commits
mailing list