[Git][security-tracker-team/security-tracker][master] Don't warn about potential duplicate work when issuing a regression update; we...

Chris Lamb lamby at debian.org
Thu Mar 19 17:09:56 GMT 2020



Chris Lamb pushed to branch master at Debian Security Tracker / security-tracker


Commits:
3306d6a8 by Chris Lamb at 2020-03-19T17:08:24+00:00
Don't warn about potential duplicate work when issuing a regression update; we will likely not be modifying dla-needed.txt.

- - - - -


1 changed file:

- bin/gen-DSA


Changes:

=====================================
bin/gen-DSA
=====================================
@@ -394,7 +394,7 @@ EOF
 	if [ -d .git ]; then
 	    echo "Made the following changes:"
 	    git diff -- data/$IDMODE/list $needed_file
-	    if ! git diff-index --name-only HEAD -- $needed_file | grep -qs .; then
+	    if ! git diff-index --name-only HEAD -- $needed_file | grep -qs . && [ $TYPE = security ]; then
 		warn "did not make any changes to $needed_file - this may indicate duplicate work"
 	    fi
 	fi



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/3306d6a87d17b5efdd705bac6131a60ed6f82287

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/3306d6a87d17b5efdd705bac6131a60ed6f82287
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20200319/96a667ef/attachment.html>


More information about the debian-security-tracker-commits mailing list