diff --git a/RELEASE-CHECKLIST.md b/RELEASE-CHECKLIST.md index cf9a250..a70a4ce 100644 --- a/RELEASE-CHECKLIST.md +++ b/RELEASE-CHECKLIST.md @@ -7,7 +7,6 @@ Release Checklist Unless there is a strong motivation otherwise, review and update every dependency. * Update the date and version in all man pages: "chore(release): bump man pages". * Run `cargo release -p pacdef `. - `pacdef_core` and `pacdef` shall have the same version at all times. Verify everything works as expected. * Rerun `cargo publish` with `--execute.` * Generate GitHub release with `git cliff` diff --git a/crates/pacdef/src/backend/actual/rust.rs b/crates/pacdef/src/backend/actual/rust.rs index 3ba6a8c..76ddd05 100644 --- a/crates/pacdef/src/backend/actual/rust.rs +++ b/crates/pacdef/src/backend/actual/rust.rs @@ -45,7 +45,7 @@ impl Backend for Rust { let json: Value = serde_json::from_str(&content).context("parsing JSON from crates file")?; - extract_packages(&json).context("extracing packages from crates file") + extract_packages(&json).context("extracting packages from crates file") } fn get_explicitly_installed_packages(&self) -> Result> { diff --git a/crates/pacdef/src/backend/backend_trait.rs b/crates/pacdef/src/backend/backend_trait.rs index f7a9d25..5963725 100644 --- a/crates/pacdef/src/backend/backend_trait.rs +++ b/crates/pacdef/src/backend/backend_trait.rs @@ -114,7 +114,7 @@ pub trait Backend: Debug { /// /// # Panics /// - /// This method shall panic when the backend does not support depedent packages. + /// This method shall panic when the backend does not support dependent packages. fn make_dependency(&self, packages: &[Package]) -> Result<()> { let mut cmd = Command::new(self.get_binary()); cmd.args(self.get_switches_make_dependency()); diff --git a/crates/pacdef/src/config.rs b/crates/pacdef/src/config.rs index c7b145f..c917df3 100644 --- a/crates/pacdef/src/config.rs +++ b/crates/pacdef/src/config.rs @@ -57,7 +57,7 @@ impl Config { if e.kind() == ErrorKind::NotFound { bail!(crate::Error::ConfigFileNotFound) } - bail!("unexpected error occured: {e:?}"); + bail!("unexpected error occurred: {e:?}"); } }; diff --git a/crates/pacdef/src/grouping/package.rs b/crates/pacdef/src/grouping/package.rs index ed12a76..efbb437 100644 --- a/crates/pacdef/src/grouping/package.rs +++ b/crates/pacdef/src/grouping/package.rs @@ -1,7 +1,7 @@ use std::fmt::{Display, Write}; use std::hash::Hash; -/// A struct to represent a single package, consiting of a `name`, and +/// A struct to represent a single package, consisting of a `name`, and /// optionally a `repo`. #[derive(Debug, Eq, PartialOrd, Ord, Clone)] pub struct Package { diff --git a/crates/pacdef_macros/src/lib.rs b/crates/pacdef_macros/src/lib.rs index 134f540..aeff0e9 100644 --- a/crates/pacdef_macros/src/lib.rs +++ b/crates/pacdef_macros/src/lib.rs @@ -27,7 +27,7 @@ mod register; use proc_macro::TokenStream; /// Derive (1) an iterator over the variants, (2) imports for the individual backends, and (3) -/// instatiation code for each backend. +/// instantiationn code for each backend. #[proc_macro_derive(Register)] pub fn register(input: TokenStream) -> TokenStream { register::register(input) diff --git a/man/pacdef.8 b/man/pacdef.8 index 56e9109..38c9df4 100644 --- a/man/pacdef.8 +++ b/man/pacdef.8 @@ -92,7 +92,7 @@ $EDITOR or $VISUAL. [...] .RS 4 remove group file. -\fBWARNING\fR: If the group file is not a symlink, you wil loose the file! +\fBWARNING\fR: If the group file is not a symlink, you will loose the file! . .RE .sp diff --git a/man/pacdef.yaml.5 b/man/pacdef.yaml.5 index d3736a7..cfe93e3 100644 --- a/man/pacdef.yaml.5 +++ b/man/pacdef.yaml.5 @@ -46,7 +46,7 @@ Warn if any group file is not a symlink and is not a child of a symlinked dir in .TP .B flatpak_systemwide: true -Whether flatpak packages shold be installed system-wide or per user. +Whether flatpak packages should be installed system-wide or per user. .SH SEE ALSO .BR pacdef(8)