[Python-modules-commits] [django-session-security] 02/03: Remove test_project/db.sqlite from upstream source
Jean-Michel Vourgère
nirgal-guest at moszumanska.debian.org
Mon Jan 12 11:53:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
nirgal-guest pushed a commit to branch debian/sid
in repository django-session-security.
commit 0f832dd5bf65c56007b2841ca2ec64ce29dd003b
Author: Jean-Michel Nirgal Vourgère <jmv_deb at nirgal.com>
Date: Mon Jan 12 12:45:12 2015 +0100
Remove test_project/db.sqlite from upstream source
Bumped version to include dsfg, new upstream tarball.
d/copyright: New Files-Excluded line.
Removed section from README.source.
Adjusted d/watch for +dfsg suffix.
---
debian/README.source | 17 -----------------
debian/copyright | 3 +++
debian/watch | 2 +-
test_project/db.sqlite | Bin 71680 -> 0 bytes
4 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index ae828f2..6da703d 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -10,20 +10,3 @@ selenium is not packaged (#626545). It could safely be removed from the tarball.
If tests were to be enabled one day, care should be taken not to use that
specific upstream file.
-
-
-test_project/db.sqlite
-======================
-
-Binary file test_project/db.sqlite is only available in Debian source package,
-not in the binary packages. It can be recreated from scratch, using:
-
-$ cd test_project
-$ rm db.sqlite
-$ ./manage.py syncdb --noinput
-
-That file is only used in unit tests, which are currently disabled because
-selenium is not packaged (#626545). It could safely be removed from the tarball.
-
-If tests were to be enabled one day, care should be taken not to use that
-specific upstream file.
diff --git a/debian/copyright b/debian/copyright
index 2810edf..ad39bcc 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: django-session-security
Upstream-Contact: James Pic <jamespic at gmail.com>
Source: https://github.com/yourlabs/django-session-security/
+Files-Excluded: test_project/db.sqlite
+Comment: test_project/db.sqlite is unused, even in tests, and contains binary
+ data such as opened session.
Files: *
Copyright: 2012-2014 James Pic <jamespic at gmail.com>
diff --git a/debian/watch b/debian/watch
index 80aa5e2..7ffae8e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
-opts=uversionmangle=s/(rc\d*)$/~$1/ \
+opts=uversionmangle=s/(rc\d*)$/~$1/,dversionmangle=s/\+dfsg\d*$//,repacksuffix=+dfsg \
https://github.com/yourlabs/django-session-security/tags/ .*/(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
diff --git a/test_project/db.sqlite b/test_project/db.sqlite
deleted file mode 100644
index 0e7a1a6..0000000
Binary files a/test_project/db.sqlite and /dev/null differ
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-session-security.git
More information about the Python-modules-commits
mailing list