[python-datanommer-models] Disable consumer by default and use a more secure default DB uri.
Ralph Bean
ralph at fedoraproject.org
Mon Aug 26 13:26:26 UTC 2013
commit 6e34d1afd6e6bed8ca6e00036e78668292230889
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Aug 26 09:26:11 2013 -0400
Disable consumer by default and use a more secure default DB uri.
python-datanommer-models.spec | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/python-datanommer-models.spec b/python-datanommer-models.spec
index e64c360..a83f754 100644
--- a/python-datanommer-models.spec
+++ b/python-datanommer-models.spec
@@ -2,7 +2,7 @@
Name: python-datanommer-models
Version: 0.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: SQLAlchemy models for datanommer
Group: Development/Libraries
@@ -40,6 +40,14 @@ SQLAlchemy models for datanommer.
%{__awk} 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"sqlalchemy>=0.7\"]; import pkg_resources"}1' setup.py > setup.py.tmp
%{__mv} setup.py.tmp setup.py
+# Disable the consumer by default.
+# https://github.com/fedora-infra/datanommer/issues/55
+sed -i 's/True/False/g' fedmsg.d/example-datanommer.py
+
+# Also (temporarily), use a less insecure db uri by default
+# https://github.com/fedora-infra/datanommer/issues/55
+sed -i 's/\/\/tmp\/datanommer.db//' fedmsg.d/example-datanommer.py
+
# Remove upstream egg-info so that it gets rebuilt.
rm -rf *.egg-info
@@ -70,6 +78,10 @@ rm -rf *.egg-info
%config(noreplace) %{_sysconfdir}/fedmsg.d/datanommer.py*
%changelog
+* Mon Aug 26 2013 Ralph Bean <rbean at redhat.com> - 0.5.0-2
+- Disable the consumer by default.
+- Use an in-memory database by default.
+
* Mon Aug 12 2013 Ralph Bean <rbean at redhat.com> - 0.5.0-1
- Added source_name and source_version columns.
- Added possibility to disable paging in calls to .grep().
More information about the scm-commits
mailing list