From f9db9410a7bbb521518fd2173d6b1592561b5639 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Mon, 1 Jul 2024 14:28:17 -0400 Subject: [PATCH] Add comment to commented out git lines for clarity --- requirements/requirements.txt | 8 ++++---- requirements/updater.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 98ccd6893011..971c6913ba0f 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -13,7 +13,7 @@ aiosignal==1.3.1 # via aiohttp annotated-types==0.6.0 # via pydantic -# git+https://github.com/ansible/ansible-runner.git@devel +# git+https://github.com/ansible/ansible-runner.git@devel # git requirements installed separately # via -r /awx_devel/requirements/requirements_git.txt ansiconv==1.0.0 # via -r /awx_devel/requirements/requirements.in @@ -78,7 +78,7 @@ botocore==1.34.47 # s3transfer cachetools==5.3.2 # via google-auth -# git+https://github.com/ansible/system-certifi.git@devel +# git+https://github.com/ansible/system-certifi.git@devel # git requirements installed separately # via # -r /awx_devel/requirements/requirements_git.txt # kubernetes @@ -144,7 +144,7 @@ django==4.2.10 # django-solo # djangorestframework # social-auth-app-django -# django-ansible-base @ git+https://github.com/ansible/django-ansible-base@devel +# django-ansible-base @ git+https://github.com/ansible/django-ansible-base@devel # git requirements installed separately # via -r /awx_devel/requirements/requirements_git.txt django-auth-ldap==4.6.0 # via -r /awx_devel/requirements/requirements.in @@ -436,7 +436,7 @@ python-tss-sdk==1.2.2 # via -r /awx_devel/requirements/requirements.in python3-openid==3.2.0 # via social-auth-core -# git+https://github.com/ansible/python3-saml.git@devel +# git+https://github.com/ansible/python3-saml.git@devel # git requirements installed separately # via -r /awx_devel/requirements/requirements_git.txt pytz==2024.1 # via diff --git a/requirements/updater.sh b/requirements/updater.sh index 361247ebc621..3350f030836b 100755 --- a/requirements/updater.sh +++ b/requirements/updater.sh @@ -30,7 +30,7 @@ generate_requirements() { while IFS= read -r line; do if [[ $line != \#* ]]; then # ignore lines which are already comments # Add # to the start of any line matched - sed -i "s!^.*${line%#*}!# ${line%#*}!g" requirements.txt + sed -i "s!^.*${line%#*}!# ${line%#*} # git requirements installed separately!g" requirements.txt fi done < "${requirements_git}" fi;