pull_local.py, openconfigPullLocal.py, ietf_push.py and iana_push.py for various reasons all trigger clones of repositories already downloaded in /var/yang/nonietf.
Usually the reason is needing an up to date copy of the repository, or needing to add files to the repository without impacting other scripts.
A better alternative to this would be to have one script keeping the repositories up to date (run_download_github.sh in module-compilation already does this). Any script that would need a copy of the repo that it can modify and that will not be modified by other scripts could then create it's own git worktree and delete it when it's done.
pull_local.py
,openconfigPullLocal.py
,ietf_push.py
andiana_push.py
for various reasons all trigger clones of repositories already downloaded in/var/yang/nonietf
. Usually the reason is needing an up to date copy of the repository, or needing to add files to the repository without impacting other scripts. A better alternative to this would be to have one script keeping the repositories up to date (run_download_github.sh
in module-compilation already does this). Any script that would need a copy of the repo that it can modify and that will not be modified by other scripts could then create it's own git worktree and delete it when it's done.