David Wobrock
1925343f4a
Move constants to specific file and remove unused import
2020-02-07 23:29:15 +01:00
David Wobrock
e49f6dea9c
Document, add to changelog the data migrations and rename to 'warnings-as-errors' (plural)
2020-02-07 23:29:15 +01:00
David Wobrock
71614bd377
Handle warning as error and exclude warning tests
2020-02-07 23:29:15 +01:00
David Wobrock
d01875b3be
add warnings and RunPython basic linting
2020-02-07 23:29:15 +01:00
David Wobrock
691b1b82cb
Add app_data_migration used for tests
2020-02-07 23:29:15 +01:00
David Wobrock
d410d2c7ba
Refactor some linting code to more intelligible conditions
2020-02-07 23:29:15 +01:00
David Wobrock
902752c3f1
Set theme jekyll-theme-slate
2020-02-07 23:28:15 +01:00
David Wobrock
d3fd1518ea
Bump to version 1.5.0
2020-01-26 11:56:42 +01:00
David-Wobrock
03863532e7
Update CHANGELOG.md with Django 3.0
2020-01-11 22:50:27 +01:00
David-Wobrock
21e3cfda4c
Add Django3 build to travis.yml configuration
2020-01-11 22:50:27 +01:00
David-Wobrock
fe230872eb
Add Django3 to test matrix and setup.py metadata
2020-01-11 22:50:27 +01:00
David-Wobrock
5bd1145272
Update tox to latest version
2020-01-11 22:50:27 +01:00
David-Wobrock
0fdff490b6
Add information to how to configure test databases
2020-01-11 22:35:20 +01:00
David-Wobrock
83f7da532f
Reformat setup.py with black
2020-01-11 22:35:20 +01:00
David-Wobrock
75d34f50f8
Add documentation change to CHANGELOD.md
2020-01-11 22:35:20 +01:00
David-Wobrock
0d5422363d
Update setup.py to use markdown readme file
2020-01-11 22:35:20 +01:00
David-Wobrock
f9dc725e00
Split documentation to multiple files in docs/ and use markdown
2020-01-11 22:35:20 +01:00
David Wobrock
813c5c8690
Remove apache license headers in each file. The one full copy of the license at the root of the repo shall define the license for all source files.
2020-01-11 22:08:33 +01:00
David Wobrock
b91c0c62db
Update README.rst
...
Correct the verbosity parameter
2019-12-02 13:50:40 +01:00
David Wobrock
948717f6e4
Bump to version 1.4.1
2019-12-01 11:37:14 +01:00
David Wobrock
18fa3bdb7a
Update testing dependencies (mysqlclient, do not let Django 2.2 overlap to 3.0 under dev, and update black)
2019-12-01 11:36:56 +01:00
David Wobrock
e57abd292f
Bump to version 1.4.0
2019-10-21 22:30:21 +02:00
David Wobrock
8ebfe4c605
Update all other test dependencies to last status
2019-10-21 22:28:44 +02:00
David Wobrock
22b7d0c02d
Update tox dep to latest (3.14.0)
2019-10-21 22:28:44 +02:00
David Wobrock
abb2971741
Update CHANGELOG with Python3.8 addition
2019-10-21 22:28:44 +02:00
David Wobrock
804c35c2d6
Add Python3.8 to Travis, tox and setup.py files
2019-10-21 22:28:44 +02:00
David Wobrock
c036a67346
Update CHANGELOG with table and column detection
2019-10-21 22:27:25 +02:00
David Wobrock
1d9f4b7b86
Make sqlite and mysql table and column detection a little bit more resilient for UX
2019-10-21 22:27:25 +02:00
David Wobrock
a31282a4d8
Make base detection of table and column more resilient
2019-10-21 22:27:25 +02:00
David Wobrock
7fad69659c
Refactor: move build_error_dict into the Analyser call, since it will be backend specific
2019-10-21 22:27:25 +02:00
David Wobrock
18c271101d
Refactor: remove redundant function call
2019-10-21 22:27:25 +02:00
David Wobrock
9a4951f86d
Add 'enum34' dep for a Python version previous to 3.4 (for 2.7 mostly)
2019-10-21 22:25:52 +02:00
David Wobrock
d7eb85709d
Add 'quiet' option to README and CHANGELOG
2019-10-21 22:25:52 +02:00
David Wobrock
ceabb40a62
Change migration linting prints to use conditined methods
2019-10-21 22:25:52 +02:00
David Wobrock
3b8e86fdf7
Add 'quiet' to argparsing and pass it to the linter
2019-10-21 22:25:52 +02:00
David Wobrock
72f066e710
Add MessageType enum for differentiating messages
2019-10-21 22:25:52 +02:00
David Wobrock
75be4d4258
Update CHANGELOG with many to many field handling
2019-10-21 22:25:01 +02:00
David Wobrock
537542b30d
Add manytomany app to test project and integration tests
2019-10-21 22:25:01 +02:00
David Wobrock
ca6b623200
Add unused app with manytomany field
2019-10-21 22:25:01 +02:00
David Wobrock
cbc5a623b0
Add unit tests on adding many to many field (by testing SQL directly)
2019-10-21 22:25:01 +02:00
David Wobrock
b252c203f5
Add logic that adding a unique constraint is only an error when the table has not been created in the same transaction
2019-10-21 22:25:01 +02:00
David Wobrock
6e64e447a9
Update CHANGELOG and README with --include-migrations-from info
2019-10-12 16:01:01 +02:00
David Wobrock
e6e8cc7525
Update migrations list file behaviour
...
Instead of using the file path when the git commit is not
added, use the file and the migrations list no matter if we select
all migrations or just from a certain git commit.
And unit tests :)
2019-10-12 15:53:18 +02:00
yongming
dbebda65d9
Fix help in command line, fix read file
2019-10-10 22:50:17 +02:00
yongming
adf61dd669
Add command to only check migration files in a given file
2019-10-10 22:50:17 +02:00
David Wobrock
14cafd017d
Bump to version 1.3.0
2019-07-30 10:47:58 +02:00
David Wobrock
5c5507a4c3
Also catch specific mysql errors during sqlmigrate
2019-07-30 10:47:20 +02:00
David Wobrock
c57d3c9286
Update README and CHANGELOG
2019-07-30 10:47:20 +02:00
David Wobrock
a74a7497ad
Catch exception if sqlmigrate fails
...
Because of missing constraint that Django cannot find and therefore drop.
2019-07-30 10:47:20 +02:00
David Wobrock
e408cd2c5e
Add SQL analyser logic for adding unique constraint
2019-07-30 10:47:20 +02:00