fix(install): record reviewed Brave overlay pin
This commit is contained in:
parent
aecfd3262e
commit
0aa31a36a0
1 changed files with 5 additions and 3 deletions
|
|
@ -257,11 +257,11 @@ pub fn brave_packages() -> Vec<&'static str> {
|
||||||
pub const BRAVE_OVERLAY_URI: &str =
|
pub const BRAVE_OVERLAY_URI: &str =
|
||||||
"https://github.com/falbrechtskirchinger/another-brave-overlay.git";
|
"https://github.com/falbrechtskirchinger/another-brave-overlay.git";
|
||||||
/// Last reviewed `another-brave-overlay` commit (2026-09-26 review: stable
|
/// Last reviewed `another-brave-overlay` commit (2026-09-26 review: stable
|
||||||
/// `www-client/brave-browser` ebuild present, `eselect repository` listed,
|
/// `www-client/brave-browser-1.96.59` ebuild present with `verify-sig`,
|
||||||
/// Gentoo wiki documents the stable-only emerge path; live checksum
|
/// beta/nightly atoms masked by `brave_scope_mask`; live checksum
|
||||||
/// verification against upstream Brave release artifacts happens at install
|
/// verification against upstream Brave release artifacts happens at install
|
||||||
/// time and fails closed).
|
/// time and fails closed).
|
||||||
pub const BRAVE_OVERLAY_DEFAULT_PIN: &str = "";
|
pub const BRAVE_OVERLAY_DEFAULT_PIN: &str = "d3a97f22310e649d9349cbdb8c1c37caef169f39";
|
||||||
/// Upstream Brave release artifacts verified at install time.
|
/// Upstream Brave release artifacts verified at install time.
|
||||||
pub const BRAVE_UPSTREAM_RELEASES: &str = "https://github.com/brave/brave-browser/releases";
|
pub const BRAVE_UPSTREAM_RELEASES: &str = "https://github.com/brave/brave-browser/releases";
|
||||||
|
|
||||||
|
|
@ -2918,6 +2918,8 @@ mod tests {
|
||||||
let mask = brave_scope_mask();
|
let mask = brave_scope_mask();
|
||||||
assert!(mask.contains("www-client/brave-browser-beta"));
|
assert!(mask.contains("www-client/brave-browser-beta"));
|
||||||
assert!(mask.contains("www-client/brave-browser-nightly"));
|
assert!(mask.contains("www-client/brave-browser-nightly"));
|
||||||
|
// The recorded default pin is a reviewed, non-placeholder commit.
|
||||||
|
assert!(validate_brave_pin(BRAVE_OVERLAY_DEFAULT_PIN).is_ok());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue