Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
88e7556
Fix build script sanitizer check.
ehuss Sep 14, 2019
b609547
std: always depend on backtrace, but only enable its features on demand
RalfJung Sep 14, 2019
dac0a15
rename the crate, not the feature
RalfJung Sep 14, 2019
ee83402
when BUILD_MANIFEST_DISABLE_SIGNING is set, we don't need gpg-passwor…
RalfJung Sep 14, 2019
766c4a5
build-manifest: when Miri tests are not passing, do not add Miri comp…
RalfJung Sep 14, 2019
6137691
const interning: move mutability computation into intern_shallow, and…
RalfJung Aug 27, 2019
7b8693e
all memory behind a constant must be immutable
RalfJung Aug 27, 2019
75c82b4
drop redundant ParamEnv, and avoid constructing InternVisitor without…
RalfJung Aug 27, 2019
b1d4d2b
relocations -> allocations
RalfJung Aug 27, 2019
14e3506
note a FIXME
RalfJung Aug 27, 2019
3424811
assert that nobody asks for mutable constants
RalfJung Aug 28, 2019
224e2e5
explain ty == None
RalfJung Aug 28, 2019
5462ecb
update intern classification comment
RalfJung Aug 28, 2019
5355a16
use println!()
Sep 13, 2019
a678e31
Hide diagnostics emitted during --cfg parsing
Mark-Simulacrum Sep 14, 2019
bb22986
Don't print the "total" `-Ztime-passes` output if `--prints=...` is a…
nnethercote Sep 16, 2019
163892c
Use `Symbol` in two more functions.
nnethercote Sep 16, 2019
d3d7b58
ci: ensure all tool maintainers are assignable on issues
pietroalbini Sep 3, 2019
eb97b1b
ci: rename Gankro to Gankra in toolstate
pietroalbini Sep 3, 2019
f968c1a
ci: address publish_toolstate review comments
pietroalbini Sep 4, 2019
f2576c8
ci: convert maintainer list in publish_toolstate to a set
pietroalbini Sep 4, 2019
ce451b9
ci: remove projektir from toolstate notifications
pietroalbini Sep 9, 2019
49854c4
avoid #[cfg] in favor of cfg!
RalfJung Sep 16, 2019
d5fe583
Const-stabilize `Vec::new`.
Centril Aug 29, 2019
9b3e11f
Const-stabilize `String::new`.
Centril Aug 29, 2019
f432d50
Rollup merge of #63955 - RalfJung:intern, r=oli-obk
Centril Sep 16, 2019
be327a8
Rollup merge of #64028 - Centril:stabilize-alloc-new-2, r=alexcrichton
Centril Sep 16, 2019
63bc6ae
Rollup merge of #64119 - pietroalbini:validate-toolstate-maintainers,…
Centril Sep 16, 2019
2a6a342
Rollup merge of #64444 - RalfJung:no-backtrace, r=alexcrichton
Centril Sep 16, 2019
f0320e5
Rollup merge of #64446 - ehuss:fix-sanitizer-build, r=alexcrichton
Centril Sep 16, 2019
7975973
Rollup merge of #64451 - RalfJung:miri-manifest, r=pietroalbini
Centril Sep 16, 2019
75db571
Rollup merge of #64467 - Mark-Simulacrum:hide-cfg-failures, r=estebank
Centril Sep 16, 2019
acbbcda
Rollup merge of #64497 - nnethercote:fix-64339, r=petrochenkov
Centril Sep 16, 2019
d8ecf45
Rollup merge of #64499 - nnethercote:use-Symbol-in-two-more-functions…
Centril Sep 16, 2019
f4ff418
Rollup merge of #64504 - guanqun:use-println-without-empty-str, r=jon…
Centril Sep 16, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: address publish_toolstate review comments
  • Loading branch information
pietroalbini committed Sep 16, 2019
commit f968c1a4f51b1e57f1f613055332b3bf63f5864e
20 changes: 10 additions & 10 deletions src/tools/publish_toolstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,14 @@ def validate_maintainers(repo, github_token):
# Properly load nested teams.
'Accept': 'application/vnd.github.hellcat-preview+json',
}))
for user in json.loads(response.read()):
assignable.append(user['login'])
assignable.extend(user['login'] for user in json.load(response))
# Load the next page if available
if 'Link' in response.headers:
matches = next_link_re.match(response.headers['Link'])
url = None
link_header = response.headers.get('Link')
if link_header:
matches = next_link_re.match(link_header)
if matches is not None:
url = matches.group(1)
else:
url = None

errors = False
for tool, maintainers in MAINTAINERS.items():
Expand Down Expand Up @@ -251,13 +250,14 @@ def update_latest(


if __name__ == '__main__':
if 'TOOLSTATE_VALIDATE_MAINTAINERS_REPO' in os.environ:
repo = os.environ['TOOLSTATE_VALIDATE_MAINTAINERS_REPO']
if 'TOOLSTATE_REPO_ACCESS_TOKEN' in os.environ:
github_token = os.environ['TOOLSTATE_REPO_ACCESS_TOKEN']
repo = os.environ.get('TOOLSTATE_VALIDATE_MAINTAINERS_REPO')
if repo:
github_token = os.environ.get('TOOLSTATE_REPO_ACCESS_TOKEN')
if github_token:
validate_maintainers(repo, github_token)
else:
print('skipping toolstate maintainers validation since no GitHub token is present')
# When validating maintainers don't run the full script.
exit(0)

cur_commit = sys.argv[1]
Expand Down