]> git.phdru.name Git - sqlconvert.git/log
sqlconvert.git
7 years agoTests(CI): Add "db: postgresql" in appveyor.yml for Pg-related tests
Oleg Broytman [Sun, 20 Aug 2017 20:07:44 +0000 (23:07 +0300)]
Tests(CI): Add "db: postgresql" in appveyor.yml for Pg-related tests

7 years agoTests(CI): Reorder env vars in appveyor.yml
Oleg Broytman [Sun, 20 Aug 2017 20:07:44 +0000 (23:07 +0300)]
Tests(CI): Reorder env vars in appveyor.yml

Reorder environment variables in appveyor.yml to make them more visible
in the web interface.

7 years agoFix(setup): Fix keywords and platforms
Oleg Broytman [Sat, 19 Aug 2017 16:46:13 +0000 (19:46 +0300)]
Fix(setup): Fix keywords and platforms

7 years agoFeat(devscripts): Remove `twine register` from release process
Oleg Broytman [Sat, 5 Aug 2017 17:00:44 +0000 (20:00 +0300)]
Feat(devscripts): Remove `twine register` from release process

There is no longer necessary to pre-register packages before uploading.

[skip ci]

7 years agoFix(setup): Fix requirements
Oleg Broytman [Sat, 17 Jun 2017 18:08:14 +0000 (21:08 +0300)]
Fix(setup): Fix requirements

Make SQLObject version-dependent.
Remove ppu (only needed for tox tests).

7 years agoUse ppu to cleanup pip cache
Oleg Broytman [Sat, 17 Jun 2017 17:26:57 +0000 (20:26 +0300)]
Use ppu to cleanup pip cache

Use remove-old-files.py from ppu to cleanup pip cache at Travis and AppVeyor.

7 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

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

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

7 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

7 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

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

[skip ci]

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

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

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

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

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

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

7 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

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

[skip ci]

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

[skip ci]

7 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

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

8 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