fix typos and release checklist
This commit is contained in:
@@ -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 <version>`.
|
||||
`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`
|
||||
|
||||
@@ -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<HashSet<Package>> {
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -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:?}");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ $EDITOR or $VISUAL.
|
||||
<r|remove> <group> [...]
|
||||
.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
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user