Minor cleanups: gitignore out/, expect() messages, comment wording
- .gitignore: ignore the /out/ ISO build dir - bos-settings: use expect() with messages over unwrap() for piped stdio; drop a stray blank line - pacman.conf: reword the SigLevel=Never TODO as a future-improvement note
This commit is contained in:
parent
6e85f812e4
commit
9a5af3ea8f
5 changed files with 9 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -27,6 +27,7 @@ secrets/
|
||||||
# archiso build artifacts (these are large and reproducible)
|
# archiso build artifacts (these are large and reproducible)
|
||||||
/iso-build/
|
/iso-build/
|
||||||
/iso-out/
|
/iso-out/
|
||||||
|
/out/
|
||||||
*.iso
|
*.iso
|
||||||
*.img
|
*.img
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ fn css_path() -> PathBuf {
|
||||||
crate::config::config_dir().join("breadbar/style.css")
|
crate::config::config_dir().join("breadbar/style.css")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub fn build() -> GBox {
|
pub fn build() -> GBox {
|
||||||
let path = css_path();
|
let path = css_path();
|
||||||
let existing_css = std::fs::read_to_string(&path).unwrap_or_default();
|
let existing_css = std::fs::read_to_string(&path).unwrap_or_default();
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,10 @@ fn stream_command(args: &[&str], log_buf: gtk4::TextBuffer) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Merge stderr into the channel too
|
// Merge stderr into the channel too.
|
||||||
let stdout = child.stdout.take().unwrap();
|
// Both are Some because we spawned with Stdio::piped() above.
|
||||||
let stderr = child.stderr.take().unwrap();
|
let stdout = child.stdout.take().expect("stdout piped");
|
||||||
|
let stderr = child.stderr.take().expect("stderr piped");
|
||||||
|
|
||||||
let tx2 = sender.clone();
|
let tx2 = sender.clone();
|
||||||
std::thread::spawn(move || {
|
std::thread::spawn(move || {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,8 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
#
|
#
|
||||||
# Forgejo signs the repo db with a key pacman can't look up, so TrustAll
|
# Forgejo signs the repo db with a key pacman can't look up, so TrustAll
|
||||||
# fails. SigLevel = Never skips verification (acceptable for this private
|
# fails. SigLevel = Never skips verification (acceptable for this private
|
||||||
# repo over TLS). TODO: import Forgejo's signing key + SigLevel = Required.
|
# repo over TLS). Future improvement: import Forgejo's signing key and
|
||||||
|
# switch to SigLevel = Required for full package verification.
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
# The section name must match Forgejo's served db filename
|
# The section name must match Forgejo's served db filename
|
||||||
# ({owner}.{group}.{domain}.db) — pacman fetches "<section>.db" from Server.
|
# ({owner}.{group}.{domain}.db) — pacman fetches "<section>.db" from Server.
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,8 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
#
|
#
|
||||||
# Forgejo signs the repo db with a key pacman can't look up, so TrustAll
|
# Forgejo signs the repo db with a key pacman can't look up, so TrustAll
|
||||||
# fails. SigLevel = Never skips verification (acceptable for this private
|
# fails. SigLevel = Never skips verification (acceptable for this private
|
||||||
# repo over TLS). TODO: import Forgejo's signing key + SigLevel = Required.
|
# repo over TLS). Future improvement: import Forgejo's signing key and
|
||||||
|
# switch to SigLevel = Required for full package verification.
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
# The section name must match Forgejo's served db filename
|
# The section name must match Forgejo's served db filename
|
||||||
# ({owner}.{group}.{domain}.db) — pacman fetches "<section>.db" from Server.
|
# ({owner}.{group}.{domain}.db) — pacman fetches "<section>.db" from Server.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue