jedcunningham opened a new pull request, #47083:
URL: https://github.com/apache/airflow/pull/47083

   (this is based on #47076, so that needs to merge first - you can ignore the 
first 3 commits)
   
   While we work through the things we need to do to remove the code behind the 
old ui in #46942, let's break the webserver command itself and point folks at 
the new api-server instead.
   
   This included renaming the following args to better match
   fastapi/uvicorn:
     - `--hostname` -> `--host`
     - `--debug` -> `--dev`
   
   The following config options were removed (there isn't an equivalent
   currently):
     - `[webserver] error_logfile`
     - `[webserver] access_logformat`
   
   The following config options were moved/renamed to the `api` section.
     - `[webserver] web_server_host` has been moved to `[api] host`
     - `[webserver] web_server_port` has been moved to `[api] port`
     - `[webserver] workers` has been moved to `[api] workers`
     - `[webserver] web_server_worker_timeout` has been moved to `[api] 
worker_timeout`
     - `[webserver] web_server_ssl_cert` has been moved to `[api] ssl_cert`
     - `[webserver] web_server_ssl_key` has been moved to `[api] ssl_key`
     - `[webserver] access_logfile` has been moved to `[api] access_logfile`
   
   `airflow webserver` was added to the list of legacy commands, which
   means users will be informed of the replacement instead of just getting
   a generic error:
   
   ```
   $ airflow webserver
   Usage: airflow [-h] GROUP_OR_COMMAND ...
   ...
   airflow command error: argument GROUP_OR_COMMAND: Command `airflow 
webserver` has been removed. Please use `airflow api-server`, see help above.
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to