sqlobject-cvs Mailing List for SQLObject (Page 20)
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
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oleg B. <no...@so...> - 2014-10-26 13:19: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.7 has been updated via d693f5c5a6bc1af141aa7b88287eb7e792cffaef (commit) via 9bfb7cf21e04891efc7c5491dff509276d0b1a03 (commit) via e84523cc98bd20df3d44871427434a3ceae01e9c (commit) via 63bfc2be95aab37601461698749c9d7eec417874 (commit) via 21bf05cd92dd90f96a489ce4e15b25ef60653a1c (commit) from 0ae3e8833bfd4f55ac95e56037aa884177592c90 (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/d693f5c5a6bc1af141aa7b88287eb7e792cffaef commit d693f5c5a6bc1af141aa7b88287eb7e792cffaef Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 16:18:57 2014 +0300 Release 1.7.0b2 diff --git a/README.txt b/README.txt index 5bf468c..f662801 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -SQLObject 1.7 -============= +SQLObject 1.7.0b2 +================= Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python diff --git a/setup.py b/setup.py index 05d0530..98efffb 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ For development see the `subversion repository maintainer="Oleg Broytman", maintainer_email="ph...@ph...", url="http://sqlobject.org/", - download_url="https://pypi.python.org/pypi/SQLObject/%s" % version, + download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20141026" % 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 e451a76..f0eeade 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '1.7' +version = '1.7.0b2' major = 1 minor = 7 micro = 0 -release_level = 'branch' -serial = 0 +release_level = 'beta' +serial = 2 version_info = (major, minor, micro, release_level, serial) ----------------------------------------------------------------------- Summary of changes: README.txt | 4 ++-- setup.py | 2 +- sqlobject/__version__.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 13:19: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.6 has been updated via e84523cc98bd20df3d44871427434a3ceae01e9c (commit) via 21bf05cd92dd90f96a489ce4e15b25ef60653a1c (commit) from 63bfc2be95aab37601461698749c9d7eec417874 (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: hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 13:02: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 annotated tag, 1.6.1 has been created at 364547eabd38a9d21ceb8388b4d39f28641b6568 (tag) tagging 63bfc2be95aab37601461698749c9d7eec417874 (commit) replaces 1.5.3 tagged by Oleg Broytman on Sun Oct 26 16:01:33 2014 +0300 - Log ----------------------------------------------------------------- Release 1.6.1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUTPCtAAoJEG4IC3C2KHsDYBcP/RlfzZwIL6xdCtiWFgh4352N SjkcciQCDtQtE546cyGs3Iy426eKod+Nr2t/aoJZ1/3WmeuXIvolfu/6zqGKwseL EbHEmB9/cS7rZYt5j3TcEEXEMmns94iYyFPSMYhxR/6is1WVL1DtMoRgjTTo3aNR B932bYXJlkSrUzWBzD352TxyUsmU78V1MoBAjYebqpeKl5f4rMYTAKvgetBdZ0aE dV4gvlzjvuYkMAQd/lkpzZjNjJZBZ++xu/JFbckzIJ/QHTJavn04XON0gXHHcU64 ZCzhxHbHq7iPEOIhKjA9yqIVcdUzxe4W1YhE64EuaRg3eE08OjRIz+VFmj26ySF5 xdCftmZ9AiKELXH11wVN4Mb5kYMGSPc3QsskYcyHZLX9rPPiD2e3NVpE/iwnFmJ4 2VhAeV35eOztCvjz8jXNAbnGOccH3mhgsnHJQ+WCUxXBDlOa+vZsiSp6BrxuvxTV vjgr2AMdXFMkQ1cpBCu3GD8fS+bfqO6np6QwBW32KZMNPZD3c43mtcJTK9PlmlLx 09U8iXve8YiRXNAtWcvQE8IFsnmyWwGT094q2kQRRAFbfjOz32+ogCclsDaIfv/W IqA+40G2GEfbeSj832d/oBuZ3QTahNPhfJXHxAzeI8d5P8fhLRtpeez5jtHQUk5k pf5fYYAtJG2lL+B3BvGS =+bgl -----END PGP SIGNATURE----- Oleg Broytman (50): Next branch will be 1.6 PyPI has switched to https Merged revisions 4628, 4629 from branch 1.5: a number of fixes for tests Merged revision 4631 from branch 1.5: fixed links; removed dead links Merged revision 4633 from branch 1.5: another fix for tests Merged revision 4635 from branch 1.5: test fixes by Neil Muller Merged revisions 4637-4639 from branch 1.5: logging is always available; Merged revisions 4641, 4642 from branch 1.5: tests enhancements Merged revisions 4644, 4645 from branch 1.5: fixed parameters for pymssql Merged revision 4647 from branch 1.5: self.make_conn_str() returns either a str or a dict Merged revisions 4649:4652 from branch 1.5 Merged revisions 4654:4656 from branch 1.5 Merged revision 4660 from branch 1.5: Merged revisions 4662, 4663 from branch 1.5: add GNU LGPL text; change old FSF address to the new one. Merge revision 4665 from branch 1.5: add a test for pgcode Merge revision 4667 from branch 1.5: remove mentions of non-existing examples Merge revision 4669 from branch 1.5: SQLObject 1.5.0 was released 5 Oct 2013 Merge revision 4673 from branch 1.5: add a few tests for md5.md5 Stop supporting Python 2.4; use hashlib instead of md5 Merge revision 4676 from branch 1.5: SQLiteConnection.close() now closes and reopens a connection to in-memory database. DateTimeCol and TimeCol preserve microseconds Merge revision 4679 from branch 1.5: SQLObject 1.5.1 was released 15 Dec 2013 Upgrade setuptools after stopping supporting Python 2.5 TODO: upgrade ez_setup Fix doc-dest URLs Python 2.4 is no longer supported WARNING: backward compatibility problem Upgrade ez_setup to 1.4.2 Add Oleg Broytman as the maintainer Fixed a bug: zero-pad microseconds at the left to exactly 6 chars Going to create branch 1.6 Branch 1.6 Branch 1.6 Minor optimization This is a branch, not the trunk Merge revision 4703 from branch 1.5 Document that it was ported from SQLObject 1.5.2 SQLObject 1.6.0b1 and 1.5.2 were released 13 Apr 2014 Remove support for microseconds Support for Python 2.5 is declared obsolete Minimal supported Python version is 2.5 Backport revision 4732 from branch 1.7: document sqlhub.doInTransaction Split news into minor features and bugfixes SQLObject 1.6.0 was released 15 May 2014 Merge branch '1.5' into 1.6 Merge branch '1.5' into 1.6 Merge branch '1.5' into 1.6 Merge branch '1.5' into 1.6 Merge branch '1.5' into 1.6 Release 1.6.1 ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 13:02: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, master has been updated via dc5d537db76add2b2b6ac181ac678d6e484601c3 (commit) via 0ae3e8833bfd4f55ac95e56037aa884177592c90 (commit) via 3134806eb0d6a8ffe19da54cc685850ad6e1db3c (commit) via 47dde293a91792482d0512936cd21d1da50db85e (commit) from f771dca4b95c82ecf6b7ec15c6c47b50178801f6 (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/dc5d537db76add2b2b6ac181ac678d6e484601c3 commit dc5d537db76add2b2b6ac181ac678d6e484601c3 Merge: f771dca 0ae3e88 Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 15:32:36 2014 +0300 Merge branch '1.7' ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 13:02:02
|
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 0ae3e8833bfd4f55ac95e56037aa884177592c90 (commit) via 3134806eb0d6a8ffe19da54cc685850ad6e1db3c (commit) via 47dde293a91792482d0512936cd21d1da50db85e (commit) from 1d95c0d3d2193eef66c4813a23878263690571f6 (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: hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 13:01:55
|
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 63bfc2be95aab37601461698749c9d7eec417874 (commit) via 3134806eb0d6a8ffe19da54cc685850ad6e1db3c (commit) via 47dde293a91792482d0512936cd21d1da50db85e (commit) from 7380ba7b648edd0fdbdce2a9c25bfca629c80708 (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/63bfc2be95aab37601461698749c9d7eec417874 commit 63bfc2be95aab37601461698749c9d7eec417874 Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 16:01:33 2014 +0300 Release 1.6.1 diff --git a/README.txt b/README.txt index e5db91d..da1523a 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -SQLObject 1.6 -============= +SQLObject 1.6.1 +=============== Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python diff --git a/setup.cfg b/setup.cfg index c891669..946a84a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,10 +5,6 @@ command_packages = buildutils.pudge_command, [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html -[egg_info] -tag_build = dev -tag_date = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py index 8132b17..9b79137 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '1.6' +version = '1.6.1' major = 1 minor = 6 -micro = 0 -release_level = 'branch' +micro = 1 +release_level = 'final' serial = 0 version_info = (major, minor, micro, release_level, serial) ----------------------------------------------------------------------- Summary of changes: README.txt | 4 ++-- setup.cfg | 4 ---- sqlobject/__version__.py | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 13:01:48
|
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 21bf05cd92dd90f96a489ce4e15b25ef60653a1c (commit) from 47dde293a91792482d0512936cd21d1da50db85e (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/21bf05cd92dd90f96a489ce4e15b25ef60653a1c commit 21bf05cd92dd90f96a489ce4e15b25ef60653a1c Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 15:53:25 2014 +0300 Add ez_setup.py version 0.6c11 diff --git a/ez_setup.py b/ez_setup.py new file mode 100755 index 0000000..7aab12d --- /dev/null +++ b/ez_setup.py @@ -0,0 +1,280 @@ +#!python +"""Bootstrap setuptools installation + +If you want to use setuptools in your package's setup.py, just include this +file in the same directory with it, and add this to the top of your setup.py:: + + from ez_setup import use_setuptools + use_setuptools() + +If you want to require a specific version of setuptools, set a download +mirror, or use an alternate download directory, you can do so by supplying +the appropriate options to ``use_setuptools()``. + +This file can also be run as a script to install or upgrade setuptools. +""" +import sys +DEFAULT_VERSION = "0.6c11" +DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3] + +md5_data = { + 'setuptools-0.6b1-py2.3.egg': '8822caf901250d848b996b7f25c6e6ca', + 'setuptools-0.6b1-py2.4.egg': 'b79a8a403e4502fbb85ee3f1941735cb', + 'setuptools-0.6b2-py2.3.egg': '5657759d8a6d8fc44070a9d07272d99b', + 'setuptools-0.6b2-py2.4.egg': '4996a8d169d2be661fa32a6e52e4f82a', + 'setuptools-0.6b3-py2.3.egg': 'bb31c0fc7399a63579975cad9f5a0618', + 'setuptools-0.6b3-py2.4.egg': '38a8c6b3d6ecd22247f179f7da669fac', + 'setuptools-0.6b4-py2.3.egg': '62045a24ed4e1ebc77fe039aa4e6f7e5', + 'setuptools-0.6b4-py2.4.egg': '4cb2a185d228dacffb2d17f103b3b1c4', + 'setuptools-0.6c1-py2.3.egg': 'b3f2b5539d65cb7f74ad79127f1a908c', + 'setuptools-0.6c1-py2.4.egg': 'b45adeda0667d2d2ffe14009364f2a4b', + 'setuptools-0.6c10-py2.3.egg': 'ce1e2ab5d3a0256456d9fc13800a7090', + 'setuptools-0.6c10-py2.4.egg': '57d6d9d6e9b80772c59a53a8433a5dd4', + 'setuptools-0.6c10-py2.5.egg': 'de46ac8b1c97c895572e5e8596aeb8c7', + 'setuptools-0.6c10-py2.6.egg': '58ea40aef06da02ce641495523a0b7f5', + 'setuptools-0.6c2-py2.3.egg': 'f0064bf6aa2b7d0f3ba0b43f20817c27', + 'setuptools-0.6c2-py2.4.egg': '616192eec35f47e8ea16cd6a122b7277', + 'setuptools-0.6c3-py2.3.egg': 'f181fa125dfe85a259c9cd6f1d7b78fa', + 'setuptools-0.6c3-py2.4.egg': 'e0ed74682c998bfb73bf803a50e7b71e', + 'setuptools-0.6c3-py2.5.egg': 'abef16fdd61955514841c7c6bd98965e', + 'setuptools-0.6c4-py2.3.egg': 'b0b9131acab32022bfac7f44c5d7971f', + 'setuptools-0.6c4-py2.4.egg': '2a1f9656d4fbf3c97bf946c0a124e6e2', + 'setuptools-0.6c4-py2.5.egg': '8f5a052e32cdb9c72bcf4b5526f28afc', + 'setuptools-0.6c5-py2.3.egg': 'ee9fd80965da04f2f3e6b3576e9d8167', + 'setuptools-0.6c5-py2.4.egg': 'afe2adf1c01701ee841761f5bcd8aa64', + 'setuptools-0.6c5-py2.5.egg': 'a8d3f61494ccaa8714dfed37bccd3d5d', + 'setuptools-0.6c6-py2.3.egg': '35686b78116a668847237b69d549ec20', + 'setuptools-0.6c6-py2.4.egg': '3c56af57be3225019260a644430065ab', + 'setuptools-0.6c6-py2.5.egg': 'b2f8a7520709a5b34f80946de5f02f53', + 'setuptools-0.6c7-py2.3.egg': '209fdf9adc3a615e5115b725658e13e2', + 'setuptools-0.6c7-py2.4.egg': '5a8f954807d46a0fb67cf1f26c55a82e', + 'setuptools-0.6c7-py2.5.egg': '45d2ad28f9750e7434111fde831e8372', + 'setuptools-0.6c8-py2.3.egg': '50759d29b349db8cfd807ba8303f1902', + 'setuptools-0.6c8-py2.4.egg': 'cba38d74f7d483c06e9daa6070cce6de', + 'setuptools-0.6c8-py2.5.egg': '1721747ee329dc150590a58b3e1ac95b', + 'setuptools-0.6c9-py2.3.egg': 'a83c4020414807b496e4cfbe08507c03', + 'setuptools-0.6c9-py2.4.egg': '260a2be2e5388d66bdaee06abec6342a', + 'setuptools-0.6c9-py2.5.egg': 'fe67c3e5a17b12c0e7c541b7ea43a8e6', + 'setuptools-0.6c9-py2.6.egg': 'ca37b1ff16fa2ede6e19383e7b59245a', +} + +import sys, os +try: from hashlib import md5 +except ImportError: from md5 import md5 + +def _validate_md5(egg_name, data): + if egg_name in md5_data: + digest = md5(data).hexdigest() + if digest != md5_data[egg_name]: + print >>sys.stderr, ( + "md5 validation of %s failed! (Possible download problem?)" + % egg_name + ) + sys.exit(2) + return data + +def use_setuptools( + version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, + download_delay=15 +): + """Automatically find/download setuptools and make it available on sys.path + + `version` should be a valid setuptools version number that is available + as an egg for download under the `download_base` URL (which should end with + a '/'). `to_dir` is the directory where setuptools will be downloaded, if + it is not already available. If `download_delay` is specified, it should + be the number of seconds that will be paused before initiating a download, + should one be required. If an older version of setuptools is installed, + this routine will print a message to ``sys.stderr`` and raise SystemExit in + an attempt to abort the calling script. + """ + was_imported = 'pkg_resources' in sys.modules or 'setuptools' in sys.modules + def do_download(): + egg = download_setuptools(version, download_base, to_dir, download_delay) + sys.path.insert(0, egg) + import setuptools; setuptools.bootstrap_install_from = egg + try: + import pkg_resources + except ImportError: + return do_download() + try: + pkg_resources.require("setuptools>="+version); return + except pkg_resources.VersionConflict, e: + if was_imported: + print >>sys.stderr, ( + "The required version of setuptools (>=%s) is not available, and\n" + "can't be installed while this script is running. Please install\n" + " a more recent version first, using 'easy_install -U setuptools'." + "\n\n(Currently using %r)" + ) % (version, e.args[0]) + sys.exit(2) + else: + del pkg_resources, sys.modules['pkg_resources'] # reload ok + return do_download() + except pkg_resources.DistributionNotFound: + return do_download() + +def download_setuptools( + version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, + delay = 15 +): + """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 + 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. + """ + import urllib2, shutil + egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) + url = download_base + egg_name + saveto = os.path.join(to_dir, egg_name) + src = dst = None + if not os.path.exists(saveto): # Avoid repeated downloads + try: + from distutils import log + if delay: + log.warn(""" +--------------------------------------------------------------------------- +This script requires setuptools version %s to run (even to display +help). I will attempt to download it for you (from +%s), but +you may need to enable firewall access for this script first. +I will start the download in %d seconds. + +(Note: if this machine does not have network access, please obtain the file + + %s + +and place it in this directory before rerunning this script.) +---------------------------------------------------------------------------""", + version, download_base, delay, url + ); from time import sleep; sleep(delay) + log.warn("Downloading %s", url) + src = urllib2.urlopen(url) + # Read/write all in one block, so we don't create a corrupt file + # if the download is interrupted. + data = _validate_md5(egg_name, src.read()) + dst = open(saveto,"wb"); dst.write(data) + finally: + if src: src.close() + if dst: dst.close() + return os.path.realpath(saveto) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +def main(argv, version=DEFAULT_VERSION): + """Install or upgrade setuptools and EasyInstall""" + try: + import setuptools + except ImportError: + egg = None + try: + egg = download_setuptools(version, delay=0) + sys.path.insert(0,egg) + from setuptools.command.easy_install import main + return main(list(argv)+[egg]) # we're done here + finally: + if egg and os.path.exists(egg): + os.unlink(egg) + else: + if setuptools.__version__ == '0.0.1': + print >>sys.stderr, ( + "You have an obsolete version of setuptools installed. Please\n" + "remove it from your system entirely before rerunning this script." + ) + sys.exit(2) + + req = "setuptools>="+version + import pkg_resources + try: + pkg_resources.require(req) + except pkg_resources.VersionConflict: + try: + from setuptools.command.easy_install import main + except ImportError: + from easy_install import main + main(list(argv)+[download_setuptools(delay=0)]) + sys.exit(0) # try to force an exit + else: + if argv: + from setuptools.command.easy_install import main + main(argv) + else: + print "Setuptools version",version,"or greater has been installed." + print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + +def update_md5(filenames): + """Update our built-in md5 registry""" + + import re + + for name in filenames: + base = os.path.basename(name) + f = open(name,'rb') + md5_data[base] = md5(f.read()).hexdigest() + f.close() + + data = [" %r: %r,\n" % it for it in md5_data.items()] + data.sort() + repl = "".join(data) + + import inspect + srcfile = inspect.getsourcefile(sys.modules[__name__]) + f = open(srcfile, 'rb'); src = f.read(); f.close() + + match = re.search("\nmd5_data = {\n([^}]+)}", src) + if not match: + print >>sys.stderr, "Internal error!" + sys.exit(2) + + src = src[:match.start(1)] + repl + src[match.end(1):] + f = open(srcfile,'w') + f.write(src) + f.close() + + +if __name__=='__main__': + if len(sys.argv)>2 and sys.argv[1]=='--md5update': + update_md5(sys.argv[2:]) + else: + main(sys.argv[1:]) + + + + + + ----------------------------------------------------------------------- Summary of changes: ez_setup.py | 280 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 280 insertions(+), 0 deletions(-) create mode 100755 ez_setup.py hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 12:28:05
|
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, phd-public-key-B6287B03 has been created at f9e766634bfcf326fbd506625e22957187667ea1 (tag) tagging a43eb701c3c887ef439fb5b39a1997f1b3e482ba (blob) length 34464 bytes tagged by Oleg Broytman on Sun Oct 26 06:40:11 2014 +0300 - Log ----------------------------------------------------------------- phd's gpg public key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUTG1BAAoJEG4IC3C2KHsDbdAP/RJZkyUvzaiXf9xj74a4u4wX 9FJIi/IBoAf9Gbo2uQA1bifvbBZ46XVs6iFR/dS+OtcdIWmaRVkNOMaFTwf7Vm6j Rs26aqbVua24tRURNRfFzC4pIUihi7GjGDT/4cgmVnnIUw4+8auIWagwUQ+5DS/R +D6ZU+VzWDY6tPKIGHUi0dYlZgWP+TKY7VgRXyXNXmtM2G3h9xZjj/OaAOCIYafz pWKoXhoW6WDjA1jN+25uHQSXN6VZftDyHrELV9Eouh38F3AFXwCAQtIRdE9UB6zn 0QQz3LoA84zIMRpvzMMEGCxp3GWWCumq264pexbLzd/1Iyxcrwwa/G2riIbQ4RBd ZA0nA6xasm2ak+be57QXGpMd5yWZKqkSn+cVkeiBS+4ZHfVT9V3CAj5RyTgzhc9t RBFXK9BdetiQavPrawfu8E4s3AlJlSYTtjwDpotU8CkvlqUSOZjE1eJaolFg6Abx nLF9S0FIWLnrYyARcwDPyrJUNhErM4NaNXRkQjkSgLGZ8kxNvtIFcoHOe8WtRHrk nZqdTmahFlWxC7UUIpS1Gr8nUllbEbThJpIzFskHTsD5vev/sMez+DwO0BHa0fON 3uN7/RHGq8phk79KI+oYAe5xDqddEeH/ToMcYMbqHzHSEP9BMvxhtiqaYozt/Jme DlrDQxZCKcHpYwzAYTbf =P4b/ -----END PGP SIGNATURE----- ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 12:28:03
|
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.3 has been created at 5d8ffa020cf6564e8f16090777e072b26f6c5287 (tag) tagging 47dde293a91792482d0512936cd21d1da50db85e (commit) tagged by Oleg Broytman on Sun Oct 26 15:27:11 2014 +0300 - Log ----------------------------------------------------------------- Release 1.5.3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUTOifAAoJEG4IC3C2KHsDG9gP+wcpgj0lTQoyxrYn59EGDHZk 0zGGQFnJSAbnJW3KI8K9CfHZFUPNSE5DiU3L5BqZF3+J4rHFOjaGh7VeDE76oqqI 2JbZYHANnqMyt6EXkI1OTyPcIIKWIWHDvYVVkG0GCS56PIQwbjpWhGo+1U+lXHbZ uQejyUmCb//DGiFPPj7z7xn5riZhSwHOu0tAIh/WBiN4qT2OCx3mxbYCoZxzvczb np1GTWQTwJBAsNfo1SgLr+vVcKm4IZsDYTgRQfpEsdf0twjMaTj/LcHW65/QriO1 cJX+OLQR41clTAJ1XEnh2BRfcF10V315fq2kNKVCtLmyTzyQITIhspMGS7F565Q0 7GF2KPX1wel2ry4kVri4AfeFnbaEFrsVSrHyjp5TQ6io5AQkqViAPALY10ewyXtp QMM7hJAzknf3cW5WcOQM0VCTlHk44J3UpmSYXrFfBlr1Fi7DyB4ojrG8XLvmmPZ1 LDSAbuQTosVJW0AiEo2wyy2w/ZAC50htUCGwY0Dgk0UDeWqRJsw2zRG4WdlBbFax iw/BhYlyxEWKDHn2n9R7Gd+rtMGtZLSp9uWCv10OwtgZsM7A1oJTXfIw47lqyptf wvkz6pA2OWpHqYF1yTv9/veGxN1vMSnJDTv4zKCJW0X1Ka3D/JgchDNqtqSoiRUm VzLIPYAUsL74j12+LCdc =QBzs -----END PGP SIGNATURE----- Ahmed MOHAMED ALI (36): Initial Import Initial Import Initial Import Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Removed file/folder Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Initial Import Created folder remotely Removed file/folder Removed file/folder Removed file/folder Removed file/folder Initial Import git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@134 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@135 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Removed file/folder Created folder remotely git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@138 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@139 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@140 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@141 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@142 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@143 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@144 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Removed file/folder Removed file/folder git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@147 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@148 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@149 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Removed file/folder Removed file/folder git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@152 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Brad Bollenbach (2): Steve Alexander's patch to raise an error when the same SQLObject is defined more than once. I've added a test to prove that this works. Andrew Bennetts' patch to create join methods correctly, even if they're not named explicitly. I've done some slight renaming to hopefully more clearly describe what's being tested. Dan Pascu (6): Fixed inconsistency with error message type when converting from mysql OperationalError to sqlobject OperationalError Fixed adding extra URI parameters from the function kwargs when the URI already contains some parameters Fixed incorrect handling of boolean arguments passed to connectionForURI or via dburi parameters Simplified getattr expressions to be terse Use the connection dbEncoding instead of ascii, when converting a unicode value from python to database for a StringCol Fixed createSQL table constrains generation when table name includes the database name (contains a dot) David M. Cook (2): Test that query results with None IDs (e.g. some outer join cases) are handled correctly, i.e. return None for that object. In Iteration.next(), handle the case where the id is None by returning None. With outer joins this is a common case, e.g. Contact.select(join=LEFTJOINOn(Customer, Contact, Customer.q.id==Contact.q.customerID)) where some customers have no contacts. David Turner (22): Added versioning Added nextVersion and getChangedFields to Versioning now versions work with foreign keys clean up before tests do not recreate version class gee, that was a dumb way to add methods to a class now versioning works outside of tests versions can now have extra columns oops getChangedFields now works with extra cols make version objects act like instances of their master class do not restore attributes that are extra to the version call row created postfuncs versioning now works with constraints like unique make blobcols work with real binary data make versioning tests pass test for mysql unicode and blobs check that values roundtrip in unicode these tests were duplicative in mysql, altids must have length never convert to unicode at all for mysql connections at query time. FIXED: previously, row update events were sent differently for o.set(a=...) vs o.a=... in inherited tables. Now events are consistent Ian Bicking (314): Initial import of SQLObject and DataTest Fixed up all the name changes, so the tests run again. Added a classregistry module. Renamed __new__ to get, renamed new to __init__ (in other words, class instantiation creates a row, while the get() class method fetches an object) Fixed some reST formatting problems Made notes and warnings display more nicely. Fixed examples and documentation for .new/.get change, and the new sqlobject (vs. SQLObject) package Added some news for 0.6 Split database support into subpackages, one per driver Added URI support, which is not the most convenient way to specify the database. URIs can be used in lieu of a connection. Added lazy updating Some URI-related fixes Added notes about URIs and lazy updates Fixed converter for BoolValidator, which wasn't working with SQLite Added another boolean test Bunch of fixes to database refactoring- made database modules load lazily (only when they are used), did actual regression testing on the databases Added some backward-compatible *Connection constructors Fixed typo Added comment Fixed threading problem with .select() Fixed SF [ 859999 ] DBConnection gets unexpected keyword argument 'pool' When you do a set, save the unconverted value for passing back (instead of saving the un-toPython'd value) Forward-ported fixes from 0.5.2 forward-ported 0.5.2 news Just so I can see if email is working Little distribution script updates * Fixed threading issue with Iterator, to match fix in 0.5 (connections were being released multiple times) * Expanded URIs to allow keyword (GET) arguments * Put in (optionally) more thorough debugging output Fixed bug related to orderBy='-column_name' Translate '/' in the path in a Firebird connection URI to os.path.sep, i.e., '\' on Windows, since Firebird doesn't handle /'s appropriately on that platform. Backward compatibility Fixed bug in .selectBy() with multiple keyword arguments Deal with empty values (that int() still looks suspicious to me) Removed debugging print statement Allow _connection to be inherited. Made _idName *not* inherit (as it really shouldn't, especially when the ID includes the table name). Fix repr() for objects with non-integer IDs Fixed quoting of Python2.3 datetime objects Made name and joinMethodName more exposed on Col and Join objects * Fix some issues related to subclassing and removing columns from subclasses * Added a new _create method for intercepting row inserts. * Changed insertQueryID usage Changed queryInsertID method, so that pgconnection can be provided a custom sequence name for a table/id. Fixed little bug in loop Python 2.2 boolean fix (SF: 903488) Deal with (questionable?) case where the destructor is called with a missing instance variable Fixed error message Allow non-SQL-safe column names (like '"binary"'). SF 826079 Note cascade keyword argument addition Convert long ints properly Typo (SF: 944684) Updated fromDatabase for changes in col.py Started TODO.txt; tested abnormal ID names with _fromDatabase Added note about _idType Allow sqlite:/:memory: Oops, didn't need that test for :memory: Got rid of some bad tabs; fixed other minor whitespace issues. Make SQLite use TINYINT for boolean columns (not default of str) Allow sqlType to override StringCol's default type Don't try to expire objects if cacheValues=Values (SF 956847) Test to look at SF 956839: destroySelf() doesn't work if cache=False Notes Fixed PG _fromDatabase primary key detection Fixed some transaction bugs Fixed test case that didn't clean up after itself MySQL insert ID fix (from mailing list) New FAQ about reloading modules New classmethod createTableSQL() Use FOREIGN KEY constraints even if cascade isn't explicitly given Added CASCADE SET NULL option Changed contraint name generation; since you may have two columns that are both keys to the same table, you shouldn't use foreign_table_name_exists as the constraint name, as it won't be unique. Instead we use col_name_exists. Pay attention to joinMethodName keyword argument to joins Added extra arguments that get passed to firebird connections Fixed problem with fromPython validators Force firebird's dialect connection option to be an integer Fixed _queryInsertID provide a better error message when having connection problems Applied patch [ 974755 ] add connection parameters to all class methods in SQLObject news for last patch Updated version numbers to 0.6.1; added an announcement email template typo Applied patch for joinMethodName, from Cyril Elkaim, 09/01/04 * Added indexing * Documentation thereof * Maybe made ForeignKey naming more robust (keep track of the original name in .origName) * Added a .module attribute to connections * Small reorganization of tests * Applied distinct patch * .count() cannot be used with distinct currently Added a developer guide for the project Small bug fixes Some fixes for the .uri() connection function (that produces a URI). Explicitly close all database connections (SF patch 1033807, though not directly applied). Applied [ 1034254 ] selectBy patch for accepting object values Fixed bug [ 1034304 ] count() failes on selectBy result Fixed bug [ 1030094 ] Documentation uses incorrect classname. (typo) The % in LIKE expressions is quoted in different ways on different databases. This uses \% for Postgres and MySQL, %% for other databases A presentation I'm giving Edits and visual updates Small fix to coerceID Better error message Used repr() instead of sqlrepr(), reported by Oleg Two small bugfixes from Oleg, allIDs() and tryGet() tryGet() needs to check expiredCache as well ClassRegistryTest: Error string for duplicate classes changed IndexTest1: Postgres raises ProgrammingError instead of IntegrityError, sometimes; just catches either now. Was invalidly converting values to database representation, then putting them in the Python-representation attribute. Per email Re: [SQLObject] .set() fromPython Typo in a comment (propagated to the docs) Noted that SQLObject._init must be called, per Carlos Ribeiro's suggestion. Removed R Undid mistaken commit. Stupid editor keeps saving my files when I intend to abort... Removed dbm package from setup.py * Took out references to DBMConnection * Added references to SybaseConnection and MaxdbConnection * A few other miscellaneous changes Added Oleg. Added a UnicodeCol Combined 0.6.2 and 0.6.1; renamed 0.6.1 to News.txt Shouldn't try to convert values to integers when testing them for truth -- they may not be coerceable at all, and it's debatable whether '0' should be false. Got rid of tabs. Bad tabs! Added a note about .selectBy Noted _lazyUpdate * Fixed snippet reference * Made build use cd instead of pushd/popd Removed note that SQLite doesn't support transactions Added docstring to top Added docstrings to methods and module Noted that MySQL does support transactions a little more clearly Changed version numbers Doesn't really apply anymore; historically relevant, but not current. * Be a little more robust about closing a DBConnection instance, and closing all its direct connections * When there's no pooling (typically in a transaction) make sure you explicitly close connections that are released. Handle case where datetime isn't defined (it will result in a NameError otherwise, as there's a test against DATETIME_IMPLEMENTATION which isn't defined if datetime isn't importable) Clean up getConnection a little -- if we need to make a connection, don't put it in the pool just to take it out again. Be careful when __del__ happens not to throw an exception Make its __repr__ more robust (so it doesn't raise exceptions when a value is database-dependent) * Add attributes like user, host, db to postgres connections, so that we can recreate the URI * Fixed an assert in dbconnection (NameError) Noted what to do with Python keywords for columns Refactored tests into py.test framework; included documentation about how to use the new tests. Removed tests that are redundant with the new py.test tests Added declarative and boundattributes, which will be the basis for the new SQLObject metaclass Added note about SQLite * Made dbconnection.DBConnection.uri() a bit more tollerant of missing attributes * Gave sqlite.SQLiteConnection a uri method, since it's not like the other databases. Make the base style functional by adding a missing method Minor change in method signature to make them more consistent Added an unlimited-length text field for testing. Create tables in correct order (for constraints) Allow for a set of classes that need to be created; they are destroyed in reverse order. This is needed with constraints where one table depends on another. More fixes to the tests to create/destroy classes in the right order. Move the counting part into the class and out of the metaclass Removed SQLObjectMeta and use DeclarativeMeta, with all the logic in __classinit__. __classinit__ looks almost exactly like DeclarativeMeta.__new__, except newClass renamed to cls and d to new_attrs Added a sqlmeta buddy class/object, which will hold data in the very near future. Don't print out as much debugging about the pool acquisition/release Avoid tables with empty names typo/bug Started putting information into the sqlmeta class: * the table name * the ID name * the style Be careful about sys.modules when generating an error (py.test doesn't put modules in sys.modules) * Give some more explicit controls about how warnings and errors for deprecated features are given. * Export sqlmeta Updated tests to use new style when applicable; added modules that test the backward compatible style when that occurred Removed sqlmeta.finishClass method (merged with setClass) Renamed Person class to InherPerson, so its name doesn't conflict with the name of the table in test_auto Added a test for empty classes (classes with no columns) Get the setupClass calls right so that it creates and destroys tables in the right order Use proper setupClass() invocations * Use new attributes * Be more careful about supports -- negation supports weren't working before (supports like '-dynamicColumns': 'dbs...') Fix a bunch of small issues, like badly named attributes, and names that didn't exist. Excersize the lazyColumns option Explicitly test creation and dropping, including with ifExists and ifNotExists * Replace cls._table with cls.sqlmeta.table * and cls._idName with cls.sqlmeta.idName * and cls._style with cls.sqlmeta.style * and make tests angry if old styles are used. Tests be very angry with old and deprecated styles, Hulk will smash bad tests! Links in headers (typically backlinks to the ToC) won't be miscolored now (so the HTML doesn't have to be generated with special options) Split SQLObject.txt into bite-sized chunks. These chunks will become documents in the Wiki. Removed a redundant attribute * Moved lazyUpdate to sqlmeta * Moved the checking-and-moving of deprecated attributes into a separate method (out of __classinit__) Simplified the cleanDeprecatedAttrs method Added test for the new softer inheritance requirements for sqlmeta Moved defaultOrder into sqlmeta Moved cacheValues into sqlmeta Moved _registry into sqlmeta Moved more attributes into sqlmeta, including attributes that are per-class and private (like _SO_columns); these get set in sqlmeta.setClass * Allow keyword arguments to connectionForURI (and pass through from dbtest.getConnection) * Add callback to registry that is called for all classes * Wrappers added to dbconnection instances that create a psuedo-class that is bound to a connection Give better error message when a class is not found Two bugs: the class wasn't being tracked by the columns (!), and when creating foreign key constraints we weren't looking up the other class respecting its registry Updated for changed private attribute name Added ConnectionHub, an alternate way to set up connections on a process or thread basis. I'm not sure how to test it yet, except by providing a different implementation of setupClass which uses it (now commented out) Moved threadinglocal into the util package and deleting... First go at a command-line client Improve error and help messages slightly Added status command Fixed sys.path fixup Added support for WSGIKit configuration files, including 'database' key and 'sys_path' key Added a default connection, sqlhub; made _connection.style setting in __classinit__ catch the AttributeError that hubs can throw Reverting commits I didn't mean to make Added an execute command, for running arbitrary SQL We shouldn't overwrite the connection hub if we don't have a viable alternative connection Minor reformatting Fixed typo WSGIKit renamed to Paste Since config file can have sys_path, load it up more aggressively; also use default config Added DateTimeCol.now(), which calls either DateTime.now, or datetime.now deleted inaccurate/old comment Better handle older versions of SQLObject being installed Fixes problem with per-instance connections and ConnectionHub Added record command, to record the database status at a certain point in time Better handling of case where no explicit ConnectionHub connection has been provided Handle access from class (where obj is None, type is class) doh, typo Added better help messages; added upgrade command Create database in wrong order py.test was catching class named Test* Use py.test conftest file to add a --Database option (instead of postgres)... more customization upcoming Don't collect SQLObject Test* classes Added test option to show SQL If any classes must be dropped, they all must be dropped Make sure all of a set of related classes are created/dropped in the right order Added option to show query output Make sure not to clear or drop a table that doesn't exist Postgres raises a different exception than MySQL Fixed duplicate name Fixed (another) duplicate name New method to retrieve db description with rows Added some more tests of selectBy and stuff (that already passed anyway) Fixed typo Fixed typo Added --edit option to record, so you can immediately create an upgrade script Give a proper error message when using -f and paste.pyconfig cannot be found Fixed cascade='null', which was cascading deletes, instead of setting columns to null Note failing upgrade script filename Moved idType to sqlmeta Moved _fromDatabase into sqlmeta Moved _expired into sqlmeta changed to sqlmeta style Moved _SO_perConnection to sqlmeta Major refactoring to move soClass._columns and company into sqlmeta. Simplied a couple things in SQLObject.__classinit__ Added docstring Make columns keep their order of creation. Added method for setting the deprecation level Removed documents that have been put back into SQLObject.txt A couple more redundant docs Removed examples (which have been merged into SQLObject.txt) Updated setup.py metadata a bit, moved to setuptools Removed includes from examples Finished transition back to single document Added files and documents for building the entire site Removed stuff that's better documented elsewhere now Added link to ttcms Made the print conditional Fixed link Fixed syntax Added attempt at require() Make installations from trunk use svn revision Added a project Moved to FormEncode for the validators; see DeveloperGuide for new installation process FormEncode etc. update Fix a couple links Added a bunch of links Made select results aggressively fetch objects, instead of lazily use distutils for python2.2 with setup.py Added preliminary document on sqlobject-admin Moved SQLObject into more normal hierarchy Moved repository Allow None in an EnumCol (specific problems in Postgres) Updated news for 0.7 release Read .ini configuration files that use %(here)s and other variable substitution Added note about _get_/_set_ and .select() Changed description, classifiers a little Changed options some; fixed some docstrings New version for the next era; hurrah\! Added a note or two Proposed set of events comment/todo comment/todo Filter should respect queries written as strings (which RelatedJoin also happens to use, and is necessary when using SQLRelatedJoin with .filter()). Also, ignore arguments of None, as this represents an empty query that should match anything (using the same semantics as .select()) Fixed svn url added code to CommandCreate that collects data from sqlmeta.createSQL and runs the queries after table creation. createSQL can be a string with a single SQL command, a list of SQL commands, or a dictionary with keys that are dbNames and a single SQL command string or a list of SQL commands as strings. added an example of using createSQL added some test examples for createSQL that are not yet enabled, but are a useful reference. added blurb about createSQL option for sqlmeta data. moved createSQL code from manager/command.py:CommandCreate to extend the constraints returned in dbconnection.py:createTableSQL Some changed names for the event signals, and a few signature changes. Also some routines using PyDispatcher for handling subclassing (and listening to classes and their subclasses); actual use of these events will come about in a later commit Make sure SQLObject gets require()d before testing, so that any dependencies will also be loaded. Instead of using the normal PyDispatcher package for events, I'm including PyDispatcher in the package directly. New joins! ManyToMany and OneToMany; not fully documented yet, but still more sensible and smarter. Also (in main.py) call all the events promised in events.py. Started event testing; fixed bug with inheriting listeners Some more tests and a fix (last test is broken, but disabled) Added tests for column adding events; fixed a bug with inheriting events (they weren't inherited immediately); added some debugging routines for events; added an option to py.test for debugging events Make sure class name doesn't conflict with other tests Small changes to __all__, and weak arg to listen Fix doc string for pudge Fixed typo Removed inaccurate to-do (it got done) Added .expireAll() methods to sqlmeta and connection objects, to expire all instances in those cases. Also added id key to asDict results Moving documentation to new non-branching location Bring in docs as svn:externals Run all the constraints when setting up a class for a test Update boundattributes, mostly trying to simplify it some; make declarative allow restricting the attributes you can set; change the new joins to use boundattributes Move the attribute setup until later, so that some class fixups occur before __addtoclass__ is called Added a clause attribute to ManyToMany and OneToMany join objects, which you can use in queries Added test for last commit Moved the .clause setting to a later stage when all classes have been resolved Missed return in tryGet test test Added WSGI middleware for configuring connections and running request in transaction Spell disabled properly Fixed problem with DecimalCol error message Fixed problem with sqlite and threads; connections are no longer shared between threads for sqlite (except for :memory:) Added a close option to .commit(), so you can close the transaction as you commit it Make sure that sqlmeta always gets set to an instance when a SQLObject instance is created; sometimes they would be left as the class which is common to all SQLObject/subclass instances. This could potentially have caused a lot of problems. Make sure that sqlmeta always gets set to an instance when a SQLObject instance is created; sometimes they would be left as the class which is common to all SQLObject/subclass instances. This could potentially have caused a lot of problems. Added implementations of createReferenceConstraints for database backends besides postgres and sqlite. Which implies table creation was totally broken before this for all those backends :( Applied SF [ 1385854 ] Fix myql support for foreign keys from Matthias Urlichs; plus some fixes for MySQL tests (but still have some test problems) Applied SF [ 1417936 ] user unfriendly error message in manager.command / TG #459 from Maxim F. Ischenko Applied SF [ 1421263 ] configurable client character set (encoding) for MySQL from Maxim F. Ischenko Applied SF [ 1423877 ] createTable broken for mysql in 0.8dev from Rick Richardson Applied SF [ 1423272 ] Events RowCreateSignal not really useful, added post-create from Rick Richardson When using --no-db-record, don't look at the database at all Bug from last commit (really all_diffs should be generated from the last recorded version, not from the database, but for now just punting on that) Improve output from create command merged 1760:1761 from 0.7-bugfix branch merged r1804:1805 to trunk Changed locations for devel docs; removed blog link Don't publish the docstrings from the test modules Fix RowUpdateSignal docstring Put 0.8 docs at root docstring formatting added pudge command Avoid the inheritance tests package when building docs Ian Sparks (1): Added support for firebird for Datetime and Date columns. Improved firebird support for enum columns. Karl Chen (1): fix import problems; use "import as" construct Luke Opperman (7): Merged branches/sqlbuilder-views+1 for sqbuilder/sresults unification, sresults.throughTo, sqlbuilder.ImportProxy, and views Merged fixes from branches/cache-deps-on-views for sresults.throughTo and joins/instances as .q. expressions Bug in SQLRelatedJoin not respecting _perConnection SQLite apparently won't handle modifications outside of transaction when a transaction is running. Docs update: re-read of the main SQLObject docs, new docs for SelectResults and Views. Missed definition for lazyColumns, minor style changes. .j attribute on SO classes, and sqlbuilder.SQLObjectTableWithJoins class for auto-constructing join expressions as 'cls.j.joinName' or 'cls.j.foreignKeyName' Oleg Broytman (861): Fixed a bug: only clear self.cache if doCache is True. Fixed bugs in _LikeQuoted: added __add__ and __radd__ so its instances can be used in '%' + _LikeQuoted(value) + '%'. Ignore *.pyo in addition to *.pyc. Applied MySQL "DOUBLE PRECISION" patch and DATE type for sqlite from SF. Separated main() to use it in other test modules. Used getopt to parse options and arguments. Renamed tests/test.py to tests/test_sqlobject.py to allow import from it (and not from python test). dbValue is never used in the snippet. Test the server's version and adapt DROP TABLE (do not use CASCADE in version 7.2 or earlier). Fixed a bug: replaced usage() with sys.exit() and an error message. Removed separartion of attributes for plain setters from ._create() because .set() does this itself. Minor optimization in kw.items(). Convert dbValue back toPython. 2013 is the SERVER_LOST error. Merged patch from revisions 435:437: lookup column names in self._SO_columnDict in addition to self.__class__. Removed .set(driver='james') - we've decided to not allow non-columns keywords in .set(). Fixed tableExists(): use sqlrepr() to quote tableName; removed a comment. Removed deadly broken dbm connection; updated docs. Fixed a bug in UnicodeStringValidator: test if the value is None. Fixed a bug with tables that do not have columns (only MultipleJoins, e.g.) Updated the cache and converters tests for SQLObject 0.6. Applied the law of Demeter: a class should not name (instantiate) another class directly - the other class must be a parameter. Now UnicodeCol and BoolClo instantiate their validators using self.validatorClass; to allow even better flexibility the validator is created in the createValidator() method. Do not convert str in UnicodeStringValidator.fromPython(); do not convert unicode in UnicodeStringValidator.toPython(). Added IntValidator that tests if an IntCol got only int or long; raises TypeError if not. Allowed sqlbuilder.SQLExpression and descendants in IntValidator. Fixed a number of bugs in calls to fromPython/toPython/attemptConvert. Raise InvalidField instead of TypeError. Removed a test - IntCol now doesn't accept a string. Changed IntValidator.toPython - it now calls int() to convert non-integer value. Added date/time validators, converters and tests. DateTime always has 'hour' - test for date by or in format. A lot of minor improvements and bug fixes in date/time validators and tests. Added tests for MXDateTimeValidator. Minor improvements in the date/time tests. mxDateTime stores second as float - datetime wants an int. Added BLOB column type (for PostgreSQL and MySQL), BinaryValidator and a test for them. Fixed a bug in sqlStringReplace - MySQL and PostgreSQL use backslash to escape quotes. Fixed incompatibility - in Python 2.2 issubclass allows only a class as a second argument. Added PickleCol, PickleValidator and tests. Added FloatValidator and a test for it. PickleCol now has a parameter pickleProtocol. Default is 1 (binary) for compatibility with Python 2.2. Fixed incompatibility with Python 2.2: used col.popKey() instead of kw.pop(). Fixed more incompatibility with Python 2.2: use string.find(), emulate sum() and enumerate() if they aren't available. Fixed a bug in date/time validators: allow sqlbuilder.SQLExpression. Do not convert None to Binary. class SelectResults has been moved to sresults.py. Inheritance patch! Minor bugfixes for Python 2.2. Do not pass parent's values to the child's _create() to avoid double UPDATEing of these values. Added 'inheritance' subpackage to setup.py. Mentioned BLOBCol and PickleCol in section "Binary values". Minor code cleanup - removed trailing spaces. Added connection parameter to method .delete(). Applied the patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1104058&group_id=74338&atid=540674 Applied the patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1040262&group_id=74338&atid=540672 Minor inheritance documentation update. Started new section about SQLObject 0.7.0. Fixed a bug in sqlite connection - allow in-memory database with sqlite:/:memory: URI. Added tests for _parseURI. Fixed bugs in nherited byAlternateID() and selectBy(). Split _SO_fetchAlternateID() into _findAlternateID() overrided _findAlternateID() in InheritableSQLObject. Added more inheritance tests. The patch simplified and made faster inherited _SO_fetchAlternateID (_findAlternateID, actually), but changed their signatures. Fixed a minor bug in cache.py expireAll(). _parseURI now splits host and port, if the host contains :port. _parseURI() now translate paths from C|/path to C:/path on w32 platforms. Fixed a bug with autocommit in sqlite. Fixed bugs with passing port to MySQLdb. Added min() and max() - patch by michelts <mic...@gm...>. Added avg() and tests. InheritableSQLObject are now inheritable by default - one does not need to set _inheritable = True. Tests and documentation were updated. Some statistical functions (MIN, AVG, MAX) may return fload result. Added tests for float functions. Changed the way accumalte functions work. Now you can accumulate a list of functions at once: select.accumulate(*accumulateMany(("MIN", attribute), ("MAX", attribute))). accumulateMany() usage is now even simpler: select.accumulateMany(*atributes). Fixed bug https://sourceforge.net/tracker/index.php?func=detail&aid=1012150&group_id=74338&atid=540672. Foo.selectBy(column=None) now issues '... column IS NULL'. ... 876 lines suppressed ... hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 12:27:55
|
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 f771dca4b95c82ecf6b7ec15c6c47b50178801f6 (commit) via 1d95c0d3d2193eef66c4813a23878263690571f6 (commit) via 7380ba7b648edd0fdbdce2a9c25bfca629c80708 (commit) via d7a12d4b6ff35990c78c4d53fe7c729380b0173d (commit) via 891b8621807fc842442002d484fafcc981af748f (commit) from a6b2f4cafda7bcd7791d5606da910d5653591122 (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/f771dca4b95c82ecf6b7ec15c6c47b50178801f6 commit f771dca4b95c82ecf6b7ec15c6c47b50178801f6 Merge: 891b862 1d95c0d Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 08:52:30 2014 +0300 Merge branch '1.7' diff --cc docs/News.txt index a0e5279,8b1d7c2..311247a --- a/docs/News.txt +++ b/docs/News.txt @@@ -75,11 -60,13 +82,18 @@@ Bugfixe * A bugfix was ported from `SQLObject 1.5.2`_. +Development +----------- + +* Development switched from Subvesion to git. + + SQLObject 1.5.3 + =============== + + Released 26 Oct 2014. + + * Allow unicode in .orderBy(u'-column'). + SQLObject 1.5.2 =============== http://sourceforge.net/p/sqlobject/sqlobject/ci/891b8621807fc842442002d484fafcc981af748f commit 891b8621807fc842442002d484fafcc981af748f Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 03:18:16 2014 +0300 "Upgrade" ez_setup to 5.4.2 diff --git a/docs/News.txt b/docs/News.txt index c724ba1..a0e5279 100644 --- a/docs/News.txt +++ b/docs/News.txt @@ -22,7 +22,7 @@ Features & Interface Minor features -------------- -* Upgrade ez_setup to 5.4.1. +* Upgrade ez_setup to 5.4.2. Development ----------- diff --git a/ez_setup.py b/ez_setup.py index f9be432..b2435fe 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -36,7 +36,7 @@ try: except ImportError: USER_SITE = None -DEFAULT_VERSION = "5.4.1" +DEFAULT_VERSION = "5.4.2" DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/" def _python_cmd(*args): ----------------------------------------------------------------------- Summary of changes: docs/News.txt | 18 ++++++++++++++++-- ez_setup.py | 2 +- sqlobject/sresults.py | 2 +- sqlobject/tests/test_sorting.py | 2 +- 4 files changed, 19 insertions(+), 5 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 12:27:52
|
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 1d95c0d3d2193eef66c4813a23878263690571f6 (commit) via 7380ba7b648edd0fdbdce2a9c25bfca629c80708 (commit) via d7a12d4b6ff35990c78c4d53fe7c729380b0173d (commit) from 53b614c316c6d286df0cd434529df5431725b89f (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: docs/News.txt | 16 +++++++++++++++- sqlobject/sresults.py | 2 +- sqlobject/tests/test_sorting.py | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 12:27:50
|
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 7380ba7b648edd0fdbdce2a9c25bfca629c80708 (commit) via d7a12d4b6ff35990c78c4d53fe7c729380b0173d (commit) from cf9d129f10cfa27fa38bad5d6d79e7356f040530 (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: docs/News.txt | 14 ++++++++++++++ sqlobject/sresults.py | 2 +- sqlobject/tests/test_sorting.py | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-10-26 12:27:48
|
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 47dde293a91792482d0512936cd21d1da50db85e (commit) via d7a12d4b6ff35990c78c4d53fe7c729380b0173d (commit) from 8f1fb3a97262be65d071a9260ba269dd9fe035fb (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/47dde293a91792482d0512936cd21d1da50db85e commit 47dde293a91792482d0512936cd21d1da50db85e Author: Oleg Broytman <ph...@ph...> Date: Sun Oct 26 15:27:11 2014 +0300 Release 1.5.3 diff --git a/README.txt b/README.txt index 0fb8eec..8b99c24 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -SQLObject 1.5 -============= +SQLObject 1.5.3 +=============== Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python diff --git a/setup.cfg b/setup.cfg index c891669..946a84a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,10 +5,6 @@ command_packages = buildutils.pudge_command, [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html -[egg_info] -tag_build = dev -tag_date = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py index 916b8e1..c7593cf 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '1.5' +version = '1.5.3' major = 1 minor = 5 -micro = 0 -release_level = 'branch' +micro = 3 +release_level = 'final' serial = 0 version_info = (major, minor, micro, release_level, serial) ----------------------------------------------------------------------- Summary of changes: README.txt | 4 ++-- docs/News.txt | 7 +++++++ setup.cfg | 4 ---- sqlobject/__version__.py | 6 +++--- sqlobject/sresults.py | 2 +- sqlobject/tests/test_sorting.py | 2 +- 6 files changed, 14 insertions(+), 11 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-08-22 13:51:07
|
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 a6b2f4cafda7bcd7791d5606da910d5653591122 (commit) from 03db537d40616f6eb6aa8a2ad356a568b003b71f (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/a6b2f4cafda7bcd7791d5606da910d5653591122 commit a6b2f4cafda7bcd7791d5606da910d5653591122 Author: Oleg Broytman <ph...@ph...> Date: Fri Aug 22 17:50:08 2014 +0400 Change download URL diff --git a/setup.py b/setup.py index 7441c6b..b02153c 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-20140801" % version, + download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20140817" % version, license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin", "scripts/sqlobject-convertOldURI"], ----------------------------------------------------------------------- Summary of changes: setup.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-08-16 20:17: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, master has been updated via 03db537d40616f6eb6aa8a2ad356a568b003b71f (commit) via a30c93430884fd886d6bbafc4226eb1a90f1d406 (commit) from f785915dfade8a0f8847c02b9d4be0c18ea87bf4 (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/03db537d40616f6eb6aa8a2ad356a568b003b71f commit 03db537d40616f6eb6aa8a2ad356a568b003b71f Author: Oleg Broytman <ph...@ph...> Date: Sun Aug 17 00:15:55 2014 +0400 Development was switched from Subversion to git diff --git a/setup.py b/setup.py index 0b827fb..7441c6b 100755 --- a/setup.py +++ b/setup.py @@ -51,8 +51,9 @@ applications. Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB). -For development see the `subversion repository -<http://svn.colorstudy.com/SQLObject/trunk>`_ +For development see the git repositories at +http://sourceforge.net/p/sqlobject/_list/git and +https://github.com/sqlobject """, classifiers=[ "Development Status :: 5 - Production/Stable", http://sourceforge.net/p/sqlobject/sqlobject/ci/a30c93430884fd886d6bbafc4226eb1a90f1d406 commit a30c93430884fd886d6bbafc4226eb1a90f1d406 Author: Oleg Broytman <ph...@ph...> Date: Sun Aug 17 00:13:40 2014 +0400 Remove unused section [easy_install] Anyway find_links URL http://svn.pythonpaste.org/package_index.html was broken long ago. diff --git a/setup.cfg b/setup.cfg index e9807b2..ee84c8a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,9 +2,6 @@ command_packages = buildutils.pudge_command, buildutils.publish_command -[easy_install] -#find_links = http://svn.pythonpaste.org/package_index.html - [egg_info] tag_build = dev tag_date = true ----------------------------------------------------------------------- Summary of changes: setup.cfg | 3 --- setup.py | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-08-01 00:27: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, 2.0.0a1 has been created at 34401cfe9221cf95b1889e2c96827a5def8717d8 (tag) tagging f785915dfade8a0f8847c02b9d4be0c18ea87bf4 (commit) tagged by Oleg Broytman on Fri Aug 1 04:26:45 2014 +0400 - Log ----------------------------------------------------------------- Release 2.0.0a1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJT2t7FAAoJEG4IC3C2KHsDSu4P/1ne0apvSZGp8rbV0YKlW55M ksPKawZg7UQTMTcYUA4/zoHft1SB9RFyM0eOcqQEhkFTR+5UGCLbUv0qpm0XuJHs nPrXQJ4awOKN/UH6497UW3rUULrPpPHdAX60CLdoMVQix6ZgI19naDeoxwufUPcC yKYiDWJ5i3sKRMils8Vo4u0paNFP8nEebk5tCukABHZldCZCnYVy3XNHv69Q5oNn LWMX3mdGPmXQRrpiPbDDAsRsbYiCztXQdv2brR/SJw/t38wURKq7WoiGY0GbcEtK uRAaFn+AlO/vyJox7KyXuRWrv5lJVN72mAQBUUrAxo6svnvk9+YMtr6HsImmaRUr ig7Ibe0P3705d0gQLGu19jF4Uy71sbtGBs4kVni9+zlEDEYDL6OGTNCMnS8GMtIo Y5FQEdDOaSoDs0w/Zy5oW2fTT2P4ySWCq80EIwh5CI6x6Nw+tkJdxJFPPMGVIBOC mLrAc3ayVFlDP3s9C/ayogt2EADzw6Q5APh+nJUufgZYFRD13MJ+0JlM284Ne/4S vatDaM3/1q09L2OKpG0QpmfPPo/keEkxh82UOVskZLsG3NDTUnk6mrQnGts5ZMfh IVfY+mvSNjvEH9oRF+iR3pbt9eurgB0IsRxrGp1iZPmisoAydkRn4tBgbq2d5F9O idwoFifwLM6yLjmJoW12 =I7nB -----END PGP SIGNATURE----- Ahmed MOHAMED ALI (36): Initial Import Initial Import Initial Import Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Removed file/folder Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Removed file/folder created by error by the client tool Initial Import Created folder remotely Removed file/folder Removed file/folder Removed file/folder Removed file/folder Initial Import git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@134 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@135 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Removed file/folder Created folder remotely git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@138 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@139 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@140 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@141 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@142 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@143 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@144 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Removed file/folder Removed file/folder git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@147 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@148 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@149 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Removed file/folder Removed file/folder git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@152 95a46c32-92d2-0310-94a5-8d71aeb3d4b3 Brad Bollenbach (2): Steve Alexander's patch to raise an error when the same SQLObject is defined more than once. I've added a test to prove that this works. Andrew Bennetts' patch to create join methods correctly, even if they're not named explicitly. I've done some slight renaming to hopefully more clearly describe what's being tested. Dan Pascu (6): Fixed inconsistency with error message type when converting from mysql OperationalError to sqlobject OperationalError Fixed adding extra URI parameters from the function kwargs when the URI already contains some parameters Fixed incorrect handling of boolean arguments passed to connectionForURI or via dburi parameters Simplified getattr expressions to be terse Use the connection dbEncoding instead of ascii, when converting a unicode value from python to database for a StringCol Fixed createSQL table constrains generation when table name includes the database name (contains a dot) David M. Cook (2): Test that query results with None IDs (e.g. some outer join cases) are handled correctly, i.e. return None for that object. In Iteration.next(), handle the case where the id is None by returning None. With outer joins this is a common case, e.g. Contact.select(join=LEFTJOINOn(Customer, Contact, Customer.q.id==Contact.q.customerID)) where some customers have no contacts. David Turner (22): Added versioning Added nextVersion and getChangedFields to Versioning now versions work with foreign keys clean up before tests do not recreate version class gee, that was a dumb way to add methods to a class now versioning works outside of tests versions can now have extra columns oops getChangedFields now works with extra cols make version objects act like instances of their master class do not restore attributes that are extra to the version call row created postfuncs versioning now works with constraints like unique make blobcols work with real binary data make versioning tests pass test for mysql unicode and blobs check that values roundtrip in unicode these tests were duplicative in mysql, altids must have length never convert to unicode at all for mysql connections at query time. FIXED: previously, row update events were sent differently for o.set(a=...) vs o.a=... in inherited tables. Now events are consistent Ian Bicking (314): Initial import of SQLObject and DataTest Fixed up all the name changes, so the tests run again. Added a classregistry module. Renamed __new__ to get, renamed new to __init__ (in other words, class instantiation creates a row, while the get() class method fetches an object) Fixed some reST formatting problems Made notes and warnings display more nicely. Fixed examples and documentation for .new/.get change, and the new sqlobject (vs. SQLObject) package Added some news for 0.6 Split database support into subpackages, one per driver Added URI support, which is not the most convenient way to specify the database. URIs can be used in lieu of a connection. Added lazy updating Some URI-related fixes Added notes about URIs and lazy updates Fixed converter for BoolValidator, which wasn't working with SQLite Added another boolean test Bunch of fixes to database refactoring- made database modules load lazily (only when they are used), did actual regression testing on the databases Added some backward-compatible *Connection constructors Fixed typo Added comment Fixed threading problem with .select() Fixed SF [ 859999 ] DBConnection gets unexpected keyword argument 'pool' When you do a set, save the unconverted value for passing back (instead of saving the un-toPython'd value) Forward-ported fixes from 0.5.2 forward-ported 0.5.2 news Just so I can see if email is working Little distribution script updates * Fixed threading issue with Iterator, to match fix in 0.5 (connections were being released multiple times) * Expanded URIs to allow keyword (GET) arguments * Put in (optionally) more thorough debugging output Fixed bug related to orderBy='-column_name' Translate '/' in the path in a Firebird connection URI to os.path.sep, i.e., '\' on Windows, since Firebird doesn't handle /'s appropriately on that platform. Backward compatibility Fixed bug in .selectBy() with multiple keyword arguments Deal with empty values (that int() still looks suspicious to me) Removed debugging print statement Allow _connection to be inherited. Made _idName *not* inherit (as it really shouldn't, especially when the ID includes the table name). Fix repr() for objects with non-integer IDs Fixed quoting of Python2.3 datetime objects Made name and joinMethodName more exposed on Col and Join objects * Fix some issues related to subclassing and removing columns from subclasses * Added a new _create method for intercepting row inserts. * Changed insertQueryID usage Changed queryInsertID method, so that pgconnection can be provided a custom sequence name for a table/id. Fixed little bug in loop Python 2.2 boolean fix (SF: 903488) Deal with (questionable?) case where the destructor is called with a missing instance variable Fixed error message Allow non-SQL-safe column names (like '"binary"'). SF 826079 Note cascade keyword argument addition Convert long ints properly Typo (SF: 944684) Updated fromDatabase for changes in col.py Started TODO.txt; tested abnormal ID names with _fromDatabase Added note about _idType Allow sqlite:/:memory: Oops, didn't need that test for :memory: Got rid of some bad tabs; fixed other minor whitespace issues. Make SQLite use TINYINT for boolean columns (not default of str) Allow sqlType to override StringCol's default type Don't try to expire objects if cacheValues=Values (SF 956847) Test to look at SF 956839: destroySelf() doesn't work if cache=False Notes Fixed PG _fromDatabase primary key detection Fixed some transaction bugs Fixed test case that didn't clean up after itself MySQL insert ID fix (from mailing list) New FAQ about reloading modules New classmethod createTableSQL() Use FOREIGN KEY constraints even if cascade isn't explicitly given Added CASCADE SET NULL option Changed contraint name generation; since you may have two columns that are both keys to the same table, you shouldn't use foreign_table_name_exists as the constraint name, as it won't be unique. Instead we use col_name_exists. Pay attention to joinMethodName keyword argument to joins Added extra arguments that get passed to firebird connections Fixed problem with fromPython validators Force firebird's dialect connection option to be an integer Fixed _queryInsertID provide a better error message when having connection problems Applied patch [ 974755 ] add connection parameters to all class methods in SQLObject news for last patch Updated version numbers to 0.6.1; added an announcement email template typo Applied patch for joinMethodName, from Cyril Elkaim, 09/01/04 * Added indexing * Documentation thereof * Maybe made ForeignKey naming more robust (keep track of the original name in .origName) * Added a .module attribute to connections * Small reorganization of tests * Applied distinct patch * .count() cannot be used with distinct currently Added a developer guide for the project Small bug fixes Some fixes for the .uri() connection function (that produces a URI). Explicitly close all database connections (SF patch 1033807, though not directly applied). Applied [ 1034254 ] selectBy patch for accepting object values Fixed bug [ 1034304 ] count() failes on selectBy result Fixed bug [ 1030094 ] Documentation uses incorrect classname. (typo) The % in LIKE expressions is quoted in different ways on different databases. This uses \% for Postgres and MySQL, %% for other databases A presentation I'm giving Edits and visual updates Small fix to coerceID Better error message Used repr() instead of sqlrepr(), reported by Oleg Two small bugfixes from Oleg, allIDs() and tryGet() tryGet() needs to check expiredCache as well ClassRegistryTest: Error string for duplicate classes changed IndexTest1: Postgres raises ProgrammingError instead of IntegrityError, sometimes; just catches either now. Was invalidly converting values to database representation, then putting them in the Python-representation attribute. Per email Re: [SQLObject] .set() fromPython Typo in a comment (propagated to the docs) Noted that SQLObject._init must be called, per Carlos Ribeiro's suggestion. Removed R Undid mistaken commit. Stupid editor keeps saving my files when I intend to abort... Removed dbm package from setup.py * Took out references to DBMConnection * Added references to SybaseConnection and MaxdbConnection * A few other miscellaneous changes Added Oleg. Added a UnicodeCol Combined 0.6.2 and 0.6.1; renamed 0.6.1 to News.txt Shouldn't try to convert values to integers when testing them for truth -- they may not be coerceable at all, and it's debatable whether '0' should be false. Got rid of tabs. Bad tabs! Added a note about .selectBy Noted _lazyUpdate * Fixed snippet reference * Made build use cd instead of pushd/popd Removed note that SQLite doesn't support transactions Added docstring to top Added docstrings to methods and module Noted that MySQL does support transactions a little more clearly Changed version numbers Doesn't really apply anymore; historically relevant, but not current. * Be a little more robust about closing a DBConnection instance, and closing all its direct connections * When there's no pooling (typically in a transaction) make sure you explicitly close connections that are released. Handle case where datetime isn't defined (it will result in a NameError otherwise, as there's a test against DATETIME_IMPLEMENTATION which isn't defined if datetime isn't importable) Clean up getConnection a little -- if we need to make a connection, don't put it in the pool just to take it out again. Be careful when __del__ happens not to throw an exception Make its __repr__ more robust (so it doesn't raise exceptions when a value is database-dependent) * Add attributes like user, host, db to postgres connections, so that we can recreate the URI * Fixed an assert in dbconnection (NameError) Noted what to do with Python keywords for columns Refactored tests into py.test framework; included documentation about how to use the new tests. Removed tests that are redundant with the new py.test tests Added declarative and boundattributes, which will be the basis for the new SQLObject metaclass Added note about SQLite * Made dbconnection.DBConnection.uri() a bit more tollerant of missing attributes * Gave sqlite.SQLiteConnection a uri method, since it's not like the other databases. Make the base style functional by adding a missing method Minor change in method signature to make them more consistent Added an unlimited-length text field for testing. Create tables in correct order (for constraints) Allow for a set of classes that need to be created; they are destroyed in reverse order. This is needed with constraints where one table depends on another. More fixes to the tests to create/destroy classes in the right order. Move the counting part into the class and out of the metaclass Removed SQLObjectMeta and use DeclarativeMeta, with all the logic in __classinit__. __classinit__ looks almost exactly like DeclarativeMeta.__new__, except newClass renamed to cls and d to new_attrs Added a sqlmeta buddy class/object, which will hold data in the very near future. Don't print out as much debugging about the pool acquisition/release Avoid tables with empty names typo/bug Started putting information into the sqlmeta class: * the table name * the ID name * the style Be careful about sys.modules when generating an error (py.test doesn't put modules in sys.modules) * Give some more explicit controls about how warnings and errors for deprecated features are given. * Export sqlmeta Updated tests to use new style when applicable; added modules that test the backward compatible style when that occurred Removed sqlmeta.finishClass method (merged with setClass) Renamed Person class to InherPerson, so its name doesn't conflict with the name of the table in test_auto Added a test for empty classes (classes with no columns) Get the setupClass calls right so that it creates and destroys tables in the right order Use proper setupClass() invocations * Use new attributes * Be more careful about supports -- negation supports weren't working before (supports like '-dynamicColumns': 'dbs...') Fix a bunch of small issues, like badly named attributes, and names that didn't exist. Excersize the lazyColumns option Explicitly test creation and dropping, including with ifExists and ifNotExists * Replace cls._table with cls.sqlmeta.table * and cls._idName with cls.sqlmeta.idName * and cls._style with cls.sqlmeta.style * and make tests angry if old styles are used. Tests be very angry with old and deprecated styles, Hulk will smash bad tests! Links in headers (typically backlinks to the ToC) won't be miscolored now (so the HTML doesn't have to be generated with special options) Split SQLObject.txt into bite-sized chunks. These chunks will become documents in the Wiki. Removed a redundant attribute * Moved lazyUpdate to sqlmeta * Moved the checking-and-moving of deprecated attributes into a separate method (out of __classinit__) Simplified the cleanDeprecatedAttrs method Added test for the new softer inheritance requirements for sqlmeta Moved defaultOrder into sqlmeta Moved cacheValues into sqlmeta Moved _registry into sqlmeta Moved more attributes into sqlmeta, including attributes that are per-class and private (like _SO_columns); these get set in sqlmeta.setClass * Allow keyword arguments to connectionForURI (and pass through from dbtest.getConnection) * Add callback to registry that is called for all classes * Wrappers added to dbconnection instances that create a psuedo-class that is bound to a connection Give better error message when a class is not found Two bugs: the class wasn't being tracked by the columns (!), and when creating foreign key constraints we weren't looking up the other class respecting its registry Updated for changed private attribute name Added ConnectionHub, an alternate way to set up connections on a process or thread basis. I'm not sure how to test it yet, except by providing a different implementation of setupClass which uses it (now commented out) Moved threadinglocal into the util package and deleting... First go at a command-line client Improve error and help messages slightly Added status command Fixed sys.path fixup Added support for WSGIKit configuration files, including 'database' key and 'sys_path' key Added a default connection, sqlhub; made _connection.style setting in __classinit__ catch the AttributeError that hubs can throw Reverting commits I didn't mean to make Added an execute command, for running arbitrary SQL We shouldn't overwrite the connection hub if we don't have a viable alternative connection Minor reformatting Fixed typo WSGIKit renamed to Paste Since config file can have sys_path, load it up more aggressively; also use default config Added DateTimeCol.now(), which calls either DateTime.now, or datetime.now deleted inaccurate/old comment Better handle older versions of SQLObject being installed Fixes problem with per-instance connections and ConnectionHub Added record command, to record the database status at a certain point in time Better handling of case where no explicit ConnectionHub connection has been provided Handle access from class (where obj is None, type is class) doh, typo Added better help messages; added upgrade command Create database in wrong order py.test was catching class named Test* Use py.test conftest file to add a --Database option (instead of postgres)... more customization upcoming Don't collect SQLObject Test* classes Added test option to show SQL If any classes must be dropped, they all must be dropped Make sure all of a set of related classes are created/dropped in the right order Added option to show query output Make sure not to clear or drop a table that doesn't exist Postgres raises a different exception than MySQL Fixed duplicate name Fixed (another) duplicate name New method to retrieve db description with rows Added some more tests of selectBy and stuff (that already passed anyway) Fixed typo Fixed typo Added --edit option to record, so you can immediately create an upgrade script Give a proper error message when using -f and paste.pyconfig cannot be found Fixed cascade='null', which was cascading deletes, instead of setting columns to null Note failing upgrade script filename Moved idType to sqlmeta Moved _fromDatabase into sqlmeta Moved _expired into sqlmeta changed to sqlmeta style Moved _SO_perConnection to sqlmeta Major refactoring to move soClass._columns and company into sqlmeta. Simplied a couple things in SQLObject.__classinit__ Added docstring Make columns keep their order of creation. Added method for setting the deprecation level Removed documents that have been put back into SQLObject.txt A couple more redundant docs Removed examples (which have been merged into SQLObject.txt) Updated setup.py metadata a bit, moved to setuptools Removed includes from examples Finished transition back to single document Added files and documents for building the entire site Removed stuff that's better documented elsewhere now Added link to ttcms Made the print conditional Fixed link Fixed syntax Added attempt at require() Make installations from trunk use svn revision Added a project Moved to FormEncode for the validators; see DeveloperGuide for new installation process FormEncode etc. update Fix a couple links Added a bunch of links Made select results aggressively fetch objects, instead of lazily use distutils for python2.2 with setup.py Added preliminary document on sqlobject-admin Moved SQLObject into more normal hierarchy Moved repository Allow None in an EnumCol (specific problems in Postgres) Updated news for 0.7 release Read .ini configuration files that use %(here)s and other variable substitution Added note about _get_/_set_ and .select() Changed description, classifiers a little Changed options some; fixed some docstrings New version for the next era; hurrah\! Added a note or two Proposed set of events comment/todo comment/todo Filter should respect queries written as strings (which RelatedJoin also happens to use, and is necessary when using SQLRelatedJoin with .filter()). Also, ignore arguments of None, as this represents an empty query that should match anything (using the same semantics as .select()) Fixed svn url added code to CommandCreate that collects data from sqlmeta.createSQL and runs the queries after table creation. createSQL can be a string with a single SQL command, a list of SQL commands, or a dictionary with keys that are dbNames and a single SQL command string or a list of SQL commands as strings. added an example of using createSQL added some test examples for createSQL that are not yet enabled, but are a useful reference. added blurb about createSQL option for sqlmeta data. moved createSQL code from manager/command.py:CommandCreate to extend the constraints returned in dbconnection.py:createTableSQL Some changed names for the event signals, and a few signature changes. Also some routines using PyDispatcher for handling subclassing (and listening to classes and their subclasses); actual use of these events will come about in a later commit Make sure SQLObject gets require()d before testing, so that any dependencies will also be loaded. Instead of using the normal PyDispatcher package for events, I'm including PyDispatcher in the package directly. New joins! ManyToMany and OneToMany; not fully documented yet, but still more sensible and smarter. Also (in main.py) call all the events promised in events.py. Started event testing; fixed bug with inheriting listeners Some more tests and a fix (last test is broken, but disabled) Added tests for column adding events; fixed a bug with inheriting events (they weren't inherited immediately); added some debugging routines for events; added an option to py.test for debugging events Make sure class name doesn't conflict with other tests Small changes to __all__, and weak arg to listen Fix doc string for pudge Fixed typo Removed inaccurate to-do (it got done) Added .expireAll() methods to sqlmeta and connection objects, to expire all instances in those cases. Also added id key to asDict results Moving documentation to new non-branching location Bring in docs as svn:externals Run all the constraints when setting up a class for a test Update boundattributes, mostly trying to simplify it some; make declarative allow restricting the attributes you can set; change the new joins to use boundattributes Move the attribute setup until later, so that some class fixups occur before __addtoclass__ is called Added a clause attribute to ManyToMany and OneToMany join objects, which you can use in queries Added test for last commit Moved the .clause setting to a later stage when all classes have been resolved Missed return in tryGet test test Added WSGI middleware for configuring connections and running request in transaction Spell disabled properly Fixed problem with DecimalCol error message Fixed problem with sqlite and threads; connections are no longer shared between threads for sqlite (except for :memory:) Added a close option to .commit(), so you can close the transaction as you commit it Make sure that sqlmeta always gets set to an instance when a SQLObject instance is created; sometimes they would be left as the class which is common to all SQLObject/subclass instances. This could potentially have caused a lot of problems. Make sure that sqlmeta always gets set to an instance when a SQLObject instance is created; sometimes they would be left as the class which is common to all SQLObject/subclass instances. This could potentially have caused a lot of problems. Added implementations of createReferenceConstraints for database backends besides postgres and sqlite. Which implies table creation was totally broken before this for all those backends :( Applied SF [ 1385854 ] Fix myql support for foreign keys from Matthias Urlichs; plus some fixes for MySQL tests (but still have some test problems) Applied SF [ 1417936 ] user unfriendly error message in manager.command / TG #459 from Maxim F. Ischenko Applied SF [ 1421263 ] configurable client character set (encoding) for MySQL from Maxim F. Ischenko Applied SF [ 1423877 ] createTable broken for mysql in 0.8dev from Rick Richardson Applied SF [ 1423272 ] Events RowCreateSignal not really useful, added post-create from Rick Richardson When using --no-db-record, don't look at the database at all Bug from last commit (really all_diffs should be generated from the last recorded version, not from the database, but for now just punting on that) Improve output from create command merged 1760:1761 from 0.7-bugfix branch merged r1804:1805 to trunk Changed locations for devel docs; removed blog link Don't publish the docstrings from the test modules Fix RowUpdateSignal docstring Put 0.8 docs at root docstring formatting added pudge command Avoid the inheritance tests package when building docs Ian Sparks (1): Added support for firebird for Datetime and Date columns. Improved firebird support for enum columns. Karl Chen (1): fix import problems; use "import as" construct Luke Opperman (7): Merged branches/sqlbuilder-views+1 for sqbuilder/sresults unification, sresults.throughTo, sqlbuilder.ImportProxy, and views Merged fixes from branches/cache-deps-on-views for sresults.throughTo and joins/instances as .q. expressions Bug in SQLRelatedJoin not respecting _perConnection SQLite apparently won't handle modifications outside of transaction when a transaction is running. Docs update: re-read of the main SQLObject docs, new docs for SelectResults and Views. Missed definition for lazyColumns, minor style changes. .j attribute on SO classes, and sqlbuilder.SQLObjectTableWithJoins class for auto-constructing join expressions as 'cls.j.joinName' or 'cls.j.foreignKeyName' Oleg Broytman (959): Fixed a bug: only clear self.cache if doCache is True. Fixed bugs in _LikeQuoted: added __add__ and __radd__ so its instances can be used in '%' + _LikeQuoted(value) + '%'. Ignore *.pyo in addition to *.pyc. Applied MySQL "DOUBLE PRECISION" patch and DATE type for sqlite from SF. Separated main() to use it in other test modules. Used getopt to parse options and arguments. Renamed tests/test.py to tests/test_sqlobject.py to allow import from it (and not from python test). dbValue is never used in the snippet. Test the server's version and adapt DROP TABLE (do not use CASCADE in version 7.2 or earlier). Fixed a bug: replaced usage() with sys.exit() and an error message. Removed separartion of attributes for plain setters from ._create() because .set() does this itself. Minor optimization in kw.items(). Convert dbValue back toPython. 2013 is the SERVER_LOST error. Merged patch from revisions 435:437: lookup column names in self._SO_columnDict in addition to self.__class__. Removed .set(driver='james') - we've decided to not allow non-columns keywords in .set(). Fixed tableExists(): use sqlrepr() to quote tableName; removed a comment. Removed deadly broken dbm connection; updated docs. Fixed a bug in UnicodeStringValidator: test if the value is None. Fixed a bug with tables that do not have columns (only MultipleJoins, e.g.) Updated the cache and converters tests for SQLObject 0.6. Applied the law of Demeter: a class should not name (instantiate) another class directly - the other class must be a parameter. Now UnicodeCol and BoolClo instantiate their validators using self.validatorClass; to allow even better flexibility the validator is created in the createValidator() method. Do not convert str in UnicodeStringValidator.fromPython(); do not convert unicode in UnicodeStringValidator.toPython(). Added IntValidator that tests if an IntCol got only int or long; raises TypeError if not. Allowed sqlbuilder.SQLExpression and descendants in IntValidator. Fixed a number of bugs in calls to fromPython/toPython/attemptConvert. Raise InvalidField instead of TypeError. Removed a test - IntCol now doesn't accept a string. Changed IntValidator.toPython - it now calls int() to convert non-integer value. Added date/time validators, converters and tests. DateTime always has 'hour' - test for date by or in format. A lot of minor improvements and bug fixes in date/time validators and tests. Added tests for MXDateTimeValidator. Minor improvements in the date/time tests. mxDateTime stores second as float - datetime wants an int. Added BLOB column type (for PostgreSQL and MySQL), BinaryValidator and a test for them. Fixed a bug in sqlStringReplace - MySQL and PostgreSQL use backslash to escape quotes. Fixed incompatibility - in Python 2.2 issubclass allows only a class as a second argument. Added PickleCol, PickleValidator and tests. Added FloatValidator and a test for it. PickleCol now has a parameter pickleProtocol. Default is 1 (binary) for compatibility with Python 2.2. Fixed incompatibility with Python 2.2: used col.popKey() instead of kw.pop(). Fixed more incompatibility with Python 2.2: use string.find(), emulate sum() and enumerate() if they aren't available. Fixed a bug in date/time validators: allow sqlbuilder.SQLExpression. Do not convert None to Binary. class SelectResults has been moved to sresults.py. Inheritance patch! Minor bugfixes for Python 2.2. Do not pass parent's values to the child's _create() to avoid double UPDATEing of these values. Added 'inheritance' subpackage to setup.py. Mentioned BLOBCol and PickleCol in section "Binary values". Minor code cleanup - removed trailing spaces. Added connection parameter to method .delete(). Applied the patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1104058&group_id=74338&atid=540674 Applied the patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1040262&group_id=74338&atid=540672 Minor inheritance documentation update. Started new section about SQLObject 0.7.0. Fixed a bug in sqlite connection - allow in-memory database with sqlite:/:memory: URI. Added tests for _parseURI. Fixed bugs in nherited byAlternateID() and selectBy(). Split _SO_fetchAlternateID() into _findAlternateID() overrided _findAlternateID() in InheritableSQLObject. Added more inheritance tests. The patch simplified and made faster inherited _SO_fetchAlternateID (_findAlternateID, actually), but changed their signatures. Fixed a minor bug in cache.py expireAll(). _parseURI now splits host and port, if the host contains :port. _parseURI() now translate paths from C|/path to C:/path on w32 platforms. Fixed a bug with autocommit in sqlite. Fixed bugs with passing port to MySQLdb. Added min() and max() - patch by michelts <mic...@gm...>. Added avg() and tests. InheritableSQLObject are now inheritable by default - one does not need to set _inheritable = True. Tests and documentation were updated. Some statistical functions (MIN, AVG, MAX) may return fload result. Added tests for float functions. Changed the way accumalte functions work. Now you can accumulate a list of functions at once: select.accumulate(*accumulateMany(("MIN", attribute), ("MAX", attribute))). accumulateMany() usage is now even simpler: select.accumulateMany(*atributes). Fixed bug https://sourceforge.net/tracker/index.php?func=detail&aid=1012150&group_id=74338&atid=540672. Foo.selectBy(column=None) now issues '... column IS NULL'. ... 974 lines suppressed ... hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-08-01 00:27: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, master has been updated via f785915dfade8a0f8847c02b9d4be0c18ea87bf4 (commit) from 82a26ce389ecb2e881fc319ccdedb4dfa9aa4f1e (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/f785915dfade8a0f8847c02b9d4be0c18ea87bf4 commit f785915dfade8a0f8847c02b9d4be0c18ea87bf4 Author: Oleg Broytman <ph...@ph...> Date: Fri Aug 1 04:26:45 2014 +0400 Release 2.0.0a1 diff --git a/README.txt b/README.txt index 33bdf9b..790dee7 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -SQLObject 2.0 -============= +SQLObject 2.0.0a1 +================= Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python diff --git a/setup.py b/setup.py index f8d7b24..0b827fb 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ For development see the `subversion repository maintainer="Oleg Broytman", maintainer_email="ph...@ph...", url="http://sqlobject.org/devel/", - download_url="https://pypi.python.org/pypi/SQLObject/%s" % version, + download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20140801" % 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 af0b5ea..97ffdbb 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '2.0' +version = '2.0.0a1' major = 2 minor = 0 micro = 0 -release_level = 'trunk' -serial = 0 +release_level = 'alpha' +serial = 1 version_info = (major, minor, micro, release_level, serial) ----------------------------------------------------------------------- Summary of changes: README.txt | 4 ++-- setup.py | 2 +- sqlobject/__version__.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.txt b/README.txt index 33bdf9b..790dee7 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -SQLObject 2.0 -============= +SQLObject 2.0.0a1 +================= Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python diff --git a/setup.py b/setup.py index f8d7b24..0b827fb 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ For development see the `subversion repository maintainer="Oleg Broytman", maintainer_email="ph...@ph...", url="http://sqlobject.org/devel/", - download_url="https://pypi.python.org/pypi/SQLObject/%s" % version, + download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20140801" % 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 af0b5ea..97ffdbb 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '2.0' +version = '2.0.0a1' major = 2 minor = 0 micro = 0 -release_level = 'trunk' -serial = 0 +release_level = 'alpha' +serial = 1 version_info = (major, minor, micro, release_level, serial) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-07-30 17:26: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 branch, master has been updated via 82a26ce389ecb2e881fc319ccdedb4dfa9aa4f1e (commit) via 1656926041c9ff292bab306fd55088b1d54f6476 (commit) via 53b614c316c6d286df0cd434529df5431725b89f (commit) via cf9d129f10cfa27fa38bad5d6d79e7356f040530 (commit) via 8f1fb3a97262be65d071a9260ba269dd9fe035fb (commit) from d371bdfc0f39a0b86cab3047db6b23c24d3e1d68 (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 ----------------------------------------------------------------- commit 82a26ce389ecb2e881fc319ccdedb4dfa9aa4f1e Author: Oleg Broytman <ph...@ph...> Date: Wed Jul 30 21:24:53 2014 +0400 "Upgrade" ez_setup to 5.4.1 commit 1656926041c9ff292bab306fd55088b1d54f6476 Merge: d371bdf 53b614c Author: Oleg Broytman <ph...@ph...> Date: Wed Jul 30 17:34:46 2014 +0400 Merge branch '1.7' ----------------------------------------------------------------------- Summary of changes: docs/News.txt | 5 +++++ ez_setup.py | 2 +- setup.cfg | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/News.txt b/docs/News.txt index 7d7c37e..c724ba1 100644 --- a/docs/News.txt +++ b/docs/News.txt @@ -19,6 +19,11 @@ Features & Interface with microseconds cannot be read back from SQLite databases (and perhaps other backends) with versions of SQLObject older than 1.7. +Minor features +-------------- + +* Upgrade ez_setup to 5.4.1. + Development ----------- diff --git a/ez_setup.py b/ez_setup.py index 2dc324f..f9be432 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -36,7 +36,7 @@ try: except ImportError: USER_SITE = None -DEFAULT_VERSION = "5.3" +DEFAULT_VERSION = "5.4.1" DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/" def _python_cmd(*args): diff --git a/setup.cfg b/setup.cfg index 03ae287..e9807b2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ command_packages = buildutils.pudge_command, [egg_info] tag_build = dev -tag_svn_revision = true +tag_date = true [pudge] theme = pythonpaste.org hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-07-30 17:26: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.7 has been updated via 53b614c316c6d286df0cd434529df5431725b89f (commit) via cf9d129f10cfa27fa38bad5d6d79e7356f040530 (commit) via 8f1fb3a97262be65d071a9260ba269dd9fe035fb (commit) from 4a3b35f213f4885588953188f9d60773e43802b3 (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.cfg | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4b4e5d3..c891669 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ command_packages = buildutils.pudge_command, [egg_info] tag_build = dev -tag_svn_revision = true +tag_date = true [pudge] theme = pythonpaste.org hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-07-30 17:26: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.6 has been updated via cf9d129f10cfa27fa38bad5d6d79e7356f040530 (commit) via 8f1fb3a97262be65d071a9260ba269dd9fe035fb (commit) from d5f22a267ad113017bb0abef0e6cba5922c55a52 (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.cfg | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4b4e5d3..c891669 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ command_packages = buildutils.pudge_command, [egg_info] tag_build = dev -tag_svn_revision = true +tag_date = true [pudge] theme = pythonpaste.org hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-07-30 17:26:01
|
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 8f1fb3a97262be65d071a9260ba269dd9fe035fb (commit) from 77aa961b1eecc8d48939de28154935a003debd62 (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.cfg | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4b4e5d3..c891669 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ command_packages = buildutils.pudge_command, [egg_info] tag_build = dev -tag_svn_revision = true +tag_date = true [pudge] theme = pythonpaste.org hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-07-29 15:12: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 d371bdfc0f39a0b86cab3047db6b23c24d3e1d68 (commit) via 63e5cd3267699c59ae84c865cc7f3679a7d4d633 (commit) via 4d2ba785b0e531fc9f9dffe1bd81311b96d959ce (commit) from c89d513098a99a5f680e403e839bb4ab7f4511fa (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 ----------------------------------------------------------------- commit d371bdfc0f39a0b86cab3047db6b23c24d3e1d68 Author: Oleg Broytman <ph...@ph...> Date: Tue Jul 29 19:09:35 2014 +0400 Update docs for git Development was switched from Subversion to git. commit 63e5cd3267699c59ae84c865cc7f3679a7d4d633 Author: Oleg Broytman <ph...@ph...> Date: Tue Jul 29 19:07:58 2014 +0400 Change git URLs for FormEncode FormEncode development switched to git long ago. commit 4d2ba785b0e531fc9f9dffe1bd81311b96d959ce Author: Oleg Broytman <ph...@ph...> Date: Tue Jul 29 19:06:52 2014 +0400 Change URLs for setuptools/easy_install ----------------------------------------------------------------------- Summary of changes: docs/DeveloperGuide.txt | 12 ++++++------ docs/News.txt | 13 +++++++++---- docs/community.txt | 14 ++++++++------ docs/download.txt | 23 ++++++++++------------- docs/links.txt | 7 ++++--- 5 files changed, 37 insertions(+), 32 deletions(-) diff --git a/docs/DeveloperGuide.txt b/docs/DeveloperGuide.txt index 7c76bdb..65e541e 100644 --- a/docs/DeveloperGuide.txt +++ b/docs/DeveloperGuide.txt @@ -15,21 +15,21 @@ as things come up. Development Installation ======================== -First install `FormEncode <http://formencode.org>`_:: +First install `FormEncode <http://www.formencode.org/en/latest/download.html>`_:: - $ svn co http://svn.colorstudy.com/FormEncode/trunk FormEncode - $ cd FormEncode + $ git clone git://github.com/formencode/formencode.git + $ cd formencode $ sudo python setup.py develop Then do the same for SQLObject:: - $ svn co http://svn.colorstudy.com/SQLObject/trunk SQLObject - $ cd SQLObject + $ git clone git clone git://git.code.sf.net/p/sqlobject/sqlobject + $ cd sqlobject $ sudo python setup.py develop Voila! The packages are globally installed, but the files from the checkout were not copied into ``site-packages``. See `setuptools -<http://peak.telecommunity.com/DevCenter/setuptools>`_ for more. +<http://pythonhosted.org/setuptools/>`_ for more. Style Guide =========== diff --git a/docs/News.txt b/docs/News.txt index ac45879..7d7c37e 100644 --- a/docs/News.txt +++ b/docs/News.txt @@ -7,11 +7,11 @@ News .. _start: -SQLObject (trunk) -================= +SQLObject 2.0.0 (master) +======================== -SQLObject 2.0.0 -=============== +Features & Interface +-------------------- * DateTimeCol and TimeCol can read and write values with microseconds. @@ -19,6 +19,11 @@ SQLObject 2.0.0 with microseconds cannot be read back from SQLite databases (and perhaps other backends) with versions of SQLObject older than 1.7. +Development +----------- + +* Development was switched from Subversion to git. + SQLObject 1.7.0 =============== diff --git a/docs/community.txt b/docs/community.txt index 52ea7ce..8d9758b 100644 --- a/docs/community.txt +++ b/docs/community.txt @@ -3,20 +3,22 @@ SQLObject Community SQLObject questions and discussion happens on the `sqlobject-discuss mailing list -<http://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss>`_. +<https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss>`_. `Gmane <http://www.gmane.org/>`_ also has the list in gmane.comp.python.sqlobject accessible by `HTTP <http://news.gmane.org/gmane.comp.python.sqlobject>`_, `HTTP (blog format) <http://blog.gmane.org/gmane.comp.python.sqlobject>`_ and `News <news://news.gmane.org/gmane.comp.python.sqlobject>`_. -Bugs should be submitted to the `bug tracker -<http://sourceforge.net/tracker/?group_id=74338&atid=540672>`_, and +Bugs should be submitted to the `bug tracker at SourceForge +<http://sourceforge.net/p/sqlobject/bugs/>`_ or `GitHub +<https://github.com/sqlobject/sqlobject/issues>`_, and `patches to the patch tracker -<http://sourceforge.net/tracker/?group_id=74338&atid=540674>`_. +<http://sourceforge.net/p/sqlobject/patches/>`_ (or send pull requests +at GitHub). -Development takes place in the `subversion repository -<download.html#repository>`_. There are `development docs`_. If you are +Development takes place in the `git repositories +<download.html#repositories>`_. There are `development docs`_. If you are interested in contributing you should read the `Developer Guide <DeveloperGuide.html>`_. diff --git a/docs/download.txt b/docs/download.txt index 2b5b7bd..bb1fc22 100644 --- a/docs/download.txt +++ b/docs/download.txt @@ -4,7 +4,7 @@ Download SQLObject The latest releases are always available on the `Python Package Index <http://pypi.python.org/pypi/SQLObject>`_, and is installable with `easy_install -<http://peak.telecommunity.com/DevCenter/EasyInstall>`_. +<http://pythonhosted.org/setuptools/easy_install.html>`_. You can install the latest release with:: @@ -21,8 +21,7 @@ You can install the latest bug fixing branch with:: If you want to require a specific revision (because, for instance, you need a bugfix that hasn't appeared in a release), you can put this in your `setuptools -<http://peak.telecommunity.com/DevCenter/setuptools>`_ using -``setup.py`` file:: +<http://pythonhosted.org/setuptools/>`_ using ``setup.py`` file:: setup(... install_requires=["SQLObject==bugfix,>=0.7.1dev-r1485"], @@ -34,18 +33,16 @@ when you install ``SQLObject==bugfix`` you will be installing a specific version, and "bugfix" is just a kind of label for a way of acquiring the version (it points to a branch in the repository). -Repository ----------- +Repositories +------------ -The SQLObject `Subversion <http://subversion.tigris.org/>`_ repository is located at http://svn.colorstudy.com/SQLObject/trunk +The SQLObject `git <http://git-scm.com/>`_ repositories are located at +http://sourceforge.net/p/sqlobject/_list/git and +https://github.com/sqlobject -If you are using a command-line Subversion client, you can check -it out like:: - - svn co http://svn.colorstudy.com/SQLObject/trunk SQLObject - -If you are on Windows you may want to use `TortoiseSVN -<http://tortoisesvn.tigris.org/>`_. +Before switching to git development was performed at the `Subversion +<https://subversion.apache.org/>`_ repository that is still located at +http://svn.colorstudy.com/SQLObject .. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10 :target: http://sourceforge.net/projects/sqlobject diff --git a/docs/links.txt b/docs/links.txt index 6e141f6..33018d5 100644 --- a/docs/links.txt +++ b/docs/links.txt @@ -1,9 +1,10 @@ SQLObject Links =============== -If you have a link you'd like added to this page, please `submit a bug -report with the link and title -<http://sourceforge.net/tracker/?atid=540672&group_id=74338&func=browse>`_. +If you have a link you'd like added to this page, please submit a bug +report with the link and title at `bug tracker +<http://sourceforge.net/p/sqlobject/bugs/>`_ or send pull requests at +`GitHub <https://github.com/sqlobject/sqlobject>`_). Articles and Documentation -------------------------- hooks/post-receive -- SQLObject development repository |
From: <sub...@co...> - 2014-07-29 14:14:33
|
Author: phd Date: Tue Jul 29 08:14:25 2014 New Revision: 4763 Log: Development was switched to git. The repository is closed. Added: SQLObject/REPOSITORY-CLOSED.txt Added: SQLObject/REPOSITORY-CLOSED.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ SQLObject/REPOSITORY-CLOSED.txt Tue Jul 29 08:14:25 2014 (r4763) @@ -0,0 +1,8 @@ +Development of SQLObject was switched from Subversion to git. Consider +this repository closed. You can find new repositories at SourceForge: + + http://sourceforge.net/p/sqlobject/_list/git + +and GitHub: + + https://github.com/sqlobject |
From: <sub...@co...> - 2014-07-29 14:13:32
|
Author: phd Date: Tue Jul 29 08:13:23 2014 New Revision: 4762 Log: Change eol-style to native Modified: SQLObject/branches/0.6.1-oracle/README.txt (props changed) |
From: <sub...@co...> - 2014-07-22 12:14:07
|
Author: phd Date: Tue Jul 22 06:14:00 2014 New Revision: 4760 Log: Merge revision 4759 from branch 1.7: update News Modified: SQLObject/trunk/docs/News.txt Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Tue Jul 22 06:13:13 2014 (r4759) +++ SQLObject/trunk/docs/News.txt Tue Jul 22 06:14:00 2014 (r4760) @@ -52,6 +52,9 @@ * Python 2.4 is no longer supported. The minimal supported version is Python 2.5. +* Support for Python 2.5 is declared obsolete and will be removed + in the next release. + Minor features -------------- |