Add patchfilter to autsopecnew

This commit is contained in:
Arjan van de Ven
2019-04-25 18:21:11 +00:00
parent a21156767e
commit 6bc5718c25
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -186,8 +186,8 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
bash update_changelog.sh ; \
git commit --amend --no-edit Change* ; \
fi
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ;
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py ;
git show | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ;
git show | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py ;
#help autospecnogit: Runs autospec, but does not create a commit
autospecnogit:
+2
View File
@@ -228,6 +228,8 @@ autospecnew: preautospecnew-checks localreponotice
$(URL); \
[ $$? -eq 0 ] && $(MAKE) link-new-rpms PKG_REPO_DIR="${TOPLVL}/packages/${NAME}"; \
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
git show | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ; \
git show | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py ; \
else \
echo "$(NAME) already exists at $(TOPLVL)/packages/$(NAME)"; \
exit 1; \