Skip to content

Commit

Permalink
Add comment to commented out git lines for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Jul 1, 2024
1 parent 413f59d commit f9db941
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9db941

Please sign in to comment.