Bug#817204: nm.debian.org: ‘django-housekeeping’ is now in Debian Stretch

2016-03-09 Thread Ben Finney
On 09-Mar-2016, Jonathan Wiltshire wrote:
> On Wed, Mar 09, 2016 at 10:27:23AM +1100, Ben Finney wrote:
> > […] should the installation instructions for ‘nm2’ direct the
> > reader to that package?
> 
> Only if they are [deploying] on Stretch, I think. Since
> nono.debian.org is Jessie, that should be the target for any nm2
> development work. Could you rework your patch to deal with that?

Yes, good idea. Attached to this message is a patch to that effect.

-- 
 \“I was once walking through the forest alone and a tree fell |
  `\   right in front of me, and I didn't hear it.” —Steven Wright |
_o__)  |
Ben Finney 
diff --git a/README.md b/README.md
index 5acda6e..46e75c2 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,15 @@ Debian NM Front Desk web application
 ## Running this code on your own machine
 ### Dependencies
 
-apt-get install python-django python-ldap python-psycopg2 python-xapian \
- python-debian python-django-south python-markdown \
- python-debiancontributors
+apt-get install python-markdown python-ldap python-psycopg2 python-xapian \
+ python-django python-django-south python-django-housekeeping \
+ python-debian python-debiancontributors
+
+ django-housekeeping
+
+The ‘python-django-housekeeping’ package is not available in Debian
+earlier than Debian Stretch. If you are deploying to a machine running
+Debian earlier than Stretch, use the following procedure:
 
 # https://github.com/spanezz/django-housekeeping
 git clone https://github.com/spanezz/django-housekeeping
@@ -19,6 +25,10 @@ Debian NM Front Desk web application
 # install the package
 dpkg -i  ../python-django-housekeeping_0.1-1_all.deb
 
+ django-ratelimit
+
+The ‘django-ratelimit’ library is not yet in Debian.
+
 # https://github.com/jsocol/django-ratelimit
 git clone https://github.com/jsocol/django-ratelimit.git
   (you can either build the package from it or symlink the module directory


signature.asc
Description: PGP signature


Bug#817204: nm.debian.org: ‘django-housekeeping’ is now in Debian Stretch

2016-03-09 Thread Jonathan Wiltshire
On Wed, Mar 09, 2016 at 10:27:23AM +1100, Ben Finney wrote:
> The code base's README document gives installation instructions. Those
> instructions specify to get the ‘django-housekeeping’ package from a
> GitHub repository.
> 
> Now that bug#748875 (“ITP: django-housekeeping -- Pluggable
> housekeeping framework for Django sites.”) is resolved, and Debian
> Stretch now has the ‘python-django-housekeeping’ package version
> “1.0-1”, should the installation instructions for ‘nm2’ direct the
> reader to that package?

Only if they are developing on Stretch, I think. Since nono.debian.org is
Jessie, that should be the target for any nm2 development work. Could you
rework your patch to deal with that?

-- 
Jonathan Wiltshire  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51



signature.asc
Description: Digital signature


Bug#817204: nm.debian.org: ‘django-housekeeping’ is now in Debian Stretch

2016-03-08 Thread Ben Finney
Package: nm.debian.org
Severity: normal
Control: tags -1 + patch

The code base's README document gives installation instructions. Those
instructions specify to get the ‘django-housekeeping’ package from a
GitHub repository.

Now that bug#748875 (“ITP: django-housekeeping -- Pluggable
housekeeping framework for Django sites.”) is resolved, and Debian
Stretch now has the ‘python-django-housekeeping’ package version
“1.0-1”, should the installation instructions for ‘nm2’ direct the
reader to that package?

If so, attached is a patch which makes that change.

-- 
 \ “I believe our future depends powerfully on how well we |
  `\ understand this cosmos, in which we float like a mote of dust |
_o__) in the morning sky.” —Carl Sagan, _Cosmos_, 1980 |
Ben Finney 
diff --git a/README.md b/README.md
index 5acda6e..cb39fe5 100644
--- a/README.md
+++ b/README.md
@@ -4,20 +4,9 @@ Debian NM Front Desk web application
 ## Running this code on your own machine
 ### Dependencies
 
-apt-get install python-django python-ldap python-psycopg2 python-xapian \
- python-debian python-django-south python-markdown \
- python-debiancontributors
-
-# https://github.com/spanezz/django-housekeeping
-git clone https://github.com/spanezz/django-housekeeping
-  (you can either build the package from it or symlink the module directory
-  into the contributors.debian.org sources)
-
-# build the package
-fakeroot debian/rules clean binary
-
-# install the package
-dpkg -i  ../python-django-housekeeping_0.1-1_all.deb
+apt-get install python-markdown python-ldap python-psycopg2 python-xapian \
+ python-django python-django-south python-django-housekeeping \
+ python-debian python-debiancontributors
 
 # https://github.com/jsocol/django-ratelimit
 git clone https://github.com/jsocol/django-ratelimit.git


signature.asc
Description: PGP signature