turbaszek opened a new issue #11043:
URL: https://github.com/apache/airflow/issues/11043


   
   This issue is part of #8765
   
   ## Rule
   Create `MesosExecutorRemovedRule` which corresponds to
   > Removal of Mesos Executor
   
   entry in UPDATING.md. This rule should allow users to check if their current 
configuration needs any adjusting
   before migration to Airflow 2.0.
   
   ## How to guide
   To implement a new rule, create a class that inherits from 
`airflow.upgrade.rules.base_rule.BaseRule`.
   It will be auto-registered and used by `airflow upgrade-check` command. The 
custom rule class has to have `title`,
   `description` properties and should implement `check` method which returns a 
list of error messages in case of
   incompatibility.
   
   For example:
   
https://github.com/apache/airflow/blob/ea36166961ca35fc51ddc262ec245590c3e236fb/airflow/upgrade/rules/conn_type_is_not_nullable.py#L25-L42
   
   **Remember** to open the PR against `v1-10-test` branch.
   


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


Reply via email to