Created
February 16, 2023 12:06
-
-
Save vyach-vasiliev/92fd5a36becc1b54c9fb784641708db7 to your computer and use it in GitHub Desktop.
Check Django version for packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
filename="check-"$(date '+%Y%m%d')".txt" | |
> "$filename" | |
while IFS= read -r line || [ -n "$line" ]; do | |
res=$(bash -c "sh runpython.sh -m johnnydep --output-format pinned $line" | grep -v "run python with params" | grep Django) | |
echo -n "$res, " >> "$filename" | |
echo "$line" >> "$filename" | |
done < requirements.local.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
django-debug-toolbar==3.7.0 | |
django-debug-toolbar-request-history==0.1.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment