From 19fa7a3aec0f52831b7f1ecf50d5850662615edb Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Sun, 7 Sep 2025 12:02:29 -0400 Subject: [PATCH] Replace master -> HEAD in various places --- src/crates/sources/github.rs | 2 +- src/report/mod.rs | 8 ++--- src/server/reports.rs | 2 +- src/server/routes/webhooks/mod.rs | 8 ++--- .../blacklist/full.html.context.expected.json | 6 ++-- .../blacklist/results.expected.json | 6 ++-- .../clippy/full.html.context.expected.json | 4 +-- .../clippy/index.html.context.expected.json | 2 +- .../clippy/markdown.md.context.expected.json | 2 +- tests/minicrater/clippy/results.expected.json | 4 +-- .../doc/full.html.context.expected.json | 4 +-- tests/minicrater/doc/results.expected.json | 4 +-- .../full/full.html.context.expected.json | 34 +++++++++---------- .../full/index.html.context.expected.json | 12 +++---- .../full/markdown.md.context.expected.json | 12 +++---- tests/minicrater/full/results.expected.json | 34 +++++++++---------- .../full.html.context.expected.json | 6 ++-- .../ignore-blacklist/results.expected.json | 6 ++-- .../full.html.context.expected.json | 4 +-- .../index.html.context.expected.json | 2 +- .../markdown.md.context.expected.json | 2 +- .../resource-exhaustion/results.expected.json | 4 +-- .../small/full.html.context.expected.json | 4 +-- .../small/index.html.context.expected.json | 2 +- .../small/markdown.md.context.expected.json | 2 +- tests/minicrater/small/results.expected.json | 4 +-- 26 files changed, 88 insertions(+), 92 deletions(-) diff --git a/src/crates/sources/github.rs b/src/crates/sources/github.rs index 3e57b06c2..ca1c4cfe8 100644 --- a/src/crates/sources/github.rs +++ b/src/crates/sources/github.rs @@ -4,7 +4,7 @@ use std::borrow::Cow; use std::str::FromStr; static CACHED_LIST: &str = - "https://raw.githubusercontent.com/rust-lang/rust-repos/master/data/github.csv"; + "https://raw.githubusercontent.com/rust-lang/rust-repos/HEAD/data/github.csv"; const DUMMY_ORG: &str = "ghost"; const DUMMY_NAME: &str = "missing"; diff --git a/src/report/mod.rs b/src/report/mod.rs index 3479916c7..864f73a51 100644 --- a/src/report/mod.rs +++ b/src/report/mod.rs @@ -483,11 +483,9 @@ fn crate_to_url(c: &Crate) -> String { format!("https://github.com/{}/{}", repo.org, repo.name) } } - Crate::Local(ref name) => format!( - "{}/tree/master/local-crates/{}", - crate::CRATER_REPO_URL, - name - ), + Crate::Local(ref name) => { + format!("{}/tree/HEAD/local-crates/{}", crate::CRATER_REPO_URL, name) + } Crate::Path(ref path) => utf8_percent_encode(path, &REPORT_ENCODE_SET).to_string(), Crate::Git(ref repo) => repo.url.clone(), } diff --git a/src/server/reports.rs b/src/server/reports.rs index 5709cb69f..79fc6e708 100644 --- a/src/server/reports.rs +++ b/src/server/reports.rs @@ -139,7 +139,7 @@ fn reports_thread(data: &Data, github_data: Option<&GithubData>) -> Fallible<()> "warning", format!( "If you notice any spurious failure [please add them to the \ - denylist]({}/blob/master/config.toml)!", + denylist]({}/blob/HEAD/config.toml)!", crate::CRATER_REPO_URL, ), ) diff --git a/src/server/routes/webhooks/mod.rs b/src/server/routes/webhooks/mod.rs index c17e6321b..db425f25b 100644 --- a/src/server/routes/webhooks/mod.rs +++ b/src/server/routes/webhooks/mod.rs @@ -98,11 +98,9 @@ fn process_command( ) .note( "key", - format!( - "If you are a member of the Rust team and need access, [add yourself to \ - the whitelist]({}/blob/master/config.toml).", - crate::CRATER_REPO_URL, - ), + "If you are a member of a Rust team and need access, please update \ + rust-lang/team to grant your team or yourself access to the `crater` \ + permission.", ) .send(&issue.url, data, github_data)?; return Ok(()); diff --git a/tests/minicrater/blacklist/full.html.context.expected.json b/tests/minicrater/blacklist/full.html.context.expected.json index 7418c71c5..0b709f73f 100644 --- a/tests/minicrater/blacklist/full.html.context.expected.json +++ b/tests/minicrater/blacklist/full.html.context.expected.json @@ -13,7 +13,7 @@ null, null ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-fail" } ] } @@ -39,7 +39,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] } @@ -65,7 +65,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/test-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/test-fail" } ] } diff --git a/tests/minicrater/blacklist/results.expected.json b/tests/minicrater/blacklist/results.expected.json index eade02118..0ebf48cc0 100644 --- a/tests/minicrater/blacklist/results.expected.json +++ b/tests/minicrater/blacklist/results.expected.json @@ -10,7 +10,7 @@ null, null ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-fail" }, { "krate": { @@ -28,7 +28,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "krate": { @@ -46,7 +46,7 @@ "res": "test-skipped" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/test-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/test-fail" } ] } diff --git a/tests/minicrater/clippy/full.html.context.expected.json b/tests/minicrater/clippy/full.html.context.expected.json index 89f5a7f38..e2c5383c9 100644 --- a/tests/minicrater/clippy/full.html.context.expected.json +++ b/tests/minicrater/clippy/full.html.context.expected.json @@ -21,7 +21,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] } @@ -60,7 +60,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/clippy-warn" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/clippy-warn" } ] } diff --git a/tests/minicrater/clippy/index.html.context.expected.json b/tests/minicrater/clippy/index.html.context.expected.json index f8f346b81..cdab7af68 100644 --- a/tests/minicrater/clippy/index.html.context.expected.json +++ b/tests/minicrater/clippy/index.html.context.expected.json @@ -34,7 +34,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/clippy-warn" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/clippy-warn" } ] } diff --git a/tests/minicrater/clippy/markdown.md.context.expected.json b/tests/minicrater/clippy/markdown.md.context.expected.json index 9f608a36b..18f02ef67 100644 --- a/tests/minicrater/clippy/markdown.md.context.expected.json +++ b/tests/minicrater/clippy/markdown.md.context.expected.json @@ -23,7 +23,7 @@ "res": "build-fail:compiler-error(clippy::print_with_newline)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/clippy-warn" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/clippy-warn" }, [] ] diff --git a/tests/minicrater/clippy/results.expected.json b/tests/minicrater/clippy/results.expected.json index 9e202194c..1af6c994d 100644 --- a/tests/minicrater/clippy/results.expected.json +++ b/tests/minicrater/clippy/results.expected.json @@ -16,7 +16,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "krate": { @@ -34,7 +34,7 @@ "res": "build-fail:compiler-error(clippy::print_with_newline)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/clippy-warn" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/clippy-warn" } ] } diff --git a/tests/minicrater/doc/full.html.context.expected.json b/tests/minicrater/doc/full.html.context.expected.json index b0f28af84..7c2bcdae9 100644 --- a/tests/minicrater/doc/full.html.context.expected.json +++ b/tests/minicrater/doc/full.html.context.expected.json @@ -21,7 +21,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] } @@ -47,7 +47,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/docs-rs-features" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/docs-rs-features" } ] } diff --git a/tests/minicrater/doc/results.expected.json b/tests/minicrater/doc/results.expected.json index c4641eba5..d761d4247 100644 --- a/tests/minicrater/doc/results.expected.json +++ b/tests/minicrater/doc/results.expected.json @@ -16,7 +16,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "krate": { @@ -34,7 +34,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/docs-rs-features" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/docs-rs-features" } ] } diff --git a/tests/minicrater/full/full.html.context.expected.json b/tests/minicrater/full/full.html.context.expected.json index 1f45bd77b..a3f3348e4 100644 --- a/tests/minicrater/full/full.html.context.expected.json +++ b/tests/minicrater/full/full.html.context.expected.json @@ -24,7 +24,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-faulty-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-faulty-deps" } ] } @@ -55,7 +55,7 @@ "name_idx": 4 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/ice-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/ice-regression" } ], "build compiler-error(E0015)": [ @@ -75,7 +75,7 @@ "name_idx": 3 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/error-code" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/error-code" } ], "build failed (unknown)": [ @@ -95,7 +95,7 @@ "name_idx": 2 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" } ] } @@ -136,7 +136,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-fixed" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-fixed" }, { "color_idx": 1, @@ -154,7 +154,7 @@ "name_idx": 5 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/network-access" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/network-access" } ] } @@ -182,7 +182,7 @@ "name_idx": 6 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/broken-cargotoml" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/broken-cargotoml" }, { "color_idx": 2, @@ -200,7 +200,7 @@ "name_idx": 7 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/yanked-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/yanked-deps" } ] } @@ -226,7 +226,7 @@ "name_idx": 2 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-fail" }, { "color_idx": 3, @@ -244,7 +244,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/faulty-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/faulty-deps" } ] } @@ -270,7 +270,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "color_idx": 4, @@ -288,7 +288,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/clippy-warn" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/clippy-warn" }, { "color_idx": 4, @@ -306,7 +306,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/docs-rs-features" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/docs-rs-features" }, { "color_idx": 4, @@ -324,7 +324,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/missing-examples" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/missing-examples" }, { "color_idx": 4, @@ -342,7 +342,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/outdated-lockfile" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/outdated-lockfile" } ] } @@ -360,7 +360,7 @@ null, null ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/memory-hungry" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/memory-hungry" } ] } @@ -386,7 +386,7 @@ "name_idx": 5 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/test-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/test-fail" } ] } diff --git a/tests/minicrater/full/index.html.context.expected.json b/tests/minicrater/full/index.html.context.expected.json index 45a999eb5..5b6a9c5f4 100644 --- a/tests/minicrater/full/index.html.context.expected.json +++ b/tests/minicrater/full/index.html.context.expected.json @@ -24,7 +24,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-faulty-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-faulty-deps" } ] } @@ -55,7 +55,7 @@ "name_idx": 4 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/ice-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/ice-regression" } ], "build compiler-error(E0015)": [ @@ -75,7 +75,7 @@ "name_idx": 3 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/error-code" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/error-code" } ], "build failed (unknown)": [ @@ -95,7 +95,7 @@ "name_idx": 2 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" } ] } @@ -136,7 +136,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-fixed" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-fixed" }, { "color_idx": 1, @@ -154,7 +154,7 @@ "name_idx": 5 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/network-access" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/network-access" } ] } diff --git a/tests/minicrater/full/markdown.md.context.expected.json b/tests/minicrater/full/markdown.md.context.expected.json index 2f4ea88a5..8d1717034 100644 --- a/tests/minicrater/full/markdown.md.context.expected.json +++ b/tests/minicrater/full/markdown.md.context.expected.json @@ -30,7 +30,7 @@ "res": "build-fail:depends-on(gh/rust-lang/crater/f190933e896443e285e3bb6962fb87d7439b8d65)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-faulty-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-faulty-deps" } ] ] @@ -53,7 +53,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" }, [] ], @@ -74,7 +74,7 @@ "res": "build-fail:compiler-error(E0015)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/error-code" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/error-code" }, [] ], @@ -95,7 +95,7 @@ "res": "build-fail:ice" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/ice-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/ice-regression" }, [] ] @@ -126,7 +126,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-fixed" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-fixed" }, [] ], @@ -147,7 +147,7 @@ "res": "test-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/network-access" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/network-access" }, [] ] diff --git a/tests/minicrater/full/results.expected.json b/tests/minicrater/full/results.expected.json index edbc54a5d..8d59a06f0 100644 --- a/tests/minicrater/full/results.expected.json +++ b/tests/minicrater/full/results.expected.json @@ -16,7 +16,7 @@ "res": "build-fail:depends-on(gh/rust-lang/crater/f190933e896443e285e3bb6962fb87d7439b8d65)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-faulty-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-faulty-deps" }, { "krate": { @@ -34,7 +34,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-fixed" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-fixed" }, { "krate": { @@ -52,7 +52,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" }, { "krate": { @@ -70,7 +70,7 @@ "res": "broken:cargo-toml" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/broken-cargotoml" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/broken-cargotoml" }, { "krate": { @@ -88,7 +88,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-fail" }, { "krate": { @@ -106,7 +106,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "krate": { @@ -124,7 +124,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/clippy-warn" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/clippy-warn" }, { "krate": { @@ -142,7 +142,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/docs-rs-features" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/docs-rs-features" }, { "krate": { @@ -160,7 +160,7 @@ "res": "build-fail:compiler-error(E0015)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/error-code" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/error-code" }, { "krate": { @@ -178,7 +178,7 @@ "res": "build-fail:depends-on(reg/lazy_static/0.1.0, gh/rust-lang/crater/c3f462bdab37a93c24b2b172b90564749e892cbc)" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/faulty-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/faulty-deps" }, { "krate": { @@ -196,7 +196,7 @@ "res": "build-fail:ice" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/ice-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/ice-regression" }, { "krate": { @@ -208,7 +208,7 @@ null, null ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/memory-hungry" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/memory-hungry" }, { "krate": { @@ -226,7 +226,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/missing-examples" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/missing-examples" }, { "krate": { @@ -244,7 +244,7 @@ "res": "test-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/network-access" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/network-access" }, { "krate": { @@ -262,7 +262,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/outdated-lockfile" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/outdated-lockfile" }, { "krate": { @@ -280,7 +280,7 @@ "res": "test-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/test-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/test-fail" }, { "krate": { @@ -298,7 +298,7 @@ "res": "broken:yanked" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/yanked-deps" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/yanked-deps" } ] } diff --git a/tests/minicrater/ignore-blacklist/full.html.context.expected.json b/tests/minicrater/ignore-blacklist/full.html.context.expected.json index 164306d99..8d6feb9ef 100644 --- a/tests/minicrater/ignore-blacklist/full.html.context.expected.json +++ b/tests/minicrater/ignore-blacklist/full.html.context.expected.json @@ -21,7 +21,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-fail" } ] } @@ -47,7 +47,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] } @@ -73,7 +73,7 @@ "name_idx": 2 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/test-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/test-fail" } ] } diff --git a/tests/minicrater/ignore-blacklist/results.expected.json b/tests/minicrater/ignore-blacklist/results.expected.json index f8dccb8bb..c2803b790 100644 --- a/tests/minicrater/ignore-blacklist/results.expected.json +++ b/tests/minicrater/ignore-blacklist/results.expected.json @@ -16,7 +16,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-fail" }, { "krate": { @@ -34,7 +34,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "krate": { @@ -52,7 +52,7 @@ "res": "test-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/test-fail" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/test-fail" } ] } diff --git a/tests/minicrater/resource-exhaustion/full.html.context.expected.json b/tests/minicrater/resource-exhaustion/full.html.context.expected.json index 2d0a5fb32..3b17146c7 100644 --- a/tests/minicrater/resource-exhaustion/full.html.context.expected.json +++ b/tests/minicrater/resource-exhaustion/full.html.context.expected.json @@ -21,7 +21,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] } @@ -47,7 +47,7 @@ "name_idx": 2 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/memory-hungry" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/memory-hungry" } ] } diff --git a/tests/minicrater/resource-exhaustion/index.html.context.expected.json b/tests/minicrater/resource-exhaustion/index.html.context.expected.json index d43903b40..081cf7373 100644 --- a/tests/minicrater/resource-exhaustion/index.html.context.expected.json +++ b/tests/minicrater/resource-exhaustion/index.html.context.expected.json @@ -21,7 +21,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/memory-hungry" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/memory-hungry" } ] } diff --git a/tests/minicrater/resource-exhaustion/markdown.md.context.expected.json b/tests/minicrater/resource-exhaustion/markdown.md.context.expected.json index edf5221c6..0ba7eb90c 100644 --- a/tests/minicrater/resource-exhaustion/markdown.md.context.expected.json +++ b/tests/minicrater/resource-exhaustion/markdown.md.context.expected.json @@ -20,7 +20,7 @@ "res": "test-fail:oom" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/memory-hungry" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/memory-hungry" } ] } diff --git a/tests/minicrater/resource-exhaustion/results.expected.json b/tests/minicrater/resource-exhaustion/results.expected.json index 29feaada1..cfa5b33f0 100644 --- a/tests/minicrater/resource-exhaustion/results.expected.json +++ b/tests/minicrater/resource-exhaustion/results.expected.json @@ -16,7 +16,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" }, { "krate": { @@ -34,7 +34,7 @@ "res": "test-fail:oom" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/memory-hungry" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/memory-hungry" } ] } diff --git a/tests/minicrater/small/full.html.context.expected.json b/tests/minicrater/small/full.html.context.expected.json index 03a2ec507..09b5005df 100644 --- a/tests/minicrater/small/full.html.context.expected.json +++ b/tests/minicrater/small/full.html.context.expected.json @@ -34,7 +34,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" } ] } @@ -62,7 +62,7 @@ "name_idx": 0 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] } diff --git a/tests/minicrater/small/index.html.context.expected.json b/tests/minicrater/small/index.html.context.expected.json index d5e99398b..a70bc3507 100644 --- a/tests/minicrater/small/index.html.context.expected.json +++ b/tests/minicrater/small/index.html.context.expected.json @@ -34,7 +34,7 @@ "name_idx": 1 } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" } ] } diff --git a/tests/minicrater/small/markdown.md.context.expected.json b/tests/minicrater/small/markdown.md.context.expected.json index 0e9c50723..d46463ea8 100644 --- a/tests/minicrater/small/markdown.md.context.expected.json +++ b/tests/minicrater/small/markdown.md.context.expected.json @@ -23,7 +23,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" }, [] ] diff --git a/tests/minicrater/small/results.expected.json b/tests/minicrater/small/results.expected.json index 74a5d6114..58cb30459 100644 --- a/tests/minicrater/small/results.expected.json +++ b/tests/minicrater/small/results.expected.json @@ -16,7 +16,7 @@ "res": "build-fail:unknown" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/beta-regression" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/beta-regression" }, { "krate": { @@ -34,7 +34,7 @@ "res": "test-pass" } ], - "url": "https://github.com/rust-lang/crater/tree/master/local-crates/build-pass" + "url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/build-pass" } ] }