1
1
mirror of https://github.com/yandex/pgmigrate.git synced 2024-09-17 15:17:18 +03:00
Commit Graph

77 Commits

Author SHA1 Message Date
secwall
30f5dd54f4 Release 1.0.9 2024-07-06 16:40:44 +02:00
secwall
f9ee9e6a05 Add an option to show only unapplied migrations in info 2024-07-06 14:23:59 +02:00
secwall
15fd8f396c Release 1.0.8 2024-03-08 17:56:18 +01:00
secwall
f337433e5e Update copyrights for 2024 2024-01-02 04:17:53 +03:00
secwall
e74474056a Allow reordering setting schema version and afterEach callback 2023-12-31 20:25:29 +03:00
secwall
609549c111 Move dockerfile to postgresql 16 2023-12-31 18:30:37 +03:00
secwall
382edfeca9 Add a workaround for gh actions dropping python 2.7 support 2023-06-21 23:14:50 +03:00
secwall
5170bcbb72 Generate pylintrc with modern version and fix new pylint warnings 2023-02-03 23:31:05 +03:00
secwall
3c4905a132 Update copyrights for 2023 2023-01-01 17:25:51 +03:00
secwall
48440abbed Reuse venv for linters to reduce setup time 2023-01-01 17:25:51 +03:00
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