Unverified Commit 1f9b75d9 authored by Paul Wise's avatar Paul Wise
Browse files

Avoid including ProgressLinux restricted 403 errors in sources.log.warnings

These files are only served to authorised users.

Reduces noise in the daily mails.
parent 65cdd0de
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -73,6 +73,11 @@ ifeq ($(notdir $(CURDIR)), Ordissimo)
	sed -i '/WARNING: unable to download sha1 file, ignoring: Forbidden .*non-free/s/WARNING/INFO/' $@.tmp
	sed -i '/WARNING: unable to download sha1 file, ignoring: 403: .*non-free/s/WARNING/INFO/' $@.tmp
	sed -i '/WARNING: finished processing source package .*: sha1 missing for dsc file/s/WARNING/INFO/' $@.tmp
endif
ifeq ($(notdir $(CURDIR)), ProgressLinux)
	sed -i '/WARNING: unable to download sha1 file, ignoring: Forbidden .*restricted/s/WARNING/INFO/' $@.tmp
	sed -i '/WARNING: unable to download sha1 file, ignoring: 403: .*restricted/s/WARNING/INFO/' $@.tmp
	sed -i '/WARNING: finished processing source package .*: sha1 missing for dsc file/s/WARNING/INFO/' $@.tmp
endif
	-grep -EC5 '^(WARNING|ERROR): ' $@.tmp > $@.tmp.tmp
	mv --force $@.tmp.tmp $@.tmp