]> git.phdru.name Git - sqlconvert.git/log
sqlconvert.git
7 years agoAdd release script
Oleg Broytman [Sun, 30 Apr 2017 19:57:14 +0000 (22:57 +0300)]
Add release script

7 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

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

7 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]

7 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]

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

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

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

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

7 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/

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

7 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

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

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

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

7 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

7 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

7 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

7 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

7 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.

7 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

8 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

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

8 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

8 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()

8 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.

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

8 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

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

8 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.

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

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

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

8 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

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

8 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

8 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

8 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()

8 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.

8 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

8 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

8 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

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

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

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

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

8 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.

8 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.

8 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

8 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

8 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.

8 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.

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

8 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

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

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

8 years agoMinor refactoring of MANIFEST.in
Oleg Broytman [Fri, 23 Sep 2016 22:41:23 +0000 (01:41 +0300)]
Minor refactoring of MANIFEST.in

8 years agoIgnore .cache and .tox directories only at the top
Oleg Broytman [Wed, 21 Sep 2016 22:34:42 +0000 (01:34 +0300)]
Ignore .cache and .tox directories only at the top

8 years agoUse coverage and tox for testing
Oleg Broytman [Tue, 20 Sep 2016 23:45:58 +0000 (02:45 +0300)]
Use coverage and tox for testing

8 years agoFix scripts in setup.py
Oleg Broytman [Tue, 20 Sep 2016 23:44:06 +0000 (02:44 +0300)]
Fix scripts in setup.py

8 years agoAdd test for converting \' to ''
Oleg Broytman [Sat, 17 Sep 2016 16:00:52 +0000 (19:00 +0300)]
Add test for converting \' to ''

8 years agoRemove classes from tests
Oleg Broytman [Sat, 17 Sep 2016 15:56:35 +0000 (18:56 +0300)]
Remove classes from tests

Remove leftovers from unittest, completely switch to pytest.

8 years agoRemove mysql-specific requote_names from StatementGrouper's test
Oleg Broytman [Sat, 17 Sep 2016 15:53:41 +0000 (18:53 +0300)]
Remove mysql-specific requote_names from StatementGrouper's test

8 years agoUse pytest for testing
Oleg Broytman [Sun, 11 Sep 2016 18:37:36 +0000 (21:37 +0300)]
Use pytest for testing

8 years agoFix misspelling: mysq2sql -> mysql2sql
Oleg Broytman [Sun, 11 Sep 2016 17:16:18 +0000 (20:16 +0300)]
Fix misspelling: mysq2sql -> mysql2sql

8 years agoFix minor misspellings in docs
Oleg Broytman [Sun, 11 Sep 2016 17:16:18 +0000 (20:16 +0300)]
Fix minor misspellings in docs

8 years agoAdd README.html for gitweb
Oleg Broytman [Sun, 11 Sep 2016 17:05:51 +0000 (20:05 +0300)]
Add README.html for gitweb

8 years agoTODO: Add tests for Postgres and SQLite
Oleg Broytman [Sat, 10 Sep 2016 17:49:05 +0000 (20:49 +0300)]
TODO: Add tests for Postgres and SQLite

8 years agoUnescape strings
Oleg Broytman [Sat, 10 Sep 2016 17:35:02 +0000 (20:35 +0300)]
Unescape strings

8 years agoRename remove_directives -> remove_directive_tokens
Oleg Broytman [Sat, 10 Sep 2016 17:05:22 +0000 (20:05 +0300)]
Rename remove_directives -> remove_directive_tokens

8 years agoCondense a sequence of newlines after a /*! directive */;
Oleg Broytman [Thu, 8 Sep 2016 22:37:06 +0000 (01:37 +0300)]
Condense a sequence of newlines after a /*! directive */;

8 years agoDeclare development status Pre-Alpha
Oleg Broytman [Thu, 8 Sep 2016 14:59:49 +0000 (17:59 +0300)]
Declare development status Pre-Alpha