You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/19 17:23:15 UTC

[GitHub] [airflow] mik-laj opened a new issue #9414: CLI environment variables reference

mik-laj opened a new issue #9414:
URL: https://github.com/apache/airflow/issues/9414


   Hello,
   
   I think it's worth creating a list of environment variables used by Airflow. This will allow you to refer to it from other places in the documentation.  We should use [envvar directive](https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html?highlight=envvar#directive-envvar) to do it -
   
   This list can be added to the file:  [docs/cli-ref.rst](https://github.com/apache/airflow/blob/master/docs/cli-ref.rst) [(preview)](https://airflow.readthedocs.io/en/latest/cli-ref.html)
   
   We have the following environment variables
   ```
   .. envvar:: AIRFLOW__{SECTION}__{KEY}
   .. envvar:: AIRFLOW__{SECTION}__{KEY}_CMD
   .. envvar:: AIRFLOW_CONFIG
   .. envvar:: AIRFLOW_CONN_
   .. envvar:: AIRFLOW_HOME
   .. envvar:: AIRFLOW_VAR_
   ```
   
   We can be inspired by the following links
   https://docs.docker.com/compose/reference/envvars/
   https://raw.githubusercontent.com/python/cpython/7864f11cdf12807555d62c7a132c191eb41ecc02/Doc/using/cmdline.rst
   https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] gflores1023 commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
gflores1023 commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-731662150


   Hi, came across this issue. There's now a broken link on [dag-run](https://airflow.readthedocs.io/en/latest/dag-run.html?highlight=catchup#backfill) - the link that points to: https://airflow.readthedocs.io/en/latest/cli-ref.html#backfill
   
   "The **[backfill command](https://airflow.readthedocs.io/en/latest/cli-ref.html#backfill)** will re-run all the instances of the dag_id for all the intervals within the start date and end date."
   
   I noticed faihegberg added a redirect but it doesn't appear to be working?
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] faihegberg commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
faihegberg commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-691497902


   @mik-laj I’d like to grab this one if that’s ok 🙂 I just finished reading through the contribution guideline/documentation and this will be my first issue. Please let me know if you have any additional info that you think will be helpful.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] gflores1023 edited a comment on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
gflores1023 edited a comment on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-731662150


   Hi, came across this issue. There's now a broken link on [dag-run](https://airflow.readthedocs.io/en/latest/dag-run.html?highlight=catchup#backfill) - the link that points to: https://airflow.readthedocs.io/en/latest/cli-ref.html#backfill
   
   "The **[backfill command](https://airflow.readthedocs.io/en/latest/cli-ref.html#backfill)** will re-run all the instances of the dag_id for all the intervals within the start date and end date."
   
   I noticed @faihegberg added a redirect but it doesn't appear to be working?
   
   Edit: Actually, I think I misunderstood the redirect's function. I think this is just a broken link that needs to be fixed. Does this issue get re-opened? If it requires a new issue, I'd like to handle it (it'd be my first Airflow PR). 
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-656581955


   @turbaszek  Why would I do that? I would like to have a list of only 6 options. In case of ``AIRFLOW__{SECTION}__{KEY}``. I would like a description that is related to the configuration options and a link to the documentation with all configuration options. 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-691976670


   @faihegberg You are already assigned to this ticket. When you create a PR it will be easier for us to discuss the details.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj removed a comment on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj removed a comment on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-671044613


   @ghost Do you have any problem? Do you have any questions? I will be very happy to help you if I can
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj closed issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #9414:
URL: https://github.com/apache/airflow/issues/9414


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] faihegberg commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
faihegberg commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-691497902


   @mik-laj I’d like to grab this one if that’s ok 🙂 I just finished reading through the contribution guideline/documentation and this will be my first issue. Please let me know if you have any additional info that you think will be helpful.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] gflores1023 edited a comment on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
gflores1023 edited a comment on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-731662150


   Hi, came across this issue. There's now a broken link on [dag-run](https://airflow.readthedocs.io/en/latest/dag-run.html?highlight=catchup#backfill) - the link that points to: https://airflow.readthedocs.io/en/latest/cli-ref.html#backfill
   
   "The **[backfill command](https://airflow.readthedocs.io/en/latest/cli-ref.html#backfill)** will re-run all the instances of the dag_id for all the intervals within the start date and end date."
   
   I noticed @faihegberg added a redirect but it doesn't appear to be working?
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-671205295


   The user who wanted to do this task deleted the account, so this ticket is now free.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] faihegberg commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
faihegberg commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-691497902






----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-671044613


   @ghost Do you have any problem? Do you have any questions? I will be very happy to help you if I can
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] jkrajpal commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
jkrajpal commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-656512111


   @mik-laj please assign this to me.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj edited a comment on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-731690403


   @gflores1023 If you want to propose a change then you don't have a ticket. It is enough to create a PR.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] faihegberg commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
faihegberg commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-691497902






----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #9414: Environment variables reference

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #9414:
URL: https://github.com/apache/airflow/issues/9414#issuecomment-731690403


   @gflores1023 If you want to propose a design change then you don't have a ticket. It is enough to create a PR.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org