]>
git.phdru.name Git - sqlconvert.git/log
Oleg Broytman [Fri, 28 Apr 2017 19:48:09 +0000 (22:48 +0300)]
Move README.html to gitweb/
Oleg Broytman [Thu, 27 Apr 2017 16:36:54 +0000 (19:36 +0300)]
TODO: GitHub, Travis, AppVeyor, PyPI
Oleg Broytman [Wed, 26 Apr 2017 21:24:03 +0000 (00:24 +0300)]
Version 0.1.2: Fix dependencies
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
Oleg Broytman [Wed, 26 Apr 2017 21:00:02 +0000 (00:00 +0300)]
Update get-commit-message.vim: remove asterisk
Oleg Broytman [Wed, 26 Apr 2017 20:57:18 +0000 (23:57 +0300)]
Update installation instruction for virtual envs
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.
Oleg Broytman [Wed, 26 Apr 2017 20:52:12 +0000 (23:52 +0300)]
Install m_lib.defenc and m_lib from PyPI
Oleg Broytman [Mon, 17 Apr 2017 19:52:05 +0000 (22:52 +0300)]
Remove update script
Oleg Broytman [Sun, 16 Apr 2017 08:14:27 +0000 (11:14 +0300)]
Add installation instructions
Oleg Broytman [Sat, 15 Apr 2017 20:17:08 +0000 (23:17 +0300)]
Fix docstring format
Escape asterisks.
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.
Oleg Broytman [Sat, 15 Apr 2017 18:00:36 +0000 (21:00 +0300)]
Move ChangeLog to docs/news.rst and convert to reST
Oleg Broytman [Sat, 15 Apr 2017 17:52:09 +0000 (20:52 +0300)]
[setup.cfg] Remove outdated ez_setup.py
Oleg Broytman [Fri, 14 Apr 2017 20:03:27 +0000 (23:03 +0300)]
[mysql2sql] Show the name of the file being converted
Oleg Broytman [Sun, 19 Mar 2017 17:00:40 +0000 (20:00 +0300)]
TODO: Publish at GitHub and PyPI, test at Travis
Oleg Broytman [Sun, 19 Mar 2017 16:58:10 +0000 (19:58 +0300)]
Convert extended INSERTs to plain INSERTs: done!
Oleg Broytman [Sun, 19 Mar 2017 16:48:39 +0000 (19:48 +0300)]
Include demo.sql, test.out and tox.ini into sdist
Oleg Broytman [Sun, 19 Mar 2017 16:42:36 +0000 (19:42 +0300)]
Version 0.1.0: Split extended INSERTs (mysql2sql)
Oleg Broytman [Sun, 19 Mar 2017 16:41:33 +0000 (19:41 +0300)]
Test mysql2sql with tox
Oleg Broytman [Sun, 19 Mar 2017 16:22:11 +0000 (19:22 +0300)]
Rebuild docs in a venv using system Sphinx
Oleg Broytman [Sun, 19 Mar 2017 16:21:18 +0000 (19:21 +0300)]
Update docs: mysql2sql can now split extended INSERTs
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.
Oleg Broytman [Sun, 19 Mar 2017 16:19:00 +0000 (19:19 +0300)]
Fix mysql2sql: args.pg
Oleg Broytman [Sun, 19 Mar 2017 16:17:54 +0000 (19:17 +0300)]
Separate split INSERTs with newlines
Oleg Broytman [Sun, 19 Mar 2017 16:17:00 +0000 (19:17 +0300)]
Update extended INSERTs in demo.sql
Oleg Broytman [Sun, 19 Mar 2017 16:16:11 +0000 (19:16 +0300)]
Fix: test if token is an instance of Comment
Oleg Broytman [Sun, 19 Mar 2017 03:36:26 +0000 (06:36 +0300)]
Calculate version/revision from sqlconvert.__version__
Oleg Broytman [Sat, 18 Mar 2017 21:07:50 +0000 (00:07 +0300)]
Version 0.0.8: Split extended INSERTs
Oleg Broytman [Fri, 17 Mar 2017 16:19:41 +0000 (19:19 +0300)]
Split extended INSERTs
Oleg Broytman [Sun, 12 Mar 2017 17:53:46 +0000 (20:53 +0300)]
Various minor updates in docs
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
Oleg Broytman [Sat, 11 Mar 2017 20:42:01 +0000 (23:42 +0300)]
Implement is_insert()
Oleg Broytman [Sat, 11 Mar 2017 20:28:24 +0000 (23:28 +0300)]
Refactor is_comment_or_space
Oleg Broytman [Mon, 30 Jan 2017 10:46:03 +0000 (13:46 +0300)]
Remove deprecated ez_setup.py
Oleg Broytman [Wed, 23 Nov 2016 17:01:07 +0000 (20:01 +0300)]
Upgrade ez_setup.py
Oleg Broytman [Sun, 13 Nov 2016 20:12:56 +0000 (23:12 +0300)]
Drop test DB if it persisted from the previous run
Oleg Broytman [Sat, 1 Oct 2016 22:34:06 +0000 (01:34 +0300)]
Set toxworkdir to ~/.tox
Oleg Broytman [Sat, 1 Oct 2016 21:14:15 +0000 (00:14 +0300)]
Omit trivial __init__.py and __version__.py from test coverage
Oleg Broytman [Sat, 1 Oct 2016 21:13:45 +0000 (00:13 +0300)]
Add a test for is_newline_statement()
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.
Oleg Broytman [Fri, 30 Sep 2016 19:17:28 +0000 (22:17 +0300)]
Test print_tokens() with encoding
Oleg Broytman [Fri, 30 Sep 2016 19:14:02 +0000 (22:14 +0300)]
Document that the program requotes names
Oleg Broytman [Fri, 30 Sep 2016 19:12:20 +0000 (22:12 +0300)]
Reorder processing
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.
Oleg Broytman [Wed, 28 Sep 2016 23:38:55 +0000 (02:38 +0300)]
Clean up StatementGrouper on close
Oleg Broytman [Wed, 28 Sep 2016 23:38:03 +0000 (02:38 +0300)]
Use `return` instead `raise StopIteration`
Oleg Broytman [Wed, 28 Sep 2016 16:58:29 +0000 (19:58 +0300)]
Ignore coverage data and reports
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
Oleg Broytman [Tue, 27 Sep 2016 19:50:27 +0000 (22:50 +0300)]
Done: convert string escapes
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
Oleg Broytman [Mon, 26 Sep 2016 21:57:33 +0000 (00:57 +0300)]
Use test coverage in tox.ini
Oleg Broytman [Mon, 26 Sep 2016 21:54:23 +0000 (00:54 +0300)]
Add a test for print_tokens()
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.
Oleg Broytman [Mon, 26 Sep 2016 21:50:29 +0000 (00:50 +0300)]
Fix a bug: assign buffer even if encoding is None
Oleg Broytman [Mon, 26 Sep 2016 21:32:48 +0000 (00:32 +0300)]
Change quoting style to MySQL, PostgreSQL or SQLite
Oleg Broytman [Sun, 25 Sep 2016 15:36:36 +0000 (18:36 +0300)]
Version 0.0.6: string (un)escaping, tests with Pg/SQLite
Oleg Broytman [Sun, 25 Sep 2016 15:28:52 +0000 (18:28 +0300)]
Update docs
Oleg Broytman [Sun, 25 Sep 2016 15:25:49 +0000 (18:25 +0300)]
Add tests for SQLite
Oleg Broytman [Sun, 25 Sep 2016 15:14:47 +0000 (18:14 +0300)]
Use SQLObject for string quoting
Oleg Broytman [Sun, 25 Sep 2016 14:46:50 +0000 (17:46 +0300)]
Unescape all known escapes
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.
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.
Oleg Broytman [Sun, 25 Sep 2016 01:13:18 +0000 (04:13 +0300)]
Globally skip a module that requires Postgres connection
Oleg Broytman [Sun, 25 Sep 2016 01:02:12 +0000 (04:02 +0300)]
Exclude tests/conftest.py from flake8 tests with directive
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.
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.
Oleg Broytman [Sat, 24 Sep 2016 05:01:20 +0000 (08:01 +0300)]
Remove unused py.test
Oleg Broytman [Sat, 24 Sep 2016 00:01:38 +0000 (03:01 +0300)]
Simplify tox.ini: call pytest with the current python
Oleg Broytman [Fri, 23 Sep 2016 23:58:20 +0000 (02:58 +0300)]
Fix copy/paste in .gitignore
Oleg Broytman [Fri, 23 Sep 2016 22:46:48 +0000 (01:46 +0300)]
Extend .gitignore
Oleg Broytman [Fri, 23 Sep 2016 22:41:23 +0000 (01:41 +0300)]
Minor refactoring of MANIFEST.in
Oleg Broytman [Wed, 21 Sep 2016 22:34:42 +0000 (01:34 +0300)]
Ignore .cache and .tox directories only at the top
Oleg Broytman [Tue, 20 Sep 2016 23:45:58 +0000 (02:45 +0300)]
Use coverage and tox for testing
Oleg Broytman [Tue, 20 Sep 2016 23:44:06 +0000 (02:44 +0300)]
Fix scripts in setup.py
Oleg Broytman [Sat, 17 Sep 2016 16:00:52 +0000 (19:00 +0300)]
Add test for converting \' to ''
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.
Oleg Broytman [Sat, 17 Sep 2016 15:53:41 +0000 (18:53 +0300)]
Remove mysql-specific requote_names from StatementGrouper's test
Oleg Broytman [Sun, 11 Sep 2016 18:37:36 +0000 (21:37 +0300)]
Use pytest for testing
Oleg Broytman [Sun, 11 Sep 2016 17:16:18 +0000 (20:16 +0300)]
Fix misspelling: mysq2sql -> mysql2sql
Oleg Broytman [Sun, 11 Sep 2016 17:16:18 +0000 (20:16 +0300)]
Fix minor misspellings in docs
Oleg Broytman [Sun, 11 Sep 2016 17:05:51 +0000 (20:05 +0300)]
Add README.html for gitweb
Oleg Broytman [Sat, 10 Sep 2016 17:49:05 +0000 (20:49 +0300)]
TODO: Add tests for Postgres and SQLite
Oleg Broytman [Sat, 10 Sep 2016 17:35:02 +0000 (20:35 +0300)]
Unescape strings
Oleg Broytman [Sat, 10 Sep 2016 17:05:22 +0000 (20:05 +0300)]
Rename remove_directives -> remove_directive_tokens
Oleg Broytman [Thu, 8 Sep 2016 22:37:06 +0000 (01:37 +0300)]
Condense a sequence of newlines after a /*! directive */;
Oleg Broytman [Thu, 8 Sep 2016 14:59:49 +0000 (17:59 +0300)]
Declare development status Pre-Alpha
Oleg Broytman [Wed, 7 Sep 2016 19:57:00 +0000 (22:57 +0300)]
Version 0.0.5: Remove /*! directives */; and newlines after them
Oleg Broytman [Wed, 7 Sep 2016 19:52:11 +0000 (22:52 +0300)]
Fix flake8 warning: remove unused import
Oleg Broytman [Wed, 7 Sep 2016 19:26:13 +0000 (22:26 +0300)]
Skip semicolons and newlines /*! directives */;
Oleg Broytman [Wed, 7 Sep 2016 19:48:38 +0000 (22:48 +0300)]
Fix: flush buffer and outfile
Oleg Broytman [Wed, 7 Sep 2016 19:24:32 +0000 (22:24 +0300)]
Make begin/end separators in demo scripts more evident
Oleg Broytman [Mon, 5 Sep 2016 21:29:33 +0000 (00:29 +0300)]
Add demo-process.py
Oleg Broytman [Mon, 5 Sep 2016 20:57:41 +0000 (23:57 +0300)]
Join demo scripts; add argparse parameters parsing
Join group-{file,sql}.py into demo-group.py
parse-{file,sql}.py into demo-parse.py.
Oleg Broytman [Mon, 5 Sep 2016 20:17:42 +0000 (23:17 +0300)]
Remove processing from demo scripts
Oleg Broytman [Mon, 5 Sep 2016 19:18:29 +0000 (22:18 +0300)]
Add a semicolon and a newline after directive
Oleg Broytman [Mon, 5 Sep 2016 19:16:25 +0000 (22:16 +0300)]
Rename sample.sql -> demo.sql
Oleg Broytman [Mon, 5 Sep 2016 19:15:38 +0000 (22:15 +0300)]
Set encoding to utf-8 for demo scripts
Oleg Broytman [Sun, 4 Sep 2016 19:13:46 +0000 (22:13 +0300)]
TODO: Fix semicolons and newlines after /*! directives */
Oleg Broytman [Sun, 4 Sep 2016 14:54:43 +0000 (17:54 +0300)]
TODO: Remove /*! directives */ - done!