Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dax/jcl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rousselie <david.rousselie@happycoders.org>2010-06-04 22:00:28 +0400
committerDavid Rousselie <david.rousselie@happycoders.org>2010-06-04 22:00:28 +0400
commit35a861f1880194f5ea71a22b1d02df33674e6f7a (patch)
treec6c25eeb4b893271ff9feaa159320141c8b4d4a0
parenta452f26d290a0a113a0ea3fb7c9646ce3fb7104c (diff)
release JCL 0.1 beta 3
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/debian-changes-0.1b379
-rw-r--r--debian/patches/series1
-rw-r--r--setup.py2
-rw-r--r--src/jcl.egg-info/PKG-INFO2
7 files changed, 91 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index e6a85b5..ed4c4b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
*flymake.py
.ropeproject
*.pyc
+dist
diff --git a/Makefile b/Makefile
index bfe797e..bfe8bf0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ PYTHON=`which python`
DESTDIR=/
BUILDIR=$(CURDIR)/debian/jcl
PROJECT=jcl
-VERSION=0.1b2
+VERSION=0.1b3
all:
@echo "make source - Create source package"
@@ -23,7 +23,7 @@ buildrpm:
builddeb:
$(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../
rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
- dpkg-buildpackage -i -I -rfakeroot
+ dpkg-buildpackage -us -uc -i -I -rfakeroot
clean:
$(PYTHON) setup.py clean
diff --git a/debian/changelog b/debian/changelog
index 09f9622..48e7ccc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jcl (0.1b3) unstable; urgency=low
+
+ * JCL v0.1 beta 3
+
+ -- David Rousselie <dax@happycoders.org> Fri, 04 Jun 2010 19:44:08 +0200
+
jcl (0.1b2) unstable; urgency=low
* JCL v0.1 beta 2
diff --git a/debian/patches/debian-changes-0.1b3 b/debian/patches/debian-changes-0.1b3
new file mode 100644
index 0000000..ebdaca1
--- /dev/null
+++ b/debian/patches/debian-changes-0.1b3
@@ -0,0 +1,79 @@
+Description: Upstream changes introduced in version 0.1b3
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ jcl (0.1b3) unstable; urgency=low
+ .
+ * JCL v0.1 beta 3
+ .
+ The person named in the Author field signed this changelog entry.
+Author: David Rousselie <dax@happycoders.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- jcl-0.1b3.orig/Makefile
++++ jcl-0.1b3/Makefile
+@@ -2,7 +2,7 @@ PYTHON=`which python`
+ DESTDIR=/
+ BUILDIR=$(CURDIR)/debian/jcl
+ PROJECT=jcl
+-VERSION=0.1b2
++VERSION=0.1b3
+
+ all:
+ @echo "make source - Create source package"
+@@ -23,7 +23,7 @@ buildrpm:
+ builddeb:
+ $(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../
+ rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
+- dpkg-buildpackage -i -I -rfakeroot
++ dpkg-buildpackage -us -uc -i -I -rfakeroot
+
+ clean:
+ $(PYTHON) setup.py clean
+--- jcl-0.1b3.orig/src/jcl/jabber/tests/register.py
++++ jcl-0.1b3/src/jcl/jabber/tests/register.py
+@@ -56,7 +56,7 @@ class SetRegisterHandler_TestCase(JCLTes
+ result = self.handler.handle(iq_set, Lang.en, None, x_data)
+ self.assertEquals(result, None)
+
+- def test_handle_invalid_name(self):
++ def test_handle_invalid_name_with_invalid_char(self):
+ """Test with invalid supplied name"""
+ iq_set = Iq(stanza_type="set",
+ from_jid="user1@test.com/res",
+@@ -73,6 +73,23 @@ class SetRegisterHandler_TestCase(JCLTes
+ self.assertEquals(error.get_text(), Lang.en.field_error \
+ % ("name", Lang.en.arobase_in_name_forbidden))
+
++ def test_handle_invalid_name_with_whitespace(self):
++ """Test with invalid supplied name"""
++ iq_set = Iq(stanza_type="set",
++ from_jid="user1@test.com/res",
++ to_jid="jcl.test.com")
++ x_data = Form("submit")
++ x_data.add_field(name="name",
++ value="wrong name",
++ field_type="text-single")
++ result = self.handler.handle(iq_set, Lang.en, None, x_data)
++ self.assertEquals(len(result), 1)
++ self.assertEquals(result[0].xmlnode.prop("type"), "error")
++ error = result[0].get_error()
++ self.assertEquals(error.get_condition().name, "not-acceptable")
++ self.assertEquals(error.get_text(), Lang.en.field_error \
++ % ("name", Lang.en.arobase_in_name_forbidden))
++
+ def test_handle_invalid_empty_name(self):
+ """Test with empty supplied name"""
+ iq_set = Iq(stanza_type="set",
diff --git a/debian/patches/series b/debian/patches/series
index 3b901c2..9bd7210 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
debian-changes-0.1b2
+debian-changes-0.1b3
diff --git a/setup.py b/setup.py
index 8cb77d0..7ee521f 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@
from setuptools import setup, find_packages
setup(name='jcl',
- version='0.1b2',
+ version='0.1b3',
description='Jabber Component Library',
author='David Rousselie',
author_email='dax@happycoders.org',
diff --git a/src/jcl.egg-info/PKG-INFO b/src/jcl.egg-info/PKG-INFO
index c8a8f8f..a0465b3 100644
--- a/src/jcl.egg-info/PKG-INFO
+++ b/src/jcl.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: jcl
-Version: 0.1b2
+Version: 0.1b3
Summary: Jabber Component Library
Home-page: http://people.happycoders.org/dax/projects/jcl
Author: David Rousselie