secwall
836ef2bfdd
Replace whitelist with allowlist in tox.ini
2022-12-08 11:47:08 +03:00
secwall
9721207893
Pin flake8 version
2022-11-24 10:48:52 +03:00
secwall
89cab36e43
Upgrade test environment
...
1) Upgrade actions to use non-deprecated versions
2) Move docker to jammy
3) Move actions and docker to python 3.11
4) Upgrade yapf and apply it to pgmigrate.py
5) Pin flake8-isort version
2022-11-19 12:27:30 +03:00
secwall
3792a974c7
Move dockerfile to postgresql 15
2022-10-22 13:57:07 +03:00
secwall
b622d55b46
Drop unused flake8-mock
2022-08-06 11:08:08 +03:00
secwall
594fa257e3
Release 1.0.7
2022-02-02 09:22:56 +03:00
secwall
d33123c656
Bump copyright for 2022
2022-02-02 09:16:26 +03:00
secwall
120b9d5188
Add version gaps check
2021-12-29 12:08:31 +03:00
secwall
d4e3cf6230
Pin flake8-isort version to fix tests
2021-10-11 12:04:46 +03:00
secwall
0cfda2e525
Move dockerfile to postgresql 14
2021-10-02 01:42:37 +03:00
secwall
b8fda18af9
Disable consider-using-f-string in pylint
2021-09-17 12:02:47 +03:00
secwall
a7277f18a1
Disable redundant-u-string-prefix in pylint
2021-08-21 10:03:52 +03:00
secwall
8cbc76a654
Add file path to statement apply error log
2021-08-07 11:01:55 +03:00
secwall
a01b512b68
Skip unnecessary schema creation on init
2021-07-10 00:30:14 +03:00
secwall
a27fb3318b
Disable consider-using-dict-items in pylint
...
We still support python2, using items and iteritems is non trivial in our case.
2021-06-30 12:10:26 +03:00
Mikhail Krutyakov
1de7945a23
Fix typo in tutorial.md
...
Change "relays on" (i.e. "transmits") to "relies on" (i.e. "depends")
2021-06-07 23:08:33 +03:00
secwall
6e49ef8158
Drop branch filter and add periodic schedule for test workflow
2021-01-02 18:05:39 +03:00
secwall
365c397c9b
Use build status from gh actions
2021-01-02 17:52:09 +03:00
secwall
f29dff300f
Use github actions for CI
2021-01-02 17:40:55 +03:00
secwall
7a18ac1cbb
Bump copyright for 2021
2021-01-01 23:35:59 +03:00
secwall
ddb04a73c1
Release 1.0.6
2020-10-29 17:30:21 +03:00
secwall
c58d163f5d
Fix errors on empty config and config sections
...
This commit fixes the rest of issue #22
2020-10-20 17:47:20 +03:00
secwall
29208b2608
Fix error on empty callback lists in config
...
This commit fixes issue #22
2020-10-20 17:14:21 +03:00
secwall
3bd4963c75
Add example configuration description to tutorial
2020-10-13 00:15:59 +03:00
secwall
a7eb8255c0
Bump ubuntu to 20.04, pg to 13, and python to 3.8
2020-10-06 18:39:43 +03:00
secwall
790870c000
Make dsn manipulations more robust
2020-05-14 18:25:57 +03:00
secwall
1aa3687e2f
Add schema restriction support
2020-03-27 03:55:34 +03:00
secwall
1162a3585e
Release 1.0.5
2020-02-29 19:10:20 +03:00
secwall
ef239e35d7
Bump pyyaml requirement to avoid CVE-2019-20477
2020-02-26 21:33:31 +03:00
secwall
1a1aedd89c
Update copyright and bump yapf to 0.29.0
2020-01-09 02:06:23 +03:00
secwall
1dcf5cb5aa
Use application_name instead of backend pid for conflict termination.
...
Defect was discovered by Alexander Artemenko (@svetlyak40wt).
If pgmigrate is used with pgbouncer in transaction pooling mode
conflict termination will fail to correctly find pgmigrate connections.
In order to fix this we pass random application_name in dsn for each
connection. We use LIKE-query because connection pooler could append host/port
to original value.
2019-11-02 02:31:24 +03:00
secwall
72d78aeebf
Bump postgres and yapf versions
2019-11-02 00:43:40 +03:00
secwall
37ff280d53
Drop keyserver use from Dockerfile
...
For some reason obtaining repo key periodically fails in travis.
2019-04-14 21:38:11 +03:00
secwall
425609947c
Release 1.0.4
2019-04-14 21:10:19 +03:00
secwall
b22a07e8cb
Fix copyright check
2019-04-14 21:09:35 +03:00
secwall
ed897ffb97
Bump deps versions
2019-04-14 20:55:33 +03:00
secwall
8f109e797d
Upgrade to bionic, drop python 3.5 and add yapf
2018-08-18 22:34:31 +03:00
secwall
676082c3a7
Fix subdir handling in migrations dir
2018-04-03 15:06:38 +03:00
secwall
1305fd109a
Allow using subdirs in migrations folder
2018-04-03 06:03:44 +03:00
secwall
37933c90b6
Use yet another ppa for python 3.6 install in docker
2017-12-28 21:22:09 +03:00
secwall
1c73f3f8cf
Release 1.0.3
2017-12-28 20:55:00 +03:00
secwall
5daeef816c
Log terminated backend pids
2017-12-03 18:03:08 +03:00
secwall
04b098b9c9
Set pg major version only in Dockerfile
2017-12-03 17:19:48 +03:00
secwall
3254c48c07
Fix help for termination_interval
2017-12-03 01:46:47 +03:00
secwall
dc183150b2
Add blocking pids termination
2017-12-03 01:39:30 +03:00
secwall
2ca64cb340
Move to postgresql 10 in tests
2017-12-02 22:13:41 +03:00
secwall
bab18b983d
Add warning message on skipped migration files and document migration file format in tutorial
...
This change is based on proposal by Ernst Haagsman
2017-12-02 22:02:44 +03:00
secwall
76c828baf9
Raise error on missing migrations directory
...
This change is based on proposal by Ernst Haagsman
2017-12-02 21:44:49 +03:00
secwall
671dc3c0c7
Refactor code a bit and add more linters
2017-12-02 21:13:31 +03:00
secwall
bea8e41739
Add testcase on comments in the end of migration file and add avmhawk to AUTHORS
2017-04-06 02:34:18 +03:00