]> git.phdru.name Git - sqlconvert.git/log
sqlconvert.git
6 years agoVersion 0.2.2: CI 0.2.2
Oleg Broytman [Sat, 10 Jun 2017 17:04:08 +0000 (20:04 +0300)]
Version 0.2.2: CI

6 years agoFix homepage URL in setup.py
Oleg Broytman [Sat, 10 Jun 2017 15:28:34 +0000 (18:28 +0300)]
Fix homepage URL in setup.py

[skip ci]

6 years agoTests: Use tox instead of tests/Makefile
Oleg Broytman [Sat, 10 Jun 2017 15:14:57 +0000 (18:14 +0300)]
Tests: Use tox instead of tests/Makefile

[skip ci]

6 years agoFeat(CI): Run tests with PostgreSQL
Oleg Broytman [Fri, 9 Jun 2017 19:56:41 +0000 (22:56 +0300)]
Feat(CI): Run tests with PostgreSQL

6 years agoFeat(CI): Run tests with sqlite and flake8
Oleg Broytman [Fri, 9 Jun 2017 19:56:41 +0000 (22:56 +0300)]
Feat(CI): Run tests with sqlite and flake8

6 years agoTODO: Create installers
Oleg Broytman [Fri, 12 May 2017 20:35:54 +0000 (23:35 +0300)]
TODO: Create installers

[skip ci]

6 years agoTODO: even more MySQL-specific fixes
Oleg Broytman [Wed, 10 May 2017 22:25:27 +0000 (01:25 +0300)]
TODO: even more MySQL-specific fixes

[skip ci]

6 years agoTODO: more MySQL-specific fixes
Oleg Broytman [Wed, 10 May 2017 22:25:27 +0000 (01:25 +0300)]
TODO: more MySQL-specific fixes

[skip ci]

6 years agoUpdate TODO: Remove MySQL-specific SQL
Oleg Broytman [Wed, 10 May 2017 21:07:18 +0000 (00:07 +0300)]
Update TODO: Remove MySQL-specific SQL

[skip ci]

6 years agoStop supporting Python 2.6
Oleg Broytman [Sun, 7 May 2017 17:25:11 +0000 (20:25 +0300)]
Stop supporting Python 2.6

[skip ci]

6 years agoMove hard requirements from tox.ini to requirements.txt
Oleg Broytman [Sun, 7 May 2017 12:16:23 +0000 (15:16 +0300)]
Move hard requirements from tox.ini to requirements.txt

Move test requirements to requirements_tests.txt.

6 years agoMove requirements.txt to devscripts/
Oleg Broytman [Sun, 7 May 2017 11:44:43 +0000 (14:44 +0300)]
Move requirements.txt to devscripts/

Rename requirements_dev.txt to requirements_test.txt.
Split requirements_test.txt intto requirements_tox.txt.

[skip ci]

6 years agoVersion 0.2.1: Convert README to reST 0.2.1
Oleg Broytman [Sun, 30 Apr 2017 21:45:10 +0000 (00:45 +0300)]
Version 0.2.1: Convert README to reST

6 years agoPublished at PyPI
Oleg Broytman [Sun, 30 Apr 2017 20:10:40 +0000 (23:10 +0300)]
Published at PyPI

[skip ci]

6 years agoFix doc title
Oleg Broytman [Sun, 30 Apr 2017 20:03:07 +0000 (23:03 +0300)]
Fix doc title

[skip ci]

6 years agoVersion 0.2.0 0.2.0
Oleg Broytman [Sun, 30 Apr 2017 19:55:53 +0000 (22:55 +0300)]
Version 0.2.0

6 years agoAdd release script
Oleg Broytman [Sun, 30 Apr 2017 19:57:14 +0000 (22:57 +0300)]
Add release script

6 years agoRemove SQLite DB before tests; just in case
Oleg Broytman [Sun, 30 Apr 2017 19:54:07 +0000 (22:54 +0300)]
Remove SQLite DB before tests; just in case

6 years agoUse Portable Python Utilities
Oleg Broytman [Sun, 30 Apr 2017 19:49:42 +0000 (22:49 +0300)]
Use Portable Python Utilities

6 years agoFix comment in appveyor.yml
Oleg Broytman [Sun, 30 Apr 2017 18:06:39 +0000 (21:06 +0300)]
Fix comment in appveyor.yml

[skip ci]

6 years agoTODO: Test at Travis and AppVeyor with Postgres
Oleg Broytman [Sat, 29 Apr 2017 13:23:44 +0000 (16:23 +0300)]
TODO: Test at Travis and AppVeyor with Postgres

[skip ci]

6 years agoTest at AppVeyor
Oleg Broytman [Sat, 29 Apr 2017 12:36:37 +0000 (15:36 +0300)]
Test at AppVeyor

6 years agoTest at Travis
Oleg Broytman [Sat, 29 Apr 2017 12:31:14 +0000 (15:31 +0300)]
Test at Travis

6 years agoPython 3.5, 3.6
Oleg Broytman [Sat, 29 Apr 2017 12:16:21 +0000 (15:16 +0300)]
Python 3.5, 3.6

6 years agoRemove publish-docs
Oleg Broytman [Sat, 29 Apr 2017 03:29:19 +0000 (06:29 +0300)]
Remove publish-docs

6 years agoMove get-commit-message.vim and mk-git-aliases to devscripts/
Oleg Broytman [Sat, 29 Apr 2017 03:26:29 +0000 (06:26 +0300)]
Move get-commit-message.vim and mk-git-aliases to devscripts/

6 years agoAdd home/repo/tracker URLs
Oleg Broytman [Fri, 28 Apr 2017 21:01:32 +0000 (00:01 +0300)]
Add home/repo/tracker URLs

6 years agoUse htdocs.path instead of absolute path
Oleg Broytman [Fri, 28 Apr 2017 20:51:45 +0000 (23:51 +0300)]
Use htdocs.path instead of absolute path

6 years agoGitHub: done
Oleg Broytman [Fri, 28 Apr 2017 19:52:35 +0000 (22:52 +0300)]
GitHub: done

6 years agoMove README.html to gitweb/
Oleg Broytman [Fri, 28 Apr 2017 19:48:09 +0000 (22:48 +0300)]
Move README.html to gitweb/

6 years agoTODO: GitHub, Travis, AppVeyor, PyPI
Oleg Broytman [Thu, 27 Apr 2017 16:36:54 +0000 (19:36 +0300)]
TODO: GitHub, Travis, AppVeyor, PyPI

6 years agoVersion 0.1.2: Fix dependencies 0.1.2
Oleg Broytman [Wed, 26 Apr 2017 21:24:03 +0000 (00:24 +0300)]
Version 0.1.2: Fix dependencies

6 years agoVersion 0.1.1: Install m_lib.defenc and m_lib from PyPI 0.1.1
Oleg Broytman [Wed, 26 Apr 2017 21:00:10 +0000 (00:00 +0300)]
Version 0.1.1: Install m_lib.defenc and m_lib from PyPI

6 years agoUpdate get-commit-message.vim: remove asterisk
Oleg Broytman [Wed, 26 Apr 2017 21:00:02 +0000 (00:00 +0300)]
Update get-commit-message.vim: remove asterisk

6 years agoUpdate installation instruction for virtual envs
Oleg Broytman [Wed, 26 Apr 2017 20:57:18 +0000 (23:57 +0300)]
Update installation instruction for virtual envs

6 years agoUpdate installation instruction: fix trusted host
Oleg Broytman [Wed, 26 Apr 2017 20:54:48 +0000 (23:54 +0300)]
Update installation instruction: fix trusted host

Remove --no-index to install m_lib from PyPI.

6 years agoInstall m_lib.defenc and m_lib from PyPI
Oleg Broytman [Wed, 26 Apr 2017 20:52:12 +0000 (23:52 +0300)]
Install m_lib.defenc and m_lib from PyPI

7 years agoRemove update script
Oleg Broytman [Mon, 17 Apr 2017 19:52:05 +0000 (22:52 +0300)]
Remove update script

7 years agoAdd installation instructions
Oleg Broytman [Sun, 16 Apr 2017 08:14:27 +0000 (11:14 +0300)]
Add installation instructions

7 years agoFix docstring format
Oleg Broytman [Sat, 15 Apr 2017 20:17:08 +0000 (23:17 +0300)]
Fix docstring format

Escape asterisks.

7 years agoFix sdist and git alias
Oleg Broytman [Sat, 15 Apr 2017 20:08:53 +0000 (23:08 +0300)]
Fix sdist and git alias

ChangeLog was renamed to docs/news.rst.

7 years agoMove ChangeLog to docs/news.rst and convert to reST
Oleg Broytman [Sat, 15 Apr 2017 18:00:36 +0000 (21:00 +0300)]
Move ChangeLog to docs/news.rst and convert to reST

7 years ago[setup.cfg] Remove outdated ez_setup.py
Oleg Broytman [Sat, 15 Apr 2017 17:52:09 +0000 (20:52 +0300)]
[setup.cfg] Remove outdated ez_setup.py

7 years ago[mysql2sql] Show the name of the file being converted
Oleg Broytman [Fri, 14 Apr 2017 20:03:27 +0000 (23:03 +0300)]
[mysql2sql] Show the name of the file being converted

7 years agoTODO: Publish at GitHub and PyPI, test at Travis
Oleg Broytman [Sun, 19 Mar 2017 17:00:40 +0000 (20:00 +0300)]
TODO: Publish at GitHub and PyPI, test at Travis

7 years agoConvert extended INSERTs to plain INSERTs: done!
Oleg Broytman [Sun, 19 Mar 2017 16:58:10 +0000 (19:58 +0300)]
Convert extended INSERTs to plain INSERTs: done!

7 years agoInclude demo.sql, test.out and tox.ini into sdist
Oleg Broytman [Sun, 19 Mar 2017 16:48:39 +0000 (19:48 +0300)]
Include demo.sql, test.out and tox.ini into sdist

7 years agoVersion 0.1.0: Split extended INSERTs (mysql2sql) 0.1.0
Oleg Broytman [Sun, 19 Mar 2017 16:42:36 +0000 (19:42 +0300)]
Version 0.1.0: Split extended INSERTs (mysql2sql)

7 years agoTest mysql2sql with tox
Oleg Broytman [Sun, 19 Mar 2017 16:41:33 +0000 (19:41 +0300)]
Test mysql2sql with tox

7 years agoRebuild docs in a venv using system Sphinx
Oleg Broytman [Sun, 19 Mar 2017 16:22:11 +0000 (19:22 +0300)]
Rebuild docs in a venv using system Sphinx

7 years agoUpdate docs: mysql2sql can now split extended INSERTs
Oleg Broytman [Sun, 19 Mar 2017 16:21:18 +0000 (19:21 +0300)]
Update docs: mysql2sql can now split extended INSERTs

7 years agoFix mysql2sql: do not mix output and messages
Oleg Broytman [Sun, 19 Mar 2017 16:19:34 +0000 (19:19 +0300)]
Fix mysql2sql: do not mix output and messages

Inhibit progress bar and log messages if the output is stdout.

7 years agoFix mysql2sql: args.pg
Oleg Broytman [Sun, 19 Mar 2017 16:19:00 +0000 (19:19 +0300)]
Fix mysql2sql: args.pg

7 years agoSeparate split INSERTs with newlines
Oleg Broytman [Sun, 19 Mar 2017 16:17:54 +0000 (19:17 +0300)]
Separate split INSERTs with newlines

7 years agoUpdate extended INSERTs in demo.sql
Oleg Broytman [Sun, 19 Mar 2017 16:17:00 +0000 (19:17 +0300)]
Update extended INSERTs in demo.sql

7 years agoFix: test if token is an instance of Comment
Oleg Broytman [Sun, 19 Mar 2017 16:16:11 +0000 (19:16 +0300)]
Fix: test if token is an instance of Comment

7 years agoCalculate version/revision from sqlconvert.__version__
Oleg Broytman [Sun, 19 Mar 2017 03:36:26 +0000 (06:36 +0300)]
Calculate version/revision from sqlconvert.__version__

7 years agoVersion 0.0.8: Split extended INSERTs 0.0.8
Oleg Broytman [Sat, 18 Mar 2017 21:07:50 +0000 (00:07 +0300)]
Version 0.0.8: Split extended INSERTs

7 years agoSplit extended INSERTs
Oleg Broytman [Fri, 17 Mar 2017 16:19:41 +0000 (19:19 +0300)]
Split extended INSERTs

7 years agoVarious minor updates in docs
Oleg Broytman [Sun, 12 Mar 2017 17:53:46 +0000 (20:53 +0300)]
Various minor updates in docs

7 years agoFix pip's --install-option: --compile is default and I prefer -O2
Oleg Broytman [Sun, 12 Mar 2017 02:55:18 +0000 (05:55 +0300)]
Fix pip's --install-option: --compile is default and I prefer -O2

7 years agoImplement is_insert()
Oleg Broytman [Sat, 11 Mar 2017 20:42:01 +0000 (23:42 +0300)]
Implement is_insert()

7 years agoRefactor is_comment_or_space
Oleg Broytman [Sat, 11 Mar 2017 20:28:24 +0000 (23:28 +0300)]
Refactor is_comment_or_space

7 years agoRemove deprecated ez_setup.py
Oleg Broytman [Mon, 30 Jan 2017 10:46:03 +0000 (13:46 +0300)]
Remove deprecated ez_setup.py

7 years agoUpgrade ez_setup.py
Oleg Broytman [Wed, 23 Nov 2016 17:01:07 +0000 (20:01 +0300)]
Upgrade ez_setup.py

7 years agoDrop test DB if it persisted from the previous run
Oleg Broytman [Sun, 13 Nov 2016 20:12:56 +0000 (23:12 +0300)]
Drop test DB if it persisted from the previous run

7 years agoSet toxworkdir to ~/.tox
Oleg Broytman [Sat, 1 Oct 2016 22:34:06 +0000 (01:34 +0300)]
Set toxworkdir to ~/.tox

7 years agoOmit trivial __init__.py and __version__.py from test coverage
Oleg Broytman [Sat, 1 Oct 2016 21:14:15 +0000 (00:14 +0300)]
Omit trivial __init__.py and __version__.py from test coverage

7 years agoAdd a test for is_newline_statement()
Oleg Broytman [Sat, 1 Oct 2016 21:13:45 +0000 (00:13 +0300)]
Add a test for is_newline_statement()

7 years agoSplit test_process_tokens.py -> test_process_mysql.py
Oleg Broytman [Sat, 1 Oct 2016 21:05:15 +0000 (00:05 +0300)]
Split test_process_tokens.py -> test_process_mysql.py

Separate generic tests from MySQL-specific.

7 years agoTest print_tokens() with encoding
Oleg Broytman [Fri, 30 Sep 2016 19:17:28 +0000 (22:17 +0300)]
Test print_tokens() with encoding

7 years agoDocument that the program requotes names
Oleg Broytman [Fri, 30 Sep 2016 19:14:02 +0000 (22:14 +0300)]
Document that the program requotes names

7 years agoReorder processing
Oleg Broytman [Fri, 30 Sep 2016 19:12:20 +0000 (22:12 +0300)]
Reorder processing

7 years agoMake process_statement() a generator
Oleg Broytman [Wed, 28 Sep 2016 23:47:30 +0000 (02:47 +0300)]
Make process_statement() a generator

Prepare for process_statement() to yield a list of statements:
extended INSERT will be split into a list of plain INSERTs.

7 years agoClean up StatementGrouper on close
Oleg Broytman [Wed, 28 Sep 2016 23:38:55 +0000 (02:38 +0300)]
Clean up StatementGrouper on close

7 years agoUse `return` instead `raise StopIteration`
Oleg Broytman [Wed, 28 Sep 2016 23:38:03 +0000 (02:38 +0300)]
Use `return` instead `raise StopIteration`

7 years agoIgnore coverage data and reports
Oleg Broytman [Wed, 28 Sep 2016 16:58:29 +0000 (19:58 +0300)]
Ignore coverage data and reports

7 years agoExtend demo.sql: add extended INSERTs with and w/o columns list
Oleg Broytman [Wed, 28 Sep 2016 16:06:58 +0000 (19:06 +0300)]
Extend demo.sql: add extended INSERTs with and w/o columns list

7 years agoDone: convert string escapes
Oleg Broytman [Tue, 27 Sep 2016 19:50:27 +0000 (22:50 +0300)]
Done: convert string escapes

7 years agoVersion 0.0.7: Change quoting style to MySQL, PostgreSQL or SQLite 0.0.7
Oleg Broytman [Mon, 26 Sep 2016 22:00:43 +0000 (01:00 +0300)]
Version 0.0.7: Change quoting style to MySQL, PostgreSQL or SQLite

7 years agoUse test coverage in tox.ini
Oleg Broytman [Mon, 26 Sep 2016 21:57:33 +0000 (00:57 +0300)]
Use test coverage in tox.ini

7 years agoAdd a test for print_tokens()
Oleg Broytman [Mon, 26 Sep 2016 21:54:23 +0000 (00:54 +0300)]
Add a test for print_tokens()

7 years agoRename test_tokens.py -> test_process_tokens.py
Oleg Broytman [Mon, 26 Sep 2016 21:53:28 +0000 (00:53 +0300)]
Rename test_tokens.py -> test_process_tokens.py

Merge test_stgrouper.py into test_process_tokens.py.

7 years agoFix a bug: assign buffer even if encoding is None
Oleg Broytman [Mon, 26 Sep 2016 21:50:29 +0000 (00:50 +0300)]
Fix a bug: assign buffer even if encoding is None

7 years agoChange quoting style to MySQL, PostgreSQL or SQLite
Oleg Broytman [Mon, 26 Sep 2016 21:32:48 +0000 (00:32 +0300)]
Change quoting style to MySQL, PostgreSQL or SQLite

7 years agoVersion 0.0.6: string (un)escaping, tests with Pg/SQLite 0.0.6
Oleg Broytman [Sun, 25 Sep 2016 15:36:36 +0000 (18:36 +0300)]
Version 0.0.6: string (un)escaping, tests with Pg/SQLite

7 years agoUpdate docs
Oleg Broytman [Sun, 25 Sep 2016 15:28:52 +0000 (18:28 +0300)]
Update docs

7 years agoAdd tests for SQLite
Oleg Broytman [Sun, 25 Sep 2016 15:25:49 +0000 (18:25 +0300)]
Add tests for SQLite

7 years agoUse SQLObject for string quoting
Oleg Broytman [Sun, 25 Sep 2016 15:14:47 +0000 (18:14 +0300)]
Use SQLObject for string quoting

7 years agoUnescape all known escapes
Oleg Broytman [Sun, 25 Sep 2016 14:46:50 +0000 (17:46 +0300)]
Unescape all known escapes

7 years agoDo not test statements in StatementGrouper
Oleg Broytman [Sun, 25 Sep 2016 01:36:23 +0000 (04:36 +0300)]
Do not test statements in StatementGrouper

StatementGrouper simply raises StopIteration if there are no statements.

7 years agoDo not clean up: rm doesn't work
Oleg Broytman [Sun, 25 Sep 2016 01:18:12 +0000 (04:18 +0300)]
Do not clean up: rm doesn't work

Well, it works but only in the virtual environment
while we need to clean up the root directory.

7 years agoGlobally skip a module that requires Postgres connection
Oleg Broytman [Sun, 25 Sep 2016 01:13:18 +0000 (04:13 +0300)]
Globally skip a module that requires Postgres connection

7 years agoExclude tests/conftest.py from flake8 tests with directive
Oleg Broytman [Sun, 25 Sep 2016 01:02:12 +0000 (04:02 +0300)]
Exclude tests/conftest.py from flake8 tests with directive

7 years agoRun flake8 from root to test docs and scripts
Oleg Broytman [Sat, 24 Sep 2016 23:19:37 +0000 (02:19 +0300)]
Run flake8 from root to test docs and scripts

Exclude .tox virtual environments.

7 years agoAdd a test for unescaped strings for Postgres
Oleg Broytman [Sat, 24 Sep 2016 20:23:35 +0000 (23:23 +0300)]
Add a test for unescaped strings for Postgres

Use SQLObject for testing.

7 years agoRemove unused py.test
Oleg Broytman [Sat, 24 Sep 2016 05:01:20 +0000 (08:01 +0300)]
Remove unused py.test

7 years agoSimplify tox.ini: call pytest with the current python
Oleg Broytman [Sat, 24 Sep 2016 00:01:38 +0000 (03:01 +0300)]
Simplify tox.ini: call pytest with the current python

7 years agoFix copy/paste in .gitignore
Oleg Broytman [Fri, 23 Sep 2016 23:58:20 +0000 (02:58 +0300)]
Fix copy/paste in .gitignore

7 years agoExtend .gitignore
Oleg Broytman [Fri, 23 Sep 2016 22:46:48 +0000 (01:46 +0300)]
Extend .gitignore