Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Nov 18, 2024
1 parent 62f6087 commit 5cb7d59
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ All notable changes to this project will be documented in this file.

- [**breaking**] copy: Use config profile as target
([#1131](https://github.com/rustic-rs/rustic/pull/1131))
- backup: Add option `stdin-command`
- backup: Add option `stdin-command`
([rustic_core](https://github.com/rustic-rs/rustic_core/releases/tag/rustic_core-v0.3.0))
- Add list indexpacks and list indexcontent commands
([#1254](https://github.com/rustic-rs/rustic/pull/1254))
Expand Down Expand Up @@ -245,7 +245,7 @@ All notable changes to this project will be documented in this file.
- Show diff statistics
([#1178](https://github.com/rustic-rs/rustic/issues/1178))

### Documentaton
### Documentation

- Update configuration README
([#1088](https://github.com/rustic-rs/rustic/issues/1088))
Expand Down Expand Up @@ -408,7 +408,7 @@ All notable changes to this project will be documented in this file.
- New global configuration paths are available, located at `/etc/rustic/*.toml`
or `%PROGRAMDATA%/rustic/config/*.toml`, depending on your platform.
- REST backend: Now allows to use custom TLS root certificates.
- Environment variables for programms called by rustic can now be set in the
- Environment variables for programs called by rustic can now be set in the
config files.
- Creation of new keys now enforces confirmation of entered key. This helps to
prevent mistype of passwords during the initial entry
Expand Down Expand Up @@ -968,7 +968,7 @@ All notable changes to this project will be documented in this file.
- prune: Repacking is now parallel.
- New commands repair index/snapshots.
- Better support for using latest as snapshot.
- UI/progress bars: Added support for env variable RUSTIC_PROGRESS_INTERVALL.
- UI/progress bars: Added support for env variable RUSTIC_PROGRESS_INTERVAL.
- Simplified the code in some places.

### Other Changes
Expand Down Expand Up @@ -1273,7 +1273,7 @@ self-update. Please download the binaries manually instead.
### Prune

- Add waiting options
- Remove unneded pack files from cache and add option --cache-only
- Remove unneeded pack files from cache and add option --cache-only
- Repack packs which are too small or too large

### Restore
Expand Down Expand Up @@ -1443,7 +1443,7 @@ self-update. Please download the binaries manually instead.

### Prune

- Do not recover uneccessarily
- Do not recover unnecessarily

## [0.2.0-rc1] - 2022-06-04

Expand Down
4 changes: 2 additions & 2 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ can be overwritten in the source-specific configuration, see below.
| ignore-inode | If true, ignore file inode for the backup. | false | | --ignore-inode |
| init | If true, initialize repository if it doesn't exist, yet. | false | | --init |
| json | If true, returns output of the command as json. | false | | --json |
| label | Set label fot the snapshot. | Not set | | --label |
| label | Set label for the snapshot. | Not set | | --label |
| no-require-git | (with git-ignore:) Apply .git-ignore files even if they are not in a git repository. | false | | --no-require-git |
| no-scan | Don't scan the backup source for its size (disables ETA). | false | | --no-scan |
| one-file-system | If true, only backs up files from the same filesystem as the source. | false | | --one-file-system |
Expand All @@ -219,7 +219,7 @@ can be overwritten in the source-specific configuration, see below.

These external commands are run before and after each backup, respectively.

**Note**: Global hooks and repository hooks are run additionaly.
**Note**: Global hooks and repository hooks are run additionally.

See [Global Hooks](#global-hooks-globalhooks).

Expand Down
8 changes: 4 additions & 4 deletions config/full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ check-index = false
# Global hooks: The given commands are called for every command
[global.hooks]
run-before = [
# long form giving command and args explicitely and allow to specify failure behavior
# long form giving command and args explicitly and allow to specify failure behavior
{ command = "echo", args = ["before"], on-failure = "warn" }, # allowed values for on-failure: "error" (default), "warn", "ignore"
] # Default: []
run-after = ["echo after"] # Run after if successful, short version, default: []
Expand Down Expand Up @@ -190,9 +190,9 @@ keep-yearly = 10
keep-within = "0s"
keep-within-daily = "0 seconds"
keep-within-weekly = "2 months"
keep-withing-monthly = "1 year"
keep-withing-quarter-yearly = "0 year"
keep-withing-half-yearly = "1 year"
keep-within-monthly = "1 year"
keep-within-quarter-yearly = "0 year"
keep-within-half-yearly = "1 year"
keep-within-yearly = "10 years"

[copy]
Expand Down
4 changes: 2 additions & 2 deletions config/services/s3_aws.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ password = "password"

# Other options can be given here - note that opendal also support reading config from env files or AWS config dirs, see the opendal S3 docu
[repository.options]
access_key_id = "xxx" # this can be ommited, when AWS config is used
secret_access_key = "xxx" # this can be ommited, when AWS config is used
access_key_id = "xxx" # this can be omitted, when AWS config is used
secret_access_key = "xxx" # this can be omitted, when AWS config is used
bucket = "bucket_name"
root = "/path/to/repo"
2 changes: 1 addition & 1 deletion src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl Application for RusticApp {
&mut self,
command: &Self::Cmd,
) -> Result<Vec<Box<dyn Component<Self>>>, FrameworkError> {
// we only ue the terminal component
// we only use the terminal component
let terminal = Terminal::new(self.term_colors(command));

Ok(vec![Box::new(terminal)])
Expand Down
2 changes: 1 addition & 1 deletion src/commands/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Runnable for LsCmd {
}
}

/// Sumary of a ls command
/// Summary of a ls command
///
/// This struct is used to print a summary of the ls command.
#[derive(Default)]
Expand Down
4 changes: 2 additions & 2 deletions src/commands/tui/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ impl<'a, P: ProgressBars, S: IndexedFull> Snapshot<'a, P, S> {
.any(|p| Path::new(p).is_absolute());
let path = self.path.join(node.name());
let path = path.display();
let default_targt = if is_absolute {
let default_target = if is_absolute {
format!("/{path}")
} else {
format!("{path}")
Expand All @@ -254,7 +254,7 @@ impl<'a, P: ProgressBars, S: IndexedFull> Snapshot<'a, P, S> {
self.repo,
node.clone(),
format!("{}:/{path}", self.snapshot.id),
&default_targt,
&default_target,
);
self.current_screen = CurrentScreen::Restore(restore);
}
Expand Down

0 comments on commit 5cb7d59

Please sign in to comment.