ashb opened a new issue #8765:
URL: https://github.com/apache/airflow/issues/8765
To make it easier for users to upgrade from 1.10 to 2.0 (when it eventually
comes out) we should create a single `upgrade-check` command in 1.10 that
checks the following things:
- [ ] Config values are in the right place.
For this to work 1.10 needs to support both old and new style. 2.0 has
deprecation warnings for all the old config names (hostname_callbable `:` to
`.`, moving logging to it's own section etc) but if we backport those, we can
have 2.0 just look at the new style if we wanted.
- [ ] Check for dags using old imports
This command should check that the `apache-airflow-backport-providers-$x`
module is installed, and that the DAGs are using them.
(Non exhaustive list, should be added to as we think of more.
We could also have a mode that makes some of these changes in place (with
confirmation from user) to automate it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]