summaryrefslogtreecommitdiffstats
path: root/.travis/labeler.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-07-08 20:14:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-07-08 20:14:42 +0000
commit4f88e1a9be89a257fd6ed3045703db6e900027ee (patch)
tree518eb3c3aa1dce9ea281d02e0fd3cc01a9e7913f /.travis/labeler.sh
parentAdding upstream version 1.15.0. (diff)
downloadnetdata-4f88e1a9be89a257fd6ed3045703db6e900027ee.tar.xz
netdata-4f88e1a9be89a257fd6ed3045703db6e900027ee.zip
Adding upstream version 1.16.0.upstream/1.16.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x.travis/labeler.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/.travis/labeler.sh b/.travis/labeler.sh
index e8d7d228..7863084d 100755
--- a/.travis/labeler.sh
+++ b/.travis/labeler.sh
@@ -36,21 +36,6 @@ echo "===== Looking up available labels ====="
LABELS_FILE=/tmp/labels
hub issue labels >$LABELS_FILE
-echo "===== Categorizing issues ====="
-# This won't touch issues which already have at least one label assigned
-for STATE in "open" "closed"; do
- for ISSUE in $(hub issue -f "%I %l%n" -s "$STATE" -d "$(date +%F -d '1 day ago')" | grep -v -f $LABELS_FILE); do
- echo "-------- Processing $STATE issue no. $ISSUE --------"
- BODY="$(curl -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/netdata/netdata/issues/$ISSUE" 2>/dev/null | jq .body)"
- case "${BODY}" in
- *"# Question summary"*) new_labels "$ISSUE" "question" "no changelog" ;;
- *"# Bug report summary"*) new_labels "$ISSUE" "needs triage" "bug" ;;
- *"# Feature idea summary"*) new_labels "$ISSUE" "needs triage" "feature request" ;;
- *) new_labels "$ISSUE" "needs triage" "no changelog" ;;
- esac
- done
-done
-
# Change all 'area' labels assigned to PR saving non-area labels.
echo "===== Categorizing PRs ====="
NEW_LABELS=/tmp/new_labels