Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Jun 21, 2019
1 parent 0f58987 commit 902aeb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,14 @@ matrix:
if: type = pull_request OR branch = auto

- stage: publish toolstate
if: branch = master AND type = push
if: branch = debug-for-422 # master AND type = push
before_install: []
install: []
sudo: false
script:
MESSAGE_FILE=$(mktemp -t msg.XXXXXX);
. src/ci/docker/x86_64-gnu-tools/repo.sh;
commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN";
TOOLSTATE_SKIP_MENTIONS=1 commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN";

before_install:
# We'll use the AWS cli to download/upload cached docker layers as well as
Expand Down
6 changes: 3 additions & 3 deletions src/tools/publish_toolstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# List of people to ping when the status of a tool or a book changed.
MAINTAINERS = {
'miri': '@oli-obk @RalfJung @eddyb',
'clippy-driver': '@Manishearth @llogiq @mcarton @oli-obk @phansch',
'clippy-driver': '@Manishearth @oli-obk',
'rls': '@Xanewok',
'rustfmt': '@topecongiro',
'book': '@carols10cents @steveklabnik',
Expand Down Expand Up @@ -72,7 +72,7 @@ def issue(
):
# Open an issue about the toolstate failure.
assignees = [x.strip() for x in maintainers.split('@') if x != '']
assignees.append(relevant_pr_user)
# assignees.append(relevant_pr_user)
if status == 'test-fail':
status_description = 'has failing tests'
else:
Expand Down Expand Up @@ -160,7 +160,7 @@ def update_latest(
if new == 'build-fail' or (tool == 'miri' and new == 'test-fail'):
create_issue_for_status = new

if create_issue_for_status is not None:
if tool == 'clippy-driver': #create_issue_for_status is not None:
try:
issue(
tool, create_issue_for_status, MAINTAINERS.get(tool, ''),
Expand Down

0 comments on commit 902aeb2

Please sign in to comment.