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/12/09 12:38:01 UTC

[GitHub] [airflow-site] mik-laj opened a new issue #338: Rewrite ./site.sh to Python

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


   Dear friends.
   
   In this project, we have one bash script - [./site.sh](https://github.com/apache/airflow-site/blob/master/site.sh) that starts to grow more and more, so its maintenance becomes more problematic. I think it's a good idea to rewrite it into Python.
   
   However, I would like us to continue limiting the use of external libraries. For Docker interactions, it is better to use docker-cli than the Docker library.
   
   We use subcommands in the script. I am attaching an example of how to do this in Python.
   https://gist.github.com/mik-laj/ff008718fc6cec9fe929731b8c62d6f8
   
   Best regards,
   Kamil BreguĊ‚a
   
   CC: @brennoflavio  


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