sqlobject-cvs Mailing List for SQLObject (Page 19)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(74) |
May
(29) |
Jun
(16) |
Jul
(28) |
Aug
(10) |
Sep
(57) |
Oct
(9) |
Nov
(29) |
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(14) |
Mar
(6) |
Apr
(3) |
May
(12) |
Jun
(34) |
Jul
(9) |
Aug
(29) |
Sep
(22) |
Oct
(2) |
Nov
(15) |
Dec
(52) |
| 2005 |
Jan
(47) |
Feb
(78) |
Mar
(14) |
Apr
(35) |
May
(33) |
Jun
(16) |
Jul
(26) |
Aug
(63) |
Sep
(40) |
Oct
(96) |
Nov
(96) |
Dec
(123) |
| 2006 |
Jan
(159) |
Feb
(144) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(48) |
Jul
(16) |
Aug
(64) |
Sep
(87) |
Oct
(92) |
Nov
(56) |
Dec
(76) |
| 2007 |
Jan
(94) |
Feb
(103) |
Mar
(126) |
Apr
(123) |
May
(85) |
Jun
(11) |
Jul
(130) |
Aug
(47) |
Sep
(65) |
Oct
(70) |
Nov
(12) |
Dec
(11) |
| 2008 |
Jan
(30) |
Feb
(55) |
Mar
(88) |
Apr
(20) |
May
(50) |
Jun
|
Jul
(38) |
Aug
(1) |
Sep
(9) |
Oct
(5) |
Nov
(6) |
Dec
(39) |
| 2009 |
Jan
(8) |
Feb
(16) |
Mar
(3) |
Apr
(33) |
May
(44) |
Jun
(1) |
Jul
(10) |
Aug
(33) |
Sep
(74) |
Oct
(22) |
Nov
|
Dec
(15) |
| 2010 |
Jan
(28) |
Feb
(22) |
Mar
(46) |
Apr
(29) |
May
(1) |
Jun
(1) |
Jul
(27) |
Aug
(8) |
Sep
(5) |
Oct
(33) |
Nov
(24) |
Dec
(41) |
| 2011 |
Jan
(4) |
Feb
(12) |
Mar
(35) |
Apr
(29) |
May
(19) |
Jun
(16) |
Jul
(32) |
Aug
(25) |
Sep
(5) |
Oct
(11) |
Nov
(21) |
Dec
(12) |
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(20) |
Apr
(4) |
May
(25) |
Jun
(13) |
Jul
|
Aug
|
Sep
(2) |
Oct
(25) |
Nov
(9) |
Dec
(1) |
| 2013 |
Jan
(6) |
Feb
(8) |
Mar
|
Apr
(10) |
May
(31) |
Jun
(7) |
Jul
(18) |
Aug
(33) |
Sep
(4) |
Oct
(16) |
Nov
|
Dec
(27) |
| 2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(11) |
May
(39) |
Jun
(8) |
Jul
(11) |
Aug
(4) |
Sep
|
Oct
(27) |
Nov
|
Dec
(71) |
| 2015 |
Jan
(17) |
Feb
(47) |
Mar
(33) |
Apr
|
May
|
Jun
(9) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
| 2016 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
|
May
(12) |
Jun
(7) |
Jul
(9) |
Aug
(31) |
Sep
(8) |
Oct
(3) |
Nov
(15) |
Dec
(1) |
| 2017 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(8) |
May
(10) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(4) |
Dec
(5) |
| 2018 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
(4) |
May
|
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
(1) |
Feb
(16) |
Mar
(1) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
| 2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(9) |
| 2025 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Oleg B. <no...@so...> - 2014-12-09 21:16:20
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via f53b85f9e682ed63c1a44d8e84811a0ec4204103 (commit)
via 0b6de541aca2b93a701f4bcc7a15dfd0525ad227 (commit)
via 65510b0f99f0e1435fb67551868b5e85ffc01a0a (commit)
via a2f5394f60dd625c8a1207ff863cb7b6a41361d2 (commit)
via 41699050f3cad73fd2863c0eeb2cc1a31c7f92d7 (commit)
via 8fbe39e241aea14a4657a8648d0f36d1bab618c1 (commit)
via 7a3a9978881d39a9a1a141af93b32606df08805e (commit)
via 183699a76fe8cc00e03d7c56dbd8af07b58f328e (commit)
via 6f4871059ab77831555fdc149a9dd652f7173f0f (commit)
via e1a1c01d09ce8ca2d70df8536467de4da0b0393e (commit)
via 99c87a77b33fe6d5b7f605204ce1274311c4a503 (commit)
via a26ef553dfdd6879507be1f8928b6e72572c7cf7 (commit)
from 24513bee32cdbb62d6ecf52fb5ab2045f7ab5386 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/f53b85f9e682ed63c1a44d8e84811a0ec4204103
commit f53b85f9e682ed63c1a44d8e84811a0ec4204103
Author: Oleg Broytman <ph...@ph...>
Date: Wed Dec 10 00:13:24 2014 +0300
Skip microseconds test if the database doesn't support microseconds
diff --git a/sqlobject/tests/test_datetime.py b/sqlobject/tests/test_datetime.py
index 114e5ce..e1e1902 100644
--- a/sqlobject/tests/test_datetime.py
+++ b/sqlobject/tests/test_datetime.py
@@ -1,3 +1,4 @@
+import py.test
from sqlobject import *
from sqlobject.tests.dbtest import *
@@ -26,7 +27,6 @@ def test_dateTime():
assert dt1.col1.hour == _now.hour
assert dt1.col1.minute == _now.minute
assert dt1.col1.second == _now.second
- assert dt1.col1.microsecond == _now.microsecond
assert isinstance(dt1.col2, date)
assert not isinstance(dt1.col2, datetime)
@@ -38,6 +38,18 @@ def test_dateTime():
assert dt1.col3.hour == _now.hour
assert dt1.col3.minute == _now.minute
assert dt1.col3.second == _now.second
+
+def test_microseconds():
+ connection = getConnection()
+ if hasattr(connection, 'can_use_microseconds') and \
+ not connection.can_use_microseconds():
+ py.test.skip("The database doesn't support microseconds; microseconds are supported by MariaDB since version 5.3.0 and by MySQL since version 5.6.4.")
+
+ setupClass(DateTime1)
+ _now = datetime.now()
+ dt1 = DateTime1(col1=_now, col2=_now, col3=_now.time())
+
+ assert dt1.col1.microsecond == _now.microsecond
assert dt1.col3.microsecond == _now.microsecond
if mxdatetime_available:
http://sourceforge.net/p/sqlobject/sqlobject/ci/0b6de541aca2b93a701f4bcc7a15dfd0525ad227
commit 0b6de541aca2b93a701f4bcc7a15dfd0525ad227
Author: Oleg Broytman <ph...@ph...>
Date: Tue Dec 9 23:48:43 2014 +0300
Microseconds on MariaDB and MySQL require special handling
Columns to store microseconds have to be declared with precision 6:
TIME(6), DATETIME(6), TIMESTAMP(6).
diff --git a/docs/News.txt b/docs/News.txt
index 0b7a4b5..aef425a 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -16,7 +16,13 @@ Features & Interface
* DateTimeCol and TimeCol can read and write values with microseconds.
WARNING: microseconds are supported by MariaDB since version 5.3.0 and
- by MySQL since version 5.6.4.
+ by MySQL since version 5.6.4, and even these versions require special
+ handling: columns to store microseconds have to be declared with
+ precision 6: TIME(6), DATETIME(6), TIMESTAMP(6). SQLObject does the
+ right thing when creating a new database but existing databases have
+ to be changed: run something like
+ ``ALTER TABLE name MODIFY COLUMN col TIME(6)`` for every column that
+ you want to store microseconds.
WARNING: backward compatibility problem! Date/Time columns created
with microseconds cannot be read back from SQLite databases (and
diff --git a/sqlobject/col.py b/sqlobject/col.py
index 005e486..adbf002 100644
--- a/sqlobject/col.py
+++ b/sqlobject/col.py
@@ -320,7 +320,8 @@ class SOCol(object):
def _maxdbType(self):
return self._sqlType()
- def mysqlCreateSQL(self):
+ def mysqlCreateSQL(self, connection=None):
+ self.connection = connection
return ' '.join([self.dbName, self._mysqlType()] + self._extraSQL())
def postgresCreateSQL(self):
@@ -906,8 +907,8 @@ class SOForeignKey(SOKeyCol):
'sTLocalName': sTLocalName})
return constraint
- def mysqlCreateSQL(self):
- return SOKeyCol.mysqlCreateSQL(self)
+ def mysqlCreateSQL(self, connection=None):
+ return SOKeyCol.mysqlCreateSQL(self, connection)
def sybaseCreateSQL(self):
sql = SOKeyCol.sybaseCreateSQL(self)
@@ -1193,7 +1194,10 @@ class SODateTimeCol(SOCol):
return _validators
def _mysqlType(self):
- return 'DATETIME'
+ if self.connection and self.connection.can_use_microseconds():
+ return 'DATETIME(6)'
+ else:
+ return 'DATETIME'
def _postgresType(self):
return 'TIMESTAMP'
@@ -1324,7 +1328,10 @@ class SOTimeCol(SOCol):
return _validators
def _mysqlType(self):
- return 'TIME'
+ if self.connection and self.connection.can_use_microseconds():
+ return 'TIME(6)'
+ else:
+ return 'TIME'
def _postgresType(self):
return 'TIME'
@@ -1356,7 +1363,10 @@ class SOTimestampCol(SODateTimeCol):
SOCol.__init__(self, **kw)
def _mysqlType(self):
- return 'TIMESTAMP'
+ if self.connection and self.connection.can_use_microseconds():
+ return 'TIMESTAMP(6)'
+ else:
+ return 'TIMESTAMP'
class TimestampCol(Col):
baseClass = SOTimestampCol
diff --git a/sqlobject/mysql/mysqlconnection.py b/sqlobject/mysql/mysqlconnection.py
index 072df33..df02b9b 100644
--- a/sqlobject/mysql/mysqlconnection.py
+++ b/sqlobject/mysql/mysqlconnection.py
@@ -176,7 +176,7 @@ class MySQLConnection(DBAPI):
return col.mysqlCreateReferenceConstraint()
def createColumn(self, soClass, col):
- return col.mysqlCreateSQL()
+ return col.mysqlCreateSQL(self)
def createIndexSQL(self, soClass, index):
return index.mysqlCreateIndexSQL(soClass)
@@ -204,7 +204,7 @@ class MySQLConnection(DBAPI):
def addColumn(self, tableName, column):
self.query('ALTER TABLE %s ADD COLUMN %s' %
(tableName,
- column.mysqlCreateSQL()))
+ column.mysqlCreateSQL(self)))
def delColumn(self, sqlmeta, column):
self.query('ALTER TABLE %s DROP COLUMN %s' % (sqlmeta.table, column.dbName))
http://sourceforge.net/p/sqlobject/sqlobject/ci/65510b0f99f0e1435fb67551868b5e85ffc01a0a
commit 65510b0f99f0e1435fb67551868b5e85ffc01a0a
Author: Oleg Broytman <ph...@ph...>
Date: Tue Dec 9 23:09:32 2014 +0300
Microseconds are not supported by old version of MariaDB and MySQL
Microseconds are supported by MariaDB since version 5.3.0 and by MySQL
since version 5.6.4.
diff --git a/docs/News.txt b/docs/News.txt
index a2c6ec6..0b7a4b5 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -15,6 +15,9 @@ Features & Interface
* DateTimeCol and TimeCol can read and write values with microseconds.
+ WARNING: microseconds are supported by MariaDB since version 5.3.0 and
+ by MySQL since version 5.6.4.
+
WARNING: backward compatibility problem! Date/Time columns created
with microseconds cannot be read back from SQLite databases (and
perhaps other backends) with versions of SQLObject older than 1.7.
diff --git a/sqlobject/mysql/mysqlconnection.py b/sqlobject/mysql/mysqlconnection.py
index f3ea515..072df33 100644
--- a/sqlobject/mysql/mysqlconnection.py
+++ b/sqlobject/mysql/mysqlconnection.py
@@ -48,6 +48,8 @@ class MySQLConnection(DBAPI):
# MySQLdb > 1.2.1: both ascii and unicode
self.need_unicode = (self.module.version_info[:3] >= (1, 2, 1)) and (self.module.version_info[:3] < (1, 2, 2))
+ self._server_version = None
+ self._can_use_microseconds = None
DBAPI.__init__(self, **kw)
@classmethod
@@ -303,3 +305,35 @@ class MySQLConnection(DBAPI):
def dropDatabase(self):
self._createOrDropDatabase(op="DROP")
+
+ def server_version(self):
+ if self._server_version is not None:
+ return self._server_version
+ try:
+ server_version = self.queryOne("SELECT VERSION()")[0]
+ server_version = server_version.split('-', 1)
+ db_tag = "MySQL"
+ if len(server_version) == 2:
+ if "MariaDB" in server_version[1]:
+ db_tag = "MariaDB"
+ server_version = server_version[0]
+ server_version = tuple(int(v) for v in server_version.split('.'))
+ server_version = (server_version, db_tag)
+ except:
+ server_version = None # unknown
+ self._server_version = server_version
+ return server_version
+
+ def can_use_microseconds(self):
+ if self._can_use_microseconds is not None:
+ return self._can_use_microseconds
+ server_version = self.server_version()
+ if server_version is None:
+ return None
+ server_version, db_tag = server_version
+ if db_tag == "MariaDB":
+ can_use_microseconds = (server_version >= (5, 3, 0))
+ else: # MySQL
+ can_use_microseconds = (server_version >= (5, 6, 4))
+ self._can_use_microseconds = can_use_microseconds
+ return can_use_microseconds
http://sourceforge.net/p/sqlobject/sqlobject/ci/a2f5394f60dd625c8a1207ff863cb7b6a41361d2
commit a2f5394f60dd625c8a1207ff863cb7b6a41361d2
Author: Oleg Broytman <ph...@ph...>
Date: Tue Dec 9 19:14:56 2014 +0300
Development status: alpha
diff --git a/setup.py b/setup.py
index afe2430..af8f1d1 100755
--- a/setup.py
+++ b/setup.py
@@ -59,7 +59,7 @@ and `GitHub <https://github.com/sqlobject>`_.
:target: https://travis-ci.org/sqlobject/sqlobject
""",
classifiers=[
- "Development Status :: 5 - Production/Stable",
+ "Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python",
http://sourceforge.net/p/sqlobject/sqlobject/ci/41699050f3cad73fd2863c0eeb2cc1a31c7f92d7
commit 41699050f3cad73fd2863c0eeb2cc1a31c7f92d7
Merge: 24513be 8fbe39e
Author: Oleg Broytman <ph...@ph...>
Date: Tue Dec 9 19:14:06 2014 +0300
Merge branch '1.7'
diff --cc setup.py
index 1309237,adf5161..afe2430
--- a/setup.py
+++ b/setup.py
@@@ -51,9 -51,12 +51,12 @@@ applications
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB).
- For development see the git repositories at
- http://sourceforge.net/p/sqlobject/_list/git and
- https://github.com/sqlobject
+ For development see the projects at
+ `SourceForge <http://sourceforge.net/projects/sqlobject/>`_
+ and `GitHub <https://github.com/sqlobject>`_.
+
-.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=1.7
++.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=master
+ :target: https://travis-ci.org/sqlobject/sqlobject
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
-----------------------------------------------------------------------
Summary of changes:
docs/News.txt | 9 ++++++++
setup.py | 13 ++++++++---
sqlobject/col.py | 22 +++++++++++++++-----
sqlobject/mysql/mysqlconnection.py | 38 ++++++++++++++++++++++++++++++++++-
sqlobject/tests/test_datetime.py | 14 ++++++++++++-
5 files changed, 83 insertions(+), 13 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-09 21:16:18
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.7 has been updated
via 8fbe39e241aea14a4657a8648d0f36d1bab618c1 (commit)
via 7a3a9978881d39a9a1a141af93b32606df08805e (commit)
via 183699a76fe8cc00e03d7c56dbd8af07b58f328e (commit)
via 6f4871059ab77831555fdc149a9dd652f7173f0f (commit)
via e1a1c01d09ce8ca2d70df8536467de4da0b0393e (commit)
via 99c87a77b33fe6d5b7f605204ce1274311c4a503 (commit)
via a26ef553dfdd6879507be1f8928b6e72572c7cf7 (commit)
from ff531c3f7ff97f5f224ad3ba816dc6de8a6036e1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
setup.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-09 21:16:16
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.6 has been updated
via 183699a76fe8cc00e03d7c56dbd8af07b58f328e (commit)
via 6f4871059ab77831555fdc149a9dd652f7173f0f (commit)
via e1a1c01d09ce8ca2d70df8536467de4da0b0393e (commit)
via 99c87a77b33fe6d5b7f605204ce1274311c4a503 (commit)
via a26ef553dfdd6879507be1f8928b6e72572c7cf7 (commit)
from 2fe9dc242461f3faa2932aa8578526b4bc41f201 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
setup.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-09 21:16:14
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.5 has been updated
via e1a1c01d09ce8ca2d70df8536467de4da0b0393e (commit)
via 99c87a77b33fe6d5b7f605204ce1274311c4a503 (commit)
via a26ef553dfdd6879507be1f8928b6e72572c7cf7 (commit)
from 752dcb5183419bd35a872fbcd97337c228331dea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
setup.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The annotated tag, 1.7.0 has been created
at f4443f27854102b187b8196fa5bd93e5babc2632 (tag)
tagging ff531c3f7ff97f5f224ad3ba816dc6de8a6036e1 (commit)
replaces 1.7.0b2
tagged by Oleg Broytman
on Mon Dec 8 23:55:35 2014 +0300
- Log -----------------------------------------------------------------
Release 1.7.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCgAGBQJUhhBHAAoJEG4IC3C2KHsD+oMP/RfG6TvHH1m8tbvNnxObFmFb
wG/6J0WruyPfW0Qmsfqnne2/sH+cCDv8vAvj0AWp+kxWMtiABs6fr3M/2AznF2KT
Smi8ynWHTccprfwHzRtcKkm8/AIRfJqnvyb8LGh+HmcJUtVh5znt/GcswFoMfLd7
e3jrmYSEDK1FHusVvmA1mnG9gQproiCUWB7HlCFBW5hSSYj0IeeC33NM1yq2w9Oi
29OWgWuMTRLmi3xa52gUbuC1aS5Z8AM60OsfuCRuCAFkEmAGwfumWpvKiWx1kwRy
B2EICwbGxvJjzV0kivwJtGZnejoTBhZ0wCCuHzl773+8s18NpPZn9s16qNrp7Ao/
epBl7uHDiGELSSH1IYF+lLW5ZVWmVZ4IluP1OjljjWQIrocL+ncl8qWjJR6SrLLG
FCDlDsg3iRRav2jdwBOjqIdzxIlANqYE+aEPGZZ7QzZrp2+gtsK4t1aJDWaEBePm
4+ShNdvYBpT6p5R6byVcQ/j54opIPhZZ7TLReKbt0SKm33zVl+ed+Xo/n3+nNcet
4fvOATNOYHApjNOwZcZzunFrWbVghqHIpXYn/L8srIvI5d8LT+l5qBmC2KWkKcvM
WdfhXgGV7cZNBkeWy/XKRwbkUe48Tv8CwLTuAkFNtvpNAiAVrrWVvHHZXMrBjB9I
XV80QQ4rOdMEThl6UX/Z
=USAs
-----END PGP SIGNATURE-----
Oleg Broytman (16):
Downgrade ez_setup.py to 2.2 for Travis CI
Add .travis.yml
Merge branch '1.5' into 1.6
Merge branch '1.5' into 1.7
Fix a minor bug in MSSQLConnection
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
SQLObject 1.5.4 was released 8 Dec 2014
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
Release 1.5.4
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
Release 1.6.2
Merge branch '1.6' into 1.7
Release 1.7.0
-----------------------------------------------------------------------
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:23
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The annotated tag, 1.6.2 has been created
at a0007509468f2c8ee4c0021e00fcacacd7249a41 (tag)
tagging 2fe9dc242461f3faa2932aa8578526b4bc41f201 (commit)
replaces 1.6.1
tagged by Oleg Broytman
on Mon Dec 8 23:54:01 2014 +0300
- Log -----------------------------------------------------------------
Release 1.6.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCgAGBQJUhg/pAAoJEG4IC3C2KHsDLdwP/33da/PCMYCJq+W62X49KZTB
nIJB2VmYZ9KyR/hg7SbxkUw53q6VETbNWWMFzmflGaNpDwtrT5dlpKMT4yeXMMG6
hqXQGaZVJgXAqxgxtaVGnp54b0DDhEeOXvTNvVUt6U8JMcjBd91Nq3BjLoosqOWH
f+VhJae7n6w0Bwprbzq9f/Q/So+l8mArOtqTrXrUABhjg2NCtZKCfdkuzZUuz6EF
l0LMs1u4+V9B77nHXZeRzx1OmJ/NNJSxEtcNalmESmpt2X2+1nA674SmEdr4QDru
v2gVz/O0wMsNXzkmJn1SKOwTyjhkiEYRcR7bsxn1wu7bc39RYZ5RceSizoVZLhl2
dwaCqyyUoHPpRsZsvHcDERv3iZDCpuKjmcEvPFA/g6lNq+rEy38fc8vZ31wtEPfL
SFcJBWm83lXJgMxSLiwdAbzul72+LUiCdD+LyETOCE7tdQq5zMHYAIoH43pGutLp
ywweVyK/QWxwmD3zKtI/Sh3rgnmqwAjXtlYaNFkVkdLLzyB5FV1HS3CKaTz7hl8h
R+03Gm1T1uSfY7vWs2quPP6JUUNvy4UvjJcBtWLO00H4v1EEUUn1MElEviuJBCTN
paB5jI18JmAVPGOu9nZvRlrJMokWieN32nUDIwA+UfR2FSUnUj8ll7syX+IMsBc1
unwXNeTMT/0HaruSo+4X
=jKyE
-----END PGP SIGNATURE-----
Oleg Broytman (11):
Add ez_setup.py version 0.6c11
Merge branch '1.5' into 1.6
Add .travis.yml
Merge branch '1.5' into 1.6
Fix a minor bug in MSSQLConnection
Merge branch '1.5' into 1.6
SQLObject 1.5.4 was released 8 Dec 2014
Merge branch '1.5' into 1.6
Release 1.5.4
Merge branch '1.5' into 1.6
Release 1.6.2
-----------------------------------------------------------------------
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:21
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The annotated tag, 1.5.4 has been created
at af7d85a81699f0a0b1284e1f7f2b941f8747f392 (tag)
tagging 752dcb5183419bd35a872fbcd97337c228331dea (commit)
replaces 1.5.3
tagged by Oleg Broytman
on Mon Dec 8 23:50:44 2014 +0300
- Log -----------------------------------------------------------------
Release 1.5.4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCgAGBQJUhg8kAAoJEG4IC3C2KHsDw9QP/RRikSH9QiwtLaEGqHT6Xha4
irAxRdzVE5Ujbvr7KAtZd+g6GPop977S/8/8ATnY7fylqpWdzfLVSBh6iQk5hDTh
A5qUNwAst8N977Jy66DqrXzK6UjAVyre05va3NnsMvalmYPS4MFNqmO0qKE19PvO
/Rw3gmksSlqCS9AxUasdVRFhIJQ2FF8gmq+BH1aqS59Wq6bN2dXRVsCYPPQqKo4Y
0+0lpq/eYsgeUaAgalz3bJvoUt/DNNM3b7x2PY+ElTeO0NLfCEYFGaS6t6zH+hbQ
Hw7bpWRgau1Ht3zx0B1YaNcSD5ieUigNR/vx3maHB5ZSLTjIN+pwZxr7pT9ittUt
z/hNd0p/KOIC2Jh/tbqn74vCCdW0L5Hfmb90KvH/BmgCz755EQtlF/TJRd6d+TX5
HlDp9cqvg56LsOeozvivyZ5I/wtfu53V95OjjP7Rb46FUThReDo0k8Vxjct3pFFb
LZsOFZWHIClDX/E8Acn/d52R+cM55+0inCVlUuj3VhB8MpoBhrVNXKwPS6eKDN8T
s/GOWIEA6ShkRYa54SrLlCIgZVIB1KxPnw1kq2tnKc3eYP63MYUAfzQWYN6ooOg5
zJQM0G/CP3qoPYHQlYka4Rrtt18c0yTTnqdQwFDd2w4d0FzpZl7sywdG6unJSHr9
1h40lDL7/pXhARx32v9x
=TN12
-----END PGP SIGNATURE-----
Oleg Broytman (5):
Add ez_setup.py version 0.6c11
Add .travis.yml
Fix a minor bug in MSSQLConnection
SQLObject 1.5.4 was released 8 Dec 2014
Release 1.5.4
-----------------------------------------------------------------------
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 24513bee32cdbb62d6ecf52fb5ab2045f7ab5386 (commit)
via ff531c3f7ff97f5f224ad3ba816dc6de8a6036e1 (commit)
via 95123924885503c43fd12b4f60ca886366a00fe5 (commit)
via 98d0031e6acd125c6dbbeb63b31bae262920f757 (commit)
via 2fe9dc242461f3faa2932aa8578526b4bc41f201 (commit)
via dfa79b0f993c1750b586253cfd54f00bb979de24 (commit)
via d485c3e662f18b51fdd82e4ecb55f34cd354d475 (commit)
via 4a5fa4db512433bae3d055c69cbf42185c3046eb (commit)
via 752dcb5183419bd35a872fbcd97337c228331dea (commit)
via 2561330fd53456e6ebb898c3d84ffb4d86393c44 (commit)
via 5de78f1658d3732f7f1192207fe6ad62c16c0e1b (commit)
via 6c2aad69a8be43b2e60d4c79df2ee559d9ace428 (commit)
via 7f0b386880367612267c448b284b9a4aea70db44 (commit)
via 3fc6b9cff8b8e54436be94a8a9de28970841990c (commit)
via 1c534987b3a11640396e6ddaf57845c44d6a0e69 (commit)
via afde75b5f3a448f35991389d39398b8fa33f8981 (commit)
via ad7055a1571f384c22cd832ce1a626c282e8fbfa (commit)
via fbe1096997ca5569e0f6cceef37142195b2511a8 (commit)
via f2a52a698557fb87fa8d13d7438acc89991b6e1b (commit)
via f137ff1c14143cd07ea99c34dc1950a298562392 (commit)
from 6554c8799f43a8e5ceadbb00a94b1a7b0cefdb24 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/24513bee32cdbb62d6ecf52fb5ab2045f7ab5386
commit 24513bee32cdbb62d6ecf52fb5ab2045f7ab5386
Merge: 9512392 ff531c3
Author: Oleg Broytman <ph...@ph...>
Date: Mon Dec 8 23:55:41 2014 +0300
Merge branch '1.7'
http://sourceforge.net/p/sqlobject/sqlobject/ci/95123924885503c43fd12b4f60ca886366a00fe5
commit 95123924885503c43fd12b4f60ca886366a00fe5
Merge: dfa79b0 98d0031
Author: Oleg Broytman <ph...@ph...>
Date: Mon Dec 8 23:54:28 2014 +0300
Merge branch '1.7'
http://sourceforge.net/p/sqlobject/sqlobject/ci/dfa79b0f993c1750b586253cfd54f00bb979de24
commit dfa79b0f993c1750b586253cfd54f00bb979de24
Merge: 2561330 d485c3e
Author: Oleg Broytman <ph...@ph...>
Date: Mon Dec 8 23:52:21 2014 +0300
Merge branch '1.7'
http://sourceforge.net/p/sqlobject/sqlobject/ci/2561330fd53456e6ebb898c3d84ffb4d86393c44
commit 2561330fd53456e6ebb898c3d84ffb4d86393c44
Merge: 3fc6b9c 5de78f1
Author: Oleg Broytman <ph...@ph...>
Date: Mon Dec 8 23:46:05 2014 +0300
Merge branch '1.7'
http://sourceforge.net/p/sqlobject/sqlobject/ci/3fc6b9cff8b8e54436be94a8a9de28970841990c
commit 3fc6b9cff8b8e54436be94a8a9de28970841990c
Merge: 6554c87 1c53498
Author: Oleg Broytman <ph...@ph...>
Date: Mon Dec 8 23:13:11 2014 +0300
Merge branch '1.7'
[skip ci]
diff --cc docs/News.txt
index 4639431,616e3f3..5c4bf54
--- a/docs/News.txt
+++ b/docs/News.txt
@@@ -7,38 -7,6 +7,36 @@@ New
.. _start:
+SQLObject 2.0.0 (master)
+========================
+
+Features & Interface
+--------------------
+
+* DateTimeCol and TimeCol can read and write values with microseconds.
+
+ WARNING: backward compatibility problem! Date/Time columns created
+ with microseconds cannot be read back from SQLite databases (and
+ perhaps other backends) with versions of SQLObject older than 1.7.
+
+Minor features
+--------------
+
+* PostgresConnection, when used with fromDatabase=True, sets alternateID
+ for unique columns.
+
- * Upgrade ez_setup to 7.0.
-
+Development
+-----------
+
+* Development was switched from Subversion to git.
+
+Documentation
+-------------
+
+* Old news were restored back to version 0.2.1.
+
+* News.txt was split into 5 small files.
+
SQLObject 1.7.0
===============
@@@ -92,11 -66,12 +96,17 @@@ Bugfixe
* A bugfix was ported from `SQLObject 1.5.2`_.
+Development
+-----------
+
+* Development switched from Subvesion to git.
+
+ SQLObject 1.5.4
+ ===============
+
+ * Fix a minor bug in MSSQLConnection: do not override callable server_version
+ with a non-callable.
+
SQLObject 1.5.3
===============
-----------------------------------------------------------------------
Summary of changes:
docs/News.txt | 24 ++++++++++++++++++++----
sqlobject/mssql/mssqlconnection.py | 7 +++++--
2 files changed, 25 insertions(+), 6 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:17
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.7 has been updated
via ff531c3f7ff97f5f224ad3ba816dc6de8a6036e1 (commit)
via 98d0031e6acd125c6dbbeb63b31bae262920f757 (commit)
via 2fe9dc242461f3faa2932aa8578526b4bc41f201 (commit)
via d485c3e662f18b51fdd82e4ecb55f34cd354d475 (commit)
via 4a5fa4db512433bae3d055c69cbf42185c3046eb (commit)
via 752dcb5183419bd35a872fbcd97337c228331dea (commit)
via 5de78f1658d3732f7f1192207fe6ad62c16c0e1b (commit)
via 6c2aad69a8be43b2e60d4c79df2ee559d9ace428 (commit)
via 7f0b386880367612267c448b284b9a4aea70db44 (commit)
via 1c534987b3a11640396e6ddaf57845c44d6a0e69 (commit)
via afde75b5f3a448f35991389d39398b8fa33f8981 (commit)
via ad7055a1571f384c22cd832ce1a626c282e8fbfa (commit)
via f2a52a698557fb87fa8d13d7438acc89991b6e1b (commit)
from fbe1096997ca5569e0f6cceef37142195b2511a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
README.txt | 4 ++--
docs/News.txt | 22 ++++++++++++++++++++--
setup.cfg | 4 ----
setup.py | 2 +-
sqlobject/__version__.py | 6 +++---
sqlobject/mssql/mssqlconnection.py | 7 +++++--
6 files changed, 31 insertions(+), 14 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:15
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.6 has been updated
via 2fe9dc242461f3faa2932aa8578526b4bc41f201 (commit)
via 4a5fa4db512433bae3d055c69cbf42185c3046eb (commit)
via 752dcb5183419bd35a872fbcd97337c228331dea (commit)
via 6c2aad69a8be43b2e60d4c79df2ee559d9ace428 (commit)
via 7f0b386880367612267c448b284b9a4aea70db44 (commit)
via afde75b5f3a448f35991389d39398b8fa33f8981 (commit)
via ad7055a1571f384c22cd832ce1a626c282e8fbfa (commit)
from f2a52a698557fb87fa8d13d7438acc89991b6e1b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
README.txt | 2 +-
docs/News.txt | 15 +++++++++++++++
sqlobject/__version__.py | 4 ++--
sqlobject/mssql/mssqlconnection.py | 7 +++++--
4 files changed, 23 insertions(+), 5 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-08 21:04:13
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.5 has been updated
via 752dcb5183419bd35a872fbcd97337c228331dea (commit)
via 7f0b386880367612267c448b284b9a4aea70db44 (commit)
via ad7055a1571f384c22cd832ce1a626c282e8fbfa (commit)
from f137ff1c14143cd07ea99c34dc1950a298562392 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
README.txt | 2 +-
docs/News.txt | 8 ++++++++
sqlobject/__version__.py | 4 ++--
sqlobject/mssql/mssqlconnection.py | 7 +++++--
4 files changed, 16 insertions(+), 5 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-05 18:30:40
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 6554c8799f43a8e5ceadbb00a94b1a7b0cefdb24 (commit)
from bcb697182fb07f7ac59b473553ff7818db96b923 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/6554c8799f43a8e5ceadbb00a94b1a7b0cefdb24
commit 6554c8799f43a8e5ceadbb00a94b1a7b0cefdb24
Author: Oleg Broytman <ph...@ph...>
Date: Fri Dec 5 21:25:03 2014 +0300
Run tests on all (changed) branches
diff --git a/.travis.yml b/.travis.yml
index 58facf8..241234c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,10 +3,6 @@ python:
- "2.6"
- "2.7"
-branches:
- only:
- - master
-
env:
- DB=mysql
- DB=postgres
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-05 18:30:33
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.7 has been updated
via fbe1096997ca5569e0f6cceef37142195b2511a8 (commit)
via f137ff1c14143cd07ea99c34dc1950a298562392 (commit)
from 0c21ff40f0a9eac3ab0058b0c02f90a5012fcc31 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/fbe1096997ca5569e0f6cceef37142195b2511a8
commit fbe1096997ca5569e0f6cceef37142195b2511a8
Merge: 0c21ff4 f137ff1
Author: Oleg Broytman <ph...@ph...>
Date: Fri Dec 5 21:24:36 2014 +0300
Merge branch '1.5' into 1.7
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 .travis.yml
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-05 18:30:26
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.6 has been updated
via f2a52a698557fb87fa8d13d7438acc89991b6e1b (commit)
via f137ff1c14143cd07ea99c34dc1950a298562392 (commit)
from e84523cc98bd20df3d44871427434a3ceae01e9c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/f2a52a698557fb87fa8d13d7438acc89991b6e1b
commit f2a52a698557fb87fa8d13d7438acc89991b6e1b
Merge: e84523c f137ff1
Author: Oleg Broytman <ph...@ph...>
Date: Fri Dec 5 21:24:11 2014 +0300
Merge branch '1.5' into 1.6
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 .travis.yml
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-05 18:30:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.5 has been updated
via f137ff1c14143cd07ea99c34dc1950a298562392 (commit)
from 21bf05cd92dd90f96a489ce4e15b25ef60653a1c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 .travis.yml
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-04 15:06:11
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via bcb697182fb07f7ac59b473553ff7818db96b923 (commit)
via 0c21ff40f0a9eac3ab0058b0c02f90a5012fcc31 (commit)
via 6fe93344f9ffb7c190ab3dab472079c6aa5d0c73 (commit)
via 47b2e40b9c90067324843310ff5a1b7fa5ff0ab3 (commit)
from faba9cac121d78779c437f226642c1f72c026c43 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/bcb697182fb07f7ac59b473553ff7818db96b923
commit bcb697182fb07f7ac59b473553ff7818db96b923
Merge: 6fe9334 0c21ff4
Author: Oleg Broytman <ph...@ph...>
Date: Thu Dec 4 18:03:35 2014 +0300
Merge branch '1.7'
http://sourceforge.net/p/sqlobject/sqlobject/ci/6fe93344f9ffb7c190ab3dab472079c6aa5d0c73
commit 6fe93344f9ffb7c190ab3dab472079c6aa5d0c73
Author: Oleg Broytman <ph...@ph...>
Date: Thu Dec 4 17:51:54 2014 +0300
Install itself into site-packages (requires by conftest.py)
diff --git a/.travis.yml b/.travis.yml
index daef19f..58facf8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,7 @@ install:
- if [[ $DB == mysql ]]; then pip install --use-mirrors mysql-python; fi;
- if [[ $DB == postgres ]]; then pip install --use-mirrors psycopg2; fi;
- pip install --use-mirrors pytest 'FormEncode>=1.1.1'
+ - pip install .
before_script:
- if [[ $DB == mysql ]]; then mysql -e 'create database sqlobject_test;'; fi;
http://sourceforge.net/p/sqlobject/sqlobject/ci/47b2e40b9c90067324843310ff5a1b7fa5ff0ab3
commit 47b2e40b9c90067324843310ff5a1b7fa5ff0ab3
Author: Oleg Broytman <ph...@ph...>
Date: Thu Dec 4 17:42:44 2014 +0300
Install FormEncode
diff --git a/.travis.yml b/.travis.yml
index 979db91..daef19f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,7 @@ env:
install:
- if [[ $DB == mysql ]]; then pip install --use-mirrors mysql-python; fi;
- if [[ $DB == postgres ]]; then pip install --use-mirrors psycopg2; fi;
- - pip install --use-mirrors pytest
+ - pip install --use-mirrors pytest 'FormEncode>=1.1.1'
before_script:
- if [[ $DB == mysql ]]; then mysql -e 'create database sqlobject_test;'; fi;
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 3 +-
ez_setup.py | 216 ++++++++++++++++++++++++++++++++++-------------------------
2 files changed, 126 insertions(+), 93 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-04 15:06:09
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, 1.7 has been updated
via 0c21ff40f0a9eac3ab0058b0c02f90a5012fcc31 (commit)
from d693f5c5a6bc1af141aa7b88287eb7e792cffaef (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
ez_setup.py | 214 ++++++++++++++++++++++++++++++++++-------------------------
1 files changed, 123 insertions(+), 91 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-04 14:35:33
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via faba9cac121d78779c437f226642c1f72c026c43 (commit)
from 6e2d27267277a9aec02b4a08db8bbd661e1b5a8e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/faba9cac121d78779c437f226642c1f72c026c43
commit faba9cac121d78779c437f226642c1f72c026c43
Author: Oleg Broytman <ph...@ph...>
Date: Thu Dec 4 17:34:22 2014 +0300
Install py.test
diff --git a/.travis.yml b/.travis.yml
index 71640b6..979db91 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,7 @@ env:
install:
- if [[ $DB == mysql ]]; then pip install --use-mirrors mysql-python; fi;
- if [[ $DB == postgres ]]; then pip install --use-mirrors psycopg2; fi;
+ - pip install --use-mirrors pytest
before_script:
- if [[ $DB == mysql ]]; then mysql -e 'create database sqlobject_test;'; fi;
@@ -22,6 +23,6 @@ before_script:
script:
- cd sqlobject
- - if [[ $DB == mysql ]]; then /usr/bin/py.test -D mysql://root:@localhost/sqlobject_test; fi
- - if [[ $DB == postgres ]]; then /usr/bin/py.test -D postgres://postgres:@localhost/sqlobject_test; fi
- - if [[ $DB == sqlite ]]; then /usr/bin/py.test -D sqlite:///tmp/sqlobject_test.sqdb; fi
+ - if [[ $DB == mysql ]]; then py.test -D mysql://root:@localhost/sqlobject_test; fi
+ - if [[ $DB == postgres ]]; then py.test -D postgres://postgres:@localhost/sqlobject_test; fi
+ - if [[ $DB == sqlite ]]; then py.test -D sqlite:///tmp/sqlobject_test.sqdb; fi
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-12-04 14:11:46
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 6e2d27267277a9aec02b4a08db8bbd661e1b5a8e (commit)
from c7574877ac2d0eba0f5555d58c351a32375e1b07 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/6e2d27267277a9aec02b4a08db8bbd661e1b5a8e
commit 6e2d27267277a9aec02b4a08db8bbd661e1b5a8e
Author: Oleg Broytman <ph...@ph...>
Date: Thu Dec 4 17:08:10 2014 +0300
Add Travis CI config
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..71640b6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+language: python
+python:
+ - "2.6"
+ - "2.7"
+
+branches:
+ only:
+ - master
+
+env:
+ - DB=mysql
+ - DB=postgres
+ - DB=sqlite
+
+install:
+ - if [[ $DB == mysql ]]; then pip install --use-mirrors mysql-python; fi;
+ - if [[ $DB == postgres ]]; then pip install --use-mirrors psycopg2; fi;
+
+before_script:
+ - if [[ $DB == mysql ]]; then mysql -e 'create database sqlobject_test;'; fi;
+ - if [[ $DB == postgres ]]; then psql -c 'create database sqlobject_test;' -U postgres; fi;
+
+script:
+ - cd sqlobject
+ - if [[ $DB == mysql ]]; then /usr/bin/py.test -D mysql://root:@localhost/sqlobject_test; fi
+ - if [[ $DB == postgres ]]; then /usr/bin/py.test -D postgres://postgres:@localhost/sqlobject_test; fi
+ - if [[ $DB == sqlite ]]; then /usr/bin/py.test -D sqlite:///tmp/sqlobject_test.sqdb; fi
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644 .travis.yml
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-10-28 22:54:43
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via c7574877ac2d0eba0f5555d58c351a32375e1b07 (commit)
from f844e14e7425bf2885e344496d5e61ea0884abaf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/c7574877ac2d0eba0f5555d58c351a32375e1b07
commit c7574877ac2d0eba0f5555d58c351a32375e1b07
Author: Oleg Broytman <ph...@ph...>
Date: Wed Oct 29 01:44:14 2014 +0300
Old news were restored back to version 0.2.1
News.txt was split into 5 small files.
diff --git a/docs/News.txt b/docs/News.txt
index 9968cc2..4639431 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -32,6 +32,13 @@ Development
* Development was switched from Subversion to git.
+Documentation
+-------------
+
+* Old news were restored back to version 0.2.1.
+
+* News.txt was split into 5 small files.
+
SQLObject 1.7.0
===============
@@ -395,317 +402,9 @@ Features & Interface
* Parameter ``backend`` in DB URI is no longer supported, use parameter
``driver``.
-SQLObject 0.15.1
-================
-
-Released 22 Mar 2011.
-
-* A bug was fixed in MSSQLConnection.
-
-* A minor bug was fixed in sqlbuilder.Union.
-
-SQLObject 0.15.0
-================
-
-Released 6 Dec 2010.
-
-Features & Interface
---------------------
-
-* Major API change: all signals are sent with the instance (or the class)
- as the first parameter. The following signals were changed:
- RowCreateSignal, RowCreatedSignal, DeleteColumnSignal.
-
-* Major API change: post-processing functions for all signals are called
- with the instance as the first parameter. The following signals were
- changed: RowUpdatedSignal, RowDestroySignal, RowDestroyedSignal.
-
-SQLObject 0.14.2
-================
-
-* A minor bug was fixed in sqlbuilder.Union.
-
-SQLObject 0.14.1
-================
-
-Released 15 Oct 2010.
-
-* A bugfix was ported from `SQLObject 0.13.1`_.
-
-SQLObject 0.14.0
-================
-
-Released 10 Oct 2010.
-
-Features & Interface
---------------------
-
-* The lists of columns/indices/joins are now sorted according to the order
- of declaration.
-
-* ``validator2`` was added to all columns; it is inserted at the beginning
- of the list of validators, i.e. its ``from_python()`` method is called
- first, ``to_python()`` is called last, after all validators in the list.
-
-* SQLiteConnection's parameter ``use_table_info`` became boolean with default
- value True; this means the default schema parser is now based on ``PRAGMA
- table_info()``.
-
-* Major API change: attribute ``dirty`` was moved to sqlmeta.
-
-SQLObject 0.13.1
-================
-
-Released 15 Oct 2010.
-
-* A bug was fixed in a subtle case when a per-instance connection is not
- passed to validators.
-
-SQLObject 0.13.0
-================
-
-Released 11 Aug 2010.
-
-Features & Interface
---------------------
-
-* SQLObject instances that don't have a per-instance connection can be
- pickled and unpickled.
-
-* Validators became stricter: StringCol and UnicodeCol now accept only str,
- unicode or an instance of a class that implements __unicode__ (but not
- __str__ because every object has a __str__ method); BoolCol accepts only
- bool or int or an instance of a class that implements __nonzero__; IntCol
- accepts int, long or an instance of a class that implements __int__ or
- __long__; FloatCol accepts float, int, long or an instance of a class
- that implements __float__, __int__ or __long__.
-
-* Added a connection class for rdbhost.com (commercial Postgres-over-Web
- service).
-
-Small Features
---------------
-
-* Added TimedeltaCol; currently it's only implemented on PostgreSQL as an
- INTERVAL type.
-
-* Do not pollute the base sqlmeta class to allow Style to set idName. In
- the case of inherited idName inherited value takes precedence; to allow
- Style to set idName reset inherited idName to None.
-
-* Better handling of circular dependencies in sqlobject-admin -
- do not include the class in the list of other classes.
-
-* Renamed db_encoding to dbEncoding in UnicodeStringValidator.
-
-* A new parameter ``sslmode`` was added to PostgresConnection.
-
-* Removed SQLValidator - its attemptConvert was never called because in
- FormEncode it's named attempt_convert.
-
-SQLObject 0.12.5
-================
-
-* ``backend`` parameter was renamed to ``driver``. To preserve backward
- compatibility ``backend`` is still recognized and will be recognized
- for some time.
-
-SQLObject 0.12.4
-================
-
-Released 5 May 2010.
-
-* Bugs were fixed in calling from_python().
-
-* A bugfix was ported from `SQLObject 0.11.6`_.
-
-SQLObject 0.12.3
-================
-
-Released 11 Apr 2010.
-
-* A bugfix ported from `SQLObject 0.11.5`_.
-
-SQLObject 0.12.2
-================
-
-Released 4 Mar 2010.
-
-* Bugfixes ported from `SQLObject 0.11.4`_.
-
-SQLObject 0.12.1
-================
-
-Released 8 Jan 2010.
-
-* Fixed three bugs in PostgresConnection.
-
-* A number of changes ported from `SQLObject 0.11.3`_.
-
-SQLObject 0.12
-==============
-
-Released 20 Oct 2009.
-
-Features & Interface
---------------------
-
-* .selectBy(), .deleteBy() and .by*() methods pass all values through
- .from_python(), not only unicode.
-
-* The user can choose a DB API driver for SQLite by using a ``backend``
- parameter in DB URI or SQLiteConnection that can be a comma-separated
- list of backend names. Possible backends are: ``pysqlite2`` (alias
- ``sqlite2``), ``sqlite3``, ``sqlite`` (alias ``sqlite1``). Default is
- to test pysqlite2, sqlite3 and sqlite in that order.
-
-* The user can choose a DB API driver for PostgreSQL by using a ``backend``
- parameter in DB URI or PostgresConnection that can be a comma-separated
- list of backend names. Possible backends are: ``psycopg2``, ``psycopg1``,
- ``psycopg`` (tries psycopg2 and psycopg1), ``pygresql``. Default is
- ``psycopg``.
- WARNING: API change! PostgresConnection's parameter
- ``usePygresql`` is now replaced with ``backend=pygresql``.
-
-* The user can choose a DB API driver for MSSQL by using a ``backend``
- parameter in DB URI or MSSQLConnection that can be a comma-separated
- list of backend names. Possible backends are: ``adodb`` (alias
- ``adodbapi``) and ``pymssql``. Default is to test adodbapi and pymssql
- in that order.
-
-* alternateMethodName is defined for all unique fields, not only alternateID;
- this makes SQLObject create .by*() methods for all unique fields.
-
-* SET client_encoding for PostgreSQL to the value of ``charset`` parameter
- in DB URI or PostgresConnection.
-
-* TimestampCol() can be instantiated without any defaults, in this case
- default will be None (good default for TIMESTAMP columns in MySQL).
-
-Small Features
---------------
-
-* Imported DB API drivers are stored as connection instance variables, not
- in global variables; this allows to use different DB API drivers at the
- same time; for example, PySQLite2 and sqlite3.
-
-* Removed all deprecated attributes and functions.
-
-* Removed the last remained string exceptions.
-
-SQLObject 0.11.6
-================
-
-Released 5 May 2010.
-
-* A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as
- size/precision to DecimalCol; DecimalCol doesn't allow default values (to
- force user to pass meaningful values); but columnsFromSchema() doesn't
- implement proper parsing of column details.
-
-SQLObject 0.11.5
-================
-
-Released 11 Apr 2010.
-
-* Fixed a bug in replacing _connection in a case when no previous
- _connection has been set.
-
-SQLObject 0.11.4
-================
-
-Released 4 Mar 2010.
-
-* Fixed a bug in inheritance - if creation of the row failed and if the
- connection is not a transaction and is in autocommit mode - remove
- parent row(s).
-
-* Do not set _perConnection flag if get() or _init() is passed the same
- connection; this is often the case with select().
-
-SQLObject 0.11.3
-================
-
-Released 8 Jan 2010.
-
-* Fixed a bug in col.py and dbconnection.py - if dbEncoding is None suppose
- it's 'ascii'.
-
-* Fixed a bug in FirebirdConnection.
-
-* The cache culling algorithm was enhanced to eliminate memory leaks by
- removing references to dead objects; tested on a website that runs around
- 4 million requests a day.
-
-SQLObject 0.11.2
-================
-
-Released 30 Sep 2009.
-
-* Fixed a bug in logging to console - convert unicode to str.
-
-* Fixed an obscure bug in ConnectionHub triggered by an SQLObject class
- whose instances can be coerced to boolean False.
-
-SQLObject 0.11.1
-================
-
-Released 20 Sep 2009.
-
-* Fixed a bug: Sybase tables with identity column fire two identity_inserts.
-
-* Fixed a bug: q.startswith(), q.contains() and q.endswith() escape (with a
- backslash) all special characters (backslashes, underscores and percent
- signs).
-
-SQLObject 0.11.0
-================
-
-Released 12 Aug 2009.
-
-Features & Interface
---------------------
-
-* Dropped support for Python 2.3. The minimal version of Python for
- SQLObject is 2.4 now.
-
-* Dropped support for PostgreSQL 7.2. The minimal supported version of
- PostgreSQL is 7.3 now.
-
-* New magic attribute ``j`` similar to ``q`` was added that
- automagically does join with the other table in MultipleJoin or
- RelatedJoin.
-
-* SQLObject can now create and drop a database in MySQL, PostgreSQL, SQLite
- and Firebird/Interbase.
-
-* Added some support for schemas in PostgreSQL.
-
-* Added DecimalStringCol - similar to DecimalCol but stores data as strings
- to work around problems in some drivers and type affinity problem in
- SQLite.
-
-* Added sqlobject.include.hashcol.HashCol - a column type that automatically
- hashes anything going into it, and returns out an object that hashes
- anything being compared to itself. Basically, it's good for really simple
- one-way password fields, and it even supports the assignment of None to
- indicate no password set. By default, it uses the md5 library for
- hashing, but this can be changed in a HashCol definition.
-
-* RowDestroyedSignal and RowUpdatedSignal were added.
-
-Minor features
---------------
-
-* Use reversed() in manager/command.py instead of .__reversed__().
-
-* Minor change in logging to console - logger no longer stores the output
- file, it gets the file from module sys every time by name; this means
- logging will use new sys.stdout (or stderr) in case the user changed
- them.
+`Older news`__
-* Changed the order of testing of SQLite modules - look for external
- PySQLite2 before sqlite3.
+.. __: News4.html
.. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10
:target: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News1.txt b/docs/News1.txt
new file mode 100644
index 0000000..c81adb6
--- /dev/null
+++ b/docs/News1.txt
@@ -0,0 +1,458 @@
+++++
+News
+++++
+
+.. contents:: Contents:
+ :backlinks: none
+
+.. _start:
+
+SQLObject 0.6.1
+===============
+
+Interface Changes
+-----------------
+
+* The long broken and unused ``DBMConnection`` has been removed.
+
+* Added a connection parameter to all class methods (patch 974755)
+
+* Connection objects have a ``.module`` attribute, which points to
+ the DB-API module. This is useful for getting access to the
+ exception objects.
+
+Features
+--------
+
+* New ``UnicodeCol()`` that converts to and from Unicode
+ in the database. See docs_.
+
+.. _docs: SQLObject.html#subclasses-of-col
+
+* Added indexing (from Jeremy Fitzhardinge). See `the
+ documentation`__ for more.
+
+.. __: SQLObject.html#indexes
+
+* All connections are explicitly closed, not just garbage collected.
+ Many database drivers don't close database connections properly when
+ the connection object is garbage collected.
+
+* New ``distinct`` option to selects, like ``MyClass.select(...,
+ distinct=True)``
+
+* You can now do
+ ``MyClass.selectBy(joinedTable=joinedTableInstance)``, where before
+ you had to do
+ ``MyClass.selectBy(joinedTableID=joinedTableInstance.id)``. (From
+ Dave Cook)
+
+SQLObject 0.6
+=============
+
+Interface Changes
+-----------------
+
+* Lazy updates. Add ``_lazyUpdate=True`` to your class, and updates
+ will only be written when you call ``obj.syncUpdate()`` or
+ ``obj.sync()`` (``sync`` also refetches the data from the database,
+ which ``syncUpdate`` does not do). When enabled, instances have a
+ property ``dirty``, which indicates if they have pending updates.
+ Inserts are still done immediately.
+
+* Separated database drivers (PostgresConnection, MySQLConnection,
+ etc.) into separate packages. You can access the driver through
+ URIs, like ``mysql://user:pass@host/dbname`` -- to set drivers after
+ class creation you should use `sqlobject.connectionForURI()`.
+
+* The ``SQLObject`` package has been renamed to ``sqlobject``. This
+ makes it similar to several other packages, and emphasizes the
+ distinction between the ``sqlobject`` package and the ``SQLObject``
+ class.
+
+* Class instantiation now creates new rows (like `.new()` used to
+ do), and the `.get()` method now retrieves objects that already have
+ rows (like class instantiation used to do).
+
+* We're now using a Subversion repository instead of CVS. It is
+ located at http://svn.colorstudy.com/trunk/SQLObject
+
+* If you pass ``forceDBName=True`` to the ``*Col`` constructors, then
+ your column name doesn't have to be restricted to a-z, 0-9, and _.
+
+* ``*Col`` constructors now support cascade: ``cascade=None``
+ (default) means no constraint; ``cascade=True`` means that if the
+ foreign key is deleted, the object will be deleted;
+ ``cascade=False`` means that the delete will fail;
+ ``cascade="null"`` means that the column will be set to NULL. The
+ constraints are only implemented in the DBMS, not in SQLObject
+ (i.e., they will not work in databases like MySQL and SQLite).
+
+* New ``_create(id, **kw)`` method that can be overridden to intercept
+ and modify attempts to insert rows in the database.
+
+* You can specify ``_idType`` in your class, like ``_idType = str``.
+ The default type is ``int``; i.e., IDs are coerced to integers.
+ This is a temporary interface; a more general specifier for primary
+ keys will be added later.
+
+* New classmethod ``createTableSQL()`` method for SQLObject classes,
+ which returns the SQL that can be used to create the table. Analog
+ to ``createTable()``.
+
+Bugs
+----
+
+* SQLite booleans fixed.
+
+* You can now use ``sqlite:/:memory:`` to store the database in
+ memory.
+
+* Some bugs resolved when caching is turned off (SF 956847)
+
+SQLObject 0.5.3
+===============
+
+Bugs
+----
+
+* Python 2.2 booleans fixed (SF: 903488)
+
+* Longs (e.g., ``1L``) get converted properly (SF: 939965)
+
+SQLObject 0.5.2
+===============
+
+We're now using Subversion instead of CVS. The repository is located
+at svn://colorstudy.com/trunk/SQLObject
+
+Interface Changes
+-----------------
+
+* If you commit or rollback a transaction, you must call
+ ``trans.begin()`` to restart the transaction. Any database access on
+ the transaction inbetween commit/rollback and being will result in an
+ AssertionError. (It's also acceptable to create a new transaction
+ object instead of reusing the old one, but objects in that
+ transaction will be invalid)
+
... 1711 lines suppressed ...
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-10-28 18:52:56
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The annotated tag, 2.0.0a2 has been created
at a5c9093d29023b2bd190e6d402e8a8f9f87a3a5f (tag)
tagging f844e14e7425bf2885e344496d5e61ea0884abaf (commit)
replaces 2.0.0a1
tagged by Oleg Broytman
on Tue Oct 28 21:52:04 2014 +0300
- Log -----------------------------------------------------------------
Release 2.0.0a2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCgAGBQJUT+XUAAoJEG4IC3C2KHsD4bAP/2NojCK7Zwn430OAUzH6hsLi
WVQxxy76ueWNAanHYpcY4AHmby8/7eq+0iAM/WPNItVpU71foRZZ6jOtG7fPpjNC
VDuvZtLdMVOZcGe7WK3AiPlpUUVr9owN5lokTNmEdOOV8YW6VGA/qa9rdjN2Dddm
wFiqo/cNegdg2IP1V7S5ErpyV/cvIlsxiCgHtab6T/tj41Cn97qPlGfvzAkjbG1y
mAJICDTogixZTpzuSkmEO4WXFGIkan3KryOV9vMUF8OPGkYA0A95JRl8IXtiLQCO
EcIw7VIjTknUTHL3sbhRIFRvdl1hSwqquO0Nb8YrGPIOKiXSmyn7AdtVp+eHYeK8
7dkBK2BcK175SWDtPnVRm+QM/0jYusKmG7c9csWSOwvPwKIlzANc1aIwou48L4V7
+5OJ5sfmO1eP/TQze2aRrjOBhfY+Seyp7g5vqVPdqZABxfgBD0RI6zhNnCDTAiL5
3aictlaKFlEiJcelhk0XY2dRQEqt+gXrCjN6UgQ4Da5fbDAru1EhqdFX2mjONBEw
LN0mwMG1sRAISGsnpoWvwVU0aQNhJn+roK87qT/SLkDz73g4fzYhPIQ1qOEbdKIa
zXdg4lDFDzmOP1LnZYBQqg6OeJRJiBbXTd4nF1yhYnFjkqMLlzgpHL4FcdtCSee+
iyURBYxPlsbpnJ2NKsaV
=C95c
-----END PGP SIGNATURE-----
Oleg Broytman (23):
Remove unused section [easy_install]
Development was switched from Subversion to git
Change download URL
"Upgrade" ez_setup to 5.4.2
Allow unicode in .orderBy(u'-column')
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
Merge branch '1.7'
Release 1.5.3
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
Merge branch '1.7'
Add ez_setup.py version 0.6c11
Release 1.6.1
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
Merge branch '1.7'
Release 1.7.0b2
Merge branch '1.7'
Upgrade ez_setup.py to version 7.0
Apply patch 112: _fromDatabase and UNIQUE should result in alternateID
ez_setup was upgrades to 7.0
Release 2.0.0a2
-----------------------------------------------------------------------
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-10-28 18:52:42
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via f844e14e7425bf2885e344496d5e61ea0884abaf (commit)
via 88ef6d236658d18caf7346a6668525f35e0be5b7 (commit)
from 9222f2aeb9e5b9797bb9351e78738595800d8d80 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/f844e14e7425bf2885e344496d5e61ea0884abaf
commit f844e14e7425bf2885e344496d5e61ea0884abaf
Author: Oleg Broytman <ph...@ph...>
Date: Tue Oct 28 21:52:04 2014 +0300
Release 2.0.0a2
diff --git a/README.txt b/README.txt
index 790dee7..8a3b051 100644
--- a/README.txt
+++ b/README.txt
@@ -1,4 +1,4 @@
-SQLObject 2.0.0a1
+SQLObject 2.0.0a2
=================
Thanks for looking at SQLObject. SQLObject is an object-relational
diff --git a/setup.py b/setup.py
index b02153c..1309237 100755
--- a/setup.py
+++ b/setup.py
@@ -69,7 +69,7 @@ https://github.com/sqlobject
maintainer="Oleg Broytman",
maintainer_email="ph...@ph...",
url="http://sqlobject.org/devel/",
- download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20140817" % version,
+ download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20141028" % version,
license="LGPL",
packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages],
scripts=["scripts/sqlobject-admin", "scripts/sqlobject-convertOldURI"],
diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py
index 97ffdbb..c2b2822 100644
--- a/sqlobject/__version__.py
+++ b/sqlobject/__version__.py
@@ -1,8 +1,8 @@
-version = '2.0.0a1'
+version = '2.0.0a2'
major = 2
minor = 0
micro = 0
release_level = 'alpha'
-serial = 1
+serial = 2
version_info = (major, minor, micro, release_level, serial)
http://sourceforge.net/p/sqlobject/sqlobject/ci/88ef6d236658d18caf7346a6668525f35e0be5b7
commit 88ef6d236658d18caf7346a6668525f35e0be5b7
Author: Oleg Broytman <ph...@ph...>
Date: Tue Oct 28 21:50:06 2014 +0300
ez_setup was upgrades to 7.0
diff --git a/docs/News.txt b/docs/News.txt
index 2db7c51..9968cc2 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -25,7 +25,7 @@ Minor features
* PostgresConnection, when used with fromDatabase=True, sets alternateID
for unique columns.
-* Upgrade ez_setup to 5.4.2.
+* Upgrade ez_setup to 7.0.
Development
-----------
-----------------------------------------------------------------------
Summary of changes:
README.txt | 2 +-
docs/News.txt | 2 +-
setup.py | 2 +-
sqlobject/__version__.py | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-10-27 15:55:22
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 9222f2aeb9e5b9797bb9351e78738595800d8d80 (commit)
via ac801cf7b29d9015b724f7c5d0cc449e81c9a89d (commit)
from b03575eda1a85de245167ff1d7ebdcf6680064d4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/9222f2aeb9e5b9797bb9351e78738595800d8d80
commit 9222f2aeb9e5b9797bb9351e78738595800d8d80
Author: Oleg Broytman <ph...@ph...>
Date: Mon Oct 27 18:44:23 2014 +0300
Apply patch 112: _fromDatabase and UNIQUE should result in alternateID
See https://sourceforge.net/p/sqlobject/patches/112/
diff --git a/docs/News.txt b/docs/News.txt
index 311247a..2db7c51 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -22,6 +22,9 @@ Features & Interface
Minor features
--------------
+* PostgresConnection, when used with fromDatabase=True, sets alternateID
+ for unique columns.
+
* Upgrade ez_setup to 5.4.2.
Development
diff --git a/sqlobject/postgres/pgconnection.py b/sqlobject/postgres/pgconnection.py
index 1152891..1f94ee3 100644
--- a/sqlobject/postgres/pgconnection.py
+++ b/sqlobject/postgres/pgconnection.py
@@ -280,6 +280,17 @@ class PostgresConnection(DBAPI):
AND pg_index.indisprimary
"""
+ otherKeyQuery = """
+ SELECT pg_index.indisprimary,
+ pg_catalog.pg_get_indexdef(pg_index.indexrelid)
+ FROM pg_catalog.pg_class c, pg_catalog.pg_class c2,
+ pg_catalog.pg_index AS pg_index
+ WHERE c.relname = %s
+ AND c.oid = pg_index.indrelid
+ AND pg_index.indexrelid = c2.oid
+ AND NOT pg_index.indisprimary
+ """
+
keyData = self.queryAll(keyQuery % self.sqlrepr(tableName))
keyRE = re.compile(r"\((.+)\) REFERENCES (.+)\(")
keymap = {}
@@ -306,6 +317,18 @@ class PostgresConnection(DBAPI):
assert primaryKey.endswith('"')
primaryKey = primaryKey[1:-1]
+ otherData = self.queryAll(otherKeyQuery % self.sqlrepr(tableName))
+ otherRE = primaryRE
+ otherKeys = []
+ for isPrimary, indexDef in otherData:
+ match = otherRE.search(indexDef)
+ assert match, "Unparseable constraint definition: %r" % indexDef
+ otherKey = match.group(1)
+ if otherKey.startswith('"'):
+ assert otherKey.endswith('"')
+ otherKey = otherKey[1:-1]
+ otherKeys.append(otherKey)
+
colData = self.queryAll(colQuery % self.sqlrepr(tableName))
results = []
if self.unicodeCols:
@@ -332,6 +355,8 @@ class PostgresConnection(DBAPI):
kw['default'] = self.defaultFromSchema(colClass, defaultstr)
elif not notnull:
kw['default'] = None
+ if field in otherKeys:
+ kw['alternateID'] = True
results.append(colClass(**kw))
return results
http://sourceforge.net/p/sqlobject/sqlobject/ci/ac801cf7b29d9015b724f7c5d0cc449e81c9a89d
commit ac801cf7b29d9015b724f7c5d0cc449e81c9a89d
Author: Oleg Broytman <ph...@ph...>
Date: Sun Oct 26 23:33:40 2014 +0300
Upgrade ez_setup.py to version 7.0
diff --git a/ez_setup.py b/ez_setup.py
index b2435fe..a523401 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -36,7 +36,7 @@ try:
except ImportError:
USER_SITE = None
-DEFAULT_VERSION = "5.4.2"
+DEFAULT_VERSION = "7.0"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
def _python_cmd(*args):
@@ -268,7 +268,7 @@ def download_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
Download setuptools from a specified location and return its filename
`version` should be a valid setuptools version number that is available
- as an egg for download under the `download_base` URL (which should end
+ as an sdist for download under the `download_base` URL (which should end
with a '/'). `to_dir` is the directory where the egg will be downloaded.
`delay` is the number of seconds to pause before an actual download
attempt.
-----------------------------------------------------------------------
Summary of changes:
docs/News.txt | 3 +++
ez_setup.py | 4 ++--
sqlobject/postgres/pgconnection.py | 25 +++++++++++++++++++++++++
3 files changed, 30 insertions(+), 2 deletions(-)
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-10-26 13:33:29
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via b03575eda1a85de245167ff1d7ebdcf6680064d4 (commit)
via d693f5c5a6bc1af141aa7b88287eb7e792cffaef (commit)
from d167659b7923a1d6542753f19ed9201e5a7b11e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/b03575eda1a85de245167ff1d7ebdcf6680064d4
commit b03575eda1a85de245167ff1d7ebdcf6680064d4
Merge: d167659 d693f5c
Author: Oleg Broytman <ph...@ph...>
Date: Sun Oct 26 16:19:44 2014 +0300
Merge branch '1.7'
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
SQLObject development repository
|
|
From: Oleg B. <no...@so...> - 2014-10-26 13:19:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The annotated tag, 1.7.0b2 has been created
at f202ee30605a45234d92e77d0c94d8b120f9401e (tag)
tagging d693f5c5a6bc1af141aa7b88287eb7e792cffaef (commit)
replaces 1.6.1
tagged by Oleg Broytman
on Sun Oct 26 16:18:57 2014 +0300
- Log -----------------------------------------------------------------
Release 1.7.0b2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCgAGBQJUTPTBAAoJEG4IC3C2KHsDEVUP/0aRsP7xpWxHoH1YlJl+7yGF
eKU0I0LpZQaEAdg4BqwDU8paxwLMoJxbC29LONqddeWOWl5KaFMB+Fb60UKMyZYa
cmp2GaAYlNAT/A28gX3GMa9hj+UKrV3aFl9Lro4wuf3M70KF1t+ShQoW1eO2i8Gr
cnBHSkgfU5qGvLImw2e/TuvsJKrxMK2bCs4KQoMk1qa+pQ0FoWvMBXF5cgykJulT
CHHzVKImNaEDHI7MaTwQA3kLE6eYMBl7pM4vE8droO3PdV0pOmPni1P+kSedJiB/
QmNcUiwJ+CN5tQAx5avy54pGNvsbnEkzdx35X7LTSiOhbqpon4YqUIhHTGESIY1J
8IKBP3kwYgFhxTK48ZYWLAZGSQV0Lv7qABiGireL2oh5uZP2EehyTyUVcVkAyhNE
fLXf7JCqity9DHaH06ftxlr7OQrfxn8lWan3yrjRp/Bm9HYdrQ7RDw2iExu572/+
KyEg9Htt/RlPIxjBlbm9OjPwd/+CS2siAEH4wINrBI2IkF74U0Z4aCXXlohn6BSs
CbLTLK2PnBbDdsomIVtH1xXDXxfZQCAN0mbQU8xYQWV/HqOcSXE9rFcf9jcXElBN
GZXjSGjH3yccVKUxu4dRZgwTC1y6zdxof0dh66obAoYZ9l4+a6JgcrvwxgVpBc0x
Dsqxf7PCaHEM+diPmrbM
=57wF
-----END PGP SIGNATURE-----
Oleg Broytman (35):
Merge revision 4695 from branch 1.6: minor optimization
Next version will be 1.7
TODO: PyMySQL
Preserve the URL in the TODO
Merge revisions 4704, 4705 from branch 1.6
SQLObject 1.6.0b1 and 1.5.2 were released 13 Apr 2014
Going to create branch 1.7
Branch 1.7
Branch 1.7
The branch is in maintenance mode
Read microseconds for forward compatibility but do not write them
Better explanation for limitations
Update News
Stop supporting Python 2.5: remove import sets
Stop supporting Python 2.5
Minimal supported Python version is 2.6
Document sqlhub.doInTransaction
Python 2.5 is no longer supported: no need to work around a bug in Decimal
Stop supporting Python 2.5: replace time.strptime with datetime.strptime
Merge revision 4741 from branch 1.6: split news into minor features and bugfixes
Merge revision 4744 from branch 1.6: SQLObject 1.6.0 was released 15 May 2014
Upgrade ez_setup to 3.6.0
Upgrade ez_setup to 5.0
"Upgrade" ez_setup to 5.2
"Upgrade" ez_setup to 5.3
Merge revision 4715 from branch 1.6: update News
Merge branch '1.6' into 1.7
Merge branch '1.6' into 1.7
Merge branch '1.6' into 1.7
Merge branch '1.6' into 1.7
Merge branch '1.6' into 1.7
Add ez_setup.py version 0.6c11
Merge branch '1.5' into 1.6
Merge branch '1.6' into 1.7
Release 1.7.0b2
-----------------------------------------------------------------------
hooks/post-receive
--
SQLObject development repository
|