potiuk commented on issue #26019:
URL: https://github.com/apache/airflow/issues/26019#issuecomment-1776724974
I think part of the task is to decide which ones are worth to rewrite. I'd
say the "install" scripts are less likely - the simpler and the more
"standaslone" script is, the less likely it needs to be rewrtten (in general).
Simple bash scripts are ok, complex bash scripts with more logic and functions
proabably should be.
I'd say our goal is to get rid of all the scripts that include
"_in_container_utils.sh" - because that indicates the yare susing some common
code that makes the script part of something "bigger" - not a standalone script
but mostly part of the set of connected scripts anything that uses "$( dirname
"${BASH_SOURCE[0]}" )/_in_container_script_init.sh" is ikely a good candidate.
Also you have to remember, that when they are rewritten in python, there is
an extra overhead of python interpreter startup, so likely you should find out
and learn where each script is used and see if it makes sense to rewrite it -
this is also part of the task.
--
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]