Commit Graph

1619 Commits

Author SHA1 Message Date
simonsan
facfb2d20e
fix(deps): update rustic_core to version 0.5.3 (#1314)
This contains an immediate fix for a newly introduced bug in
`rustic_core v0.5.2` that involved how the `TreeStreamerOnce` handled
errors when a channel was full.

Fixes v0.9.2 breaks prune operations #1313

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-10 04:11:20 +02:00
simonsan
967deaeee6
docs: add status badge for docker image build and shorten workflow name (#1311)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-09 20:06:17 +02:00
rustic-release-plz[bot]
fe07c41f1e
chore: release v0.9.2 (#1294)
## 🤖 New release
* `rustic-rs`: 0.9.1 -> 0.9.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.9.2](https://github.com/rustic-rs/rustic/compare/v0.9.1...v0.9.2)
- 2024-10-09

### Added

- *(config)* Add hooks
([#1218](https://github.com/rustic-rs/rustic/pull/1218))

### Other

- *(deps)* update rustic_core
([#1309](https://github.com/rustic-rs/rustic/pull/1309))
- build and publish docker image on release
([#1297](https://github.com/rustic-rs/rustic/pull/1297))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
2024-10-09 17:01:52 +00:00
simonsan
64e1ebb5ba
chore(deps): update rustic_core (#1309)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-09 18:43:47 +02:00
simonsan
41985e34e0
chore: add Zlib to allowed licenses in deny.toml (#1308)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-09 18:14:00 +02:00
simonsan
be332d5a0b
chore: update dprint config (#1306)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-08 16:16:24 +02:00
renovate[bot]
e29625b9e3
chore(deps): update actions (#1299)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[MarcoIeni/release-plz-action](https://redirect.github.com/MarcoIeni/release-plz-action)
| action | digest | `9135692` -> `693f6d4` |
|
[docker/build-push-action](https://redirect.github.com/docker/build-push-action)
| action | pinDigest | -> `4f58ea7` |
| [docker/login-action](https://redirect.github.com/docker/login-action)
| action | pinDigest | -> `9780b0c` |
|
[docker/setup-buildx-action](https://redirect.github.com/docker/setup-buildx-action)
| action | pinDigest | -> `c47758b` |

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1jaSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 01:16:44 +00:00
mueckinger
a580952b55
build: build and publish docker image on release (#1297)
Hi! Finally I figured out how to automatically build docker images on
every new rustic release.
Closes  #1083
Completes tasks discussed in #969, #1008 and #1010.

Notes to the maintainers:
- This requires setting Workflow permissions to write access for the
GITHUB_TOKEN as described here:
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-default-github_token-permissions
- It makes sense to update the README (added docker install info) in the
next rustic release (when the first image is built)
2024-10-05 14:27:24 +00:00
aawsome
cb3903b9dc
feat(config): Add hooks (#1218)
This PR adds `run-before`, `run-after`, `run-failure` and `run-finally`
hooks for:
- all commands in the `[global.hooks]` config profile section
- commands accessing the repository in the `[repository.hooks]` config
profile section
- the `backup` command specifically in the `[backup.hooks]` config
profile section
- specific backup sources in the `[backup.snapshots.hooks]` section

Note: This PR includes only calling the given commands. If there is the
wish for supplying information to the commands (env variables or
parameter substitution), this should be covered by a separate feature
request/PR.

closes #902

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-05 01:58:55 +00:00
simonsan
7aff9dc191
ci: add missing feature self-update to tests and checks (#1293)
Currently, we are not testing with all features, as `self-update` is
missing. This PR adds it back.

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-05 02:02:26 +02:00
rustic-release-plz[bot]
62d78ebc8e
chore: release v0.9.1 (#1283)
## 🤖 New release
* `rustic-rs`: 0.9.0 -> 0.9.1 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.9.1](https://github.com/rustic-rs/rustic/compare/v0.9.0...v0.9.1)
- 2024-10-03

### Added

- *(config)* add more filters
([#1263](https://github.com/rustic-rs/rustic/pull/1263))
- *(check)* Allow to only check trees+packs for given snapshots
([#1230](https://github.com/rustic-rs/rustic/pull/1230))
- *(commands)* add a `docs` command to easily access the user, dev and
config documentation
([#1276](https://github.com/rustic-rs/rustic/pull/1276))

### Fixed

- *(docs/cli)* improve the descriptions of the CLI commands
([#1277](https://github.com/rustic-rs/rustic/pull/1277))
- *(deps)* update rustic_core and other dependencies and fix merge
precedence ([#1282](https://github.com/rustic-rs/rustic/pull/1282))
- *(docs)* update configuration documentation to align with recent
changes ([#1280](https://github.com/rustic-rs/rustic/pull/1280))

### Other

- *(deps)* upgrade dependencies
([#1289](https://github.com/rustic-rs/rustic/pull/1289))
- add triage label to new issues only if no label has been set when
creating it ([#1287](https://github.com/rustic-rs/rustic/pull/1287))
- *(interactive)* use update methods for refreshing snapshots
([#1285](https://github.com/rustic-rs/rustic/pull/1285))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
2024-10-03 17:42:19 +00:00
simonsan
b384852679
chore(deps): upgrade dependencies (#1289)
- rustic_core to 0.5.1
- rustic_backend to 0.4.1
- open to 5.3.0

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-03 19:23:40 +02:00
simonsan
974727b7ed
ci: add triage label to new issues only if no label has been set when creating it (#1287)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-03 14:19:54 +02:00
aawsome
cc4f016dab
feat(config): add more filters (#1263)
Adds the following filter options:
- `filter-paths-exactly` - filters exactly the given pathlists
(supersets don't match)
- `filter-tags-exactly` - filters exactly the given taglists (supersets
don't match)
- `filter-before` - filters by time (date or date+time can be given)
- `filter-after` - filters by time (date or date+time can be given)
- `filter-size` - filters by size of snapshot'ed data (upper and lower
limit may be given)
- `filter-size-add` - filters by size added to the repository (upper and
lower limit may be given)

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-02 22:57:21 +00:00
aawsome
68cbca3ee4
perf(interactive): use update methods for refreshing snapshots (#1285)
This increases speed of refreshing a lot.
2024-10-02 21:30:54 +00:00
aawsome
2b8ee0f2e6
feat(check): Allow to only check trees+packs for given snapshots (#1230)
see #251

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-02 18:31:18 +00:00
simonsan
238ae99450
fix(docs/cli): improve the descriptions of the CLI commands (#1277)
Fixed the capitalization of `dump` for the dump command, and then
figured, that there might be some better descriptions for other commands
as well.

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-02 13:45:43 +00:00
simonsan
ec6165a25e
fix(deps): update rustic_core and other dependencies and fix merge precedence (#1282)
Due to changes in the way how merging of values were applied to
configuration values in `BackendOptions` this should is considered a
fix. Now values from the configuration file don't overwrite values from
environment variables, any more. As it was intended and stated in the
documentation.

Please make sure, your workflow is still working as intended, especially
that the configuration values and environment variables are applied as
you wanted it and as we documented it in the Configuration
documentation.

Precedence also applies when inheriting options from other profiles
using `use-profiles` or when using multiple profiles, e.g. `rustic -P
one -P two`. If the same repository option is defined in `one` and `two`
the value of `one` is taken. Before the fix, the value of `two` was
taken. But the fix only applies to the repository options. For other
options, `one` always had precedence.

Fixes #1226

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2024-10-02 13:43:11 +00:00
simonsan
fbf4c2edfa
feat(commands): add a docs command to easily access the user, dev and config documentation (#1276)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-10-02 07:15:34 +00:00
simonsan
1f1d9347f4
fix(docs): update configuration documentation to align with recent changes (#1280)
Fixes #1279

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2024-10-02 01:17:29 +02:00
simonsan
fffae0ad96
Update renovate.json 2024-10-01 13:31:50 +02:00
renovate[bot]
3182fe272e
chore(deps): update marcoieni/release-plz-action digest to 9135692 (#1272)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[MarcoIeni/release-plz-action](https://redirect.github.com/MarcoIeni/release-plz-action)
| action | digest | `8b0f89a` -> `9135692` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 22:02:23 +00:00
rustic-release-plz[bot]
ee3f099d4b
chore: release v0.9.0 (#1256)
## 🤖 New release
* `rustic-rs`: 0.8.1 -> 0.9.0 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.9.0](https://github.com/rustic-rs/rustic/compare/v0.8.1...v0.9.0)
- 2024-09-29

### Added

- *(commands)* Add list indexpacks and list indexcontent commands
([#1254](https://github.com/rustic-rs/rustic/pull/1254))
- *(commands)* Add option `--only-identical` for `diff` to allow for
bitrot check ([#1250](https://github.com/rustic-rs/rustic/pull/1250))
- *(commands)* ls: Add option --json
([#1251](https://github.com/rustic-rs/rustic/pull/1251))
- *(commands)* [**breaking**] copy: Use config profile as target
([#1131](https://github.com/rustic-rs/rustic/pull/1131))
- *(commands)* backup: Add option --long
([#1159](https://github.com/rustic-rs/rustic/pull/1159))

### Fixed

- *(deps)* update rust crate libc to v0.2.159
([#1257](https://github.com/rustic-rs/rustic/pull/1257))
- *(config)* [**breaking**] use multiple options only as array in config
profile ([#1240](https://github.com/rustic-rs/rustic/pull/1240))
- *(interactive)* Allow snapshots to be modified and marked to forget
([#1253](https://github.com/rustic-rs/rustic/pull/1253))
- make ls and find show the year of mtime date
([#1249](https://github.com/rustic-rs/rustic/pull/1249))
- ls: Remove printing trailing space
([#1247](https://github.com/rustic-rs/rustic/pull/1247))
- webdav/forget: correctly use application config
([#1241](https://github.com/rustic-rs/rustic/pull/1241))

### Other

- update installation instructions in readme to use `--locked` flag for
install from crates.io
- *(deps)* lock file maintenance
([#1269](https://github.com/rustic-rs/rustic/pull/1269))
- delete unused xtask pattern directory
- *(deps)* update rust crate rstest to 0.23
([#1267](https://github.com/rustic-rs/rustic/pull/1267))
- *(deps)* update rust crate tempfile to v3.13.0
([#1266](https://github.com/rustic-rs/rustic/pull/1266))
- *(deps)* update marcoieni/release-plz-action digest to 8b0f89a
([#1265](https://github.com/rustic-rs/rustic/pull/1265))
- *(deps)* update embarkstudios/cargo-deny-action action to v2
([#1259](https://github.com/rustic-rs/rustic/pull/1259))
- *(deps)* update rustsec/audit-check action to v2
([#1260](https://github.com/rustic-rs/rustic/pull/1260))
- *(deps)* update softprops/action-gh-release action to v2
([#1258](https://github.com/rustic-rs/rustic/pull/1258))
- *(deps)* update embarkstudios/cargo-deny-action digest to 3f4a782
([#1228](https://github.com/rustic-rs/rustic/pull/1228))
- don't let release-plz create GH releases
- exclude the CHANGELOG from dprint formatting
- remove `-dev` description from version for release-plz to work
- remove release-pr workflow and replace with release-plz
- *(cd)* try fixing nightly release pipeline
- *(deps)* Update to new releases
([#1255](https://github.com/rustic-rs/rustic/pull/1255))
- Reduce memory usage of restore
([#1069](https://github.com/rustic-rs/rustic/pull/1069))
- Update to newest rustic_core
([#1248](https://github.com/rustic-rs/rustic/pull/1248))
- update RepositoryErrorKind rustdoc following rustic_core change
([#1237](https://github.com/rustic-rs/rustic/pull/1237))
- set development version
- add flag for building with self-update feature for nightly and CD
- Remove self-update from default crate features
([#1139](https://github.com/rustic-rs/rustic/pull/1139))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2024-09-29 22:30:46 +02:00
simonsan
38076cb240
docs: update installation instructions in readme to use --locked flag for install from crates.io
Fixes #1268
2024-09-29 17:12:49 +02:00
renovate[bot]
227a8e1062
chore(deps): lock file maintenance (#1269)
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the
month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 14:33:17 +00:00
simonsan
fda38409fe
chore: delete unused xtask pattern directory 2024-09-29 16:14:13 +02:00
renovate[bot]
b4535354b4
chore(deps): update rust crate rstest to 0.23 (#1267)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rstest](https://redirect.github.com/la10736/rstest) |
dev-dependencies | minor | `0.22` -> `0.23` |

---

### Release Notes

<details>
<summary>la10736/rstest (rstest)</summary>

###
[`v0.23.0`](https://redirect.github.com/la10736/rstest/blob/HEAD/CHANGELOG.md#0230-2024929)

[Compare
Source](https://redirect.github.com/la10736/rstest/compare/v0.22.0...v0.23.0)

##### Add

- You can now use environment variables in `#[files]` with an optional
default value (see
[#&#8203;277](https://redirect.github.com/la10736/rstest/pull/277)).
- You can now set a base_dir for `#[files]` with the `$[base_dir =
"..."]` attribute (see
[#&#8203;277](https://redirect.github.com/la10736/rstest/pull/277)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 13:40:35 +00:00
renovate[bot]
968e3934d2
chore(deps): update rust crate tempfile to v3.13.0 (#1266)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tempfile](https://stebalien.com/projects/tempfile-rs/)
([source](https://redirect.github.com/Stebalien/tempfile)) |
dev-dependencies | minor | `3.12.0` -> `3.13.0` |

---

### Release Notes

<details>
<summary>Stebalien/tempfile (tempfile)</summary>

###
[`v3.13.0`](https://redirect.github.com/Stebalien/tempfile/blob/HEAD/CHANGELOG.md#3130)

[Compare
Source](https://redirect.github.com/Stebalien/tempfile/compare/v3.12.0...v3.13.0)

- Add `with_suffix` constructors for easily creating new temporary files
with a specific suffix (e.g., a specific file extension). Thanks to
[@&#8203;Borgerr](https://redirect.github.com/Borgerr).
-   Update dependencies (fastrand & rustix).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 13:05:11 +00:00
renovate[bot]
4e57daccfe
chore(deps): update marcoieni/release-plz-action digest to 8b0f89a (#1265)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[MarcoIeni/release-plz-action](https://redirect.github.com/MarcoIeni/release-plz-action)
| action | digest | `f7caa3f` -> `8b0f89a` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 11:49:10 +00:00
renovate[bot]
85c350972c
chore(deps): update embarkstudios/cargo-deny-action action to v2 (#1259)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[EmbarkStudios/cargo-deny-action](https://redirect.github.com/EmbarkStudios/cargo-deny-action)
| action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>EmbarkStudios/cargo-deny-action
(EmbarkStudios/cargo-deny-action)</summary>

###
[`v2`](https://redirect.github.com/EmbarkStudios/cargo-deny-action/compare/v1...v2)

[Compare
Source](https://redirect.github.com/EmbarkStudios/cargo-deny-action/compare/v1...v2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45NC4zIiwidXBkYXRlZEluVmVyIjoiMzguOTQuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-25 14:26:51 +00:00
renovate[bot]
a673a21b60
chore(deps): update rustsec/audit-check action to v2 (#1260)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rustsec/audit-check](https://redirect.github.com/rustsec/audit-check)
| action | major | `v1.4.1` -> `v2.0.0` |

---

### Release Notes

<details>
<summary>rustsec/audit-check (rustsec/audit-check)</summary>

###
[`v2.0.0`](https://redirect.github.com/rustsec/audit-check/releases/tag/v2.0.0)

[Compare
Source](https://redirect.github.com/rustsec/audit-check/compare/v1.4.1...v2.0.0)

#### What's Changed

- Run on Node 20.x by
[@&#8203;clechasseur](https://redirect.github.com/clechasseur) in
[https://github.com/rustsec/audit-check/pull/16](https://redirect.github.com/rustsec/audit-check/pull/16)
- Remove `generate-lockfile` To Prevent Overwriting Checked-In Lock
Files by
[@&#8203;tillmann-crabnebula](https://redirect.github.com/tillmann-crabnebula)
in
[https://github.com/rustsec/audit-check/pull/20](https://redirect.github.com/rustsec/audit-check/pull/20)
- Added support for `working-directory` by
[@&#8203;ranger-ross](https://redirect.github.com/ranger-ross) in
[https://github.com/rustsec/audit-check/pull/21](https://redirect.github.com/rustsec/audit-check/pull/21)
- fix: security fix for vulnerability in `braces` library by
[@&#8203;clechasseur](https://redirect.github.com/clechasseur) in
[https://github.com/rustsec/audit-check/pull/23](https://redirect.github.com/rustsec/audit-check/pull/23)
- npm audit fix by
[@&#8203;tarcieri](https://redirect.github.com/tarcieri) in
[https://github.com/rustsec/audit-check/pull/24](https://redirect.github.com/rustsec/audit-check/pull/24)
- v2.0.0 release prep by
[@&#8203;tarcieri](https://redirect.github.com/tarcieri) in
[https://github.com/rustsec/audit-check/pull/25](https://redirect.github.com/rustsec/audit-check/pull/25)

#### New Contributors

- [@&#8203;clechasseur](https://redirect.github.com/clechasseur) made
their first contribution in
[https://github.com/rustsec/audit-check/pull/16](https://redirect.github.com/rustsec/audit-check/pull/16)
-
[@&#8203;tillmann-crabnebula](https://redirect.github.com/tillmann-crabnebula)
made their first contribution in
[https://github.com/rustsec/audit-check/pull/20](https://redirect.github.com/rustsec/audit-check/pull/20)
- [@&#8203;ranger-ross](https://redirect.github.com/ranger-ross) made
their first contribution in
[https://github.com/rustsec/audit-check/pull/21](https://redirect.github.com/rustsec/audit-check/pull/21)
- [@&#8203;tarcieri](https://redirect.github.com/tarcieri) made their
first contribution in
[https://github.com/rustsec/audit-check/pull/24](https://redirect.github.com/rustsec/audit-check/pull/24)

**Full Changelog**:
https://github.com/rustsec/audit-check/compare/v1.4.1...v2.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45NC4zIiwidXBkYXRlZEluVmVyIjoiMzguOTQuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 13:45:16 +00:00
renovate[bot]
6c95d9abae
chore(deps): update softprops/action-gh-release action to v2 (#1258)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[softprops/action-gh-release](https://redirect.github.com/softprops/action-gh-release)
| action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>softprops/action-gh-release
(softprops/action-gh-release)</summary>

###
[`v2`](https://redirect.github.com/softprops/action-gh-release/compare/v1...v2)

[Compare
Source](https://redirect.github.com/softprops/action-gh-release/compare/v1...v2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 12:48:54 +00:00
renovate[bot]
692349fc1b
fix(deps): update rust crate libc to v0.2.159 (#1257)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [libc](https://redirect.github.com/rust-lang/libc) | dependencies |
patch | `0.2.158` -> `0.2.159` |

---

### Release Notes

<details>
<summary>rust-lang/libc (libc)</summary>

###
[`v0.2.159`](https://redirect.github.com/rust-lang/libc/releases/tag/0.2.159)

[Compare
Source](https://redirect.github.com/rust-lang/libc/compare/0.2.158...0.2.159)

##### Added

- Android: add more `AT_*` constants in
[#&#8203;3779](https://redirect.github.com/rust-lang/libc/pull/3779)
- Apple: add missing `NOTE_*` constants in
[#&#8203;3883](https://redirect.github.com/rust-lang/libc/pull/3883)
- Hermit: add missing error numbers in
[#&#8203;3858](https://redirect.github.com/rust-lang/libc/pull/3858)
- Hurd: add `__timeval` for 64-bit support in
[#&#8203;3786](https://redirect.github.com/rust-lang/libc/pull/3786)
- Linux: add `epoll_pwait2` in
[#&#8203;3868](https://redirect.github.com/rust-lang/libc/pull/3868)
- Linux: add `mq_notify` in
[#&#8203;3849](https://redirect.github.com/rust-lang/libc/pull/3849)
- Linux: add missing `NFT_CT_*` constants in
[#&#8203;3844](https://redirect.github.com/rust-lang/libc/pull/3844)
- Linux: add the `fchmodat2` syscall in
[#&#8203;3588](https://redirect.github.com/rust-lang/libc/pull/3588)
- Linux: add the `mseal` syscall in
[#&#8203;3798](https://redirect.github.com/rust-lang/libc/pull/3798)
- OpenBSD: add `sendmmsg` and `recvmmsg` in
[#&#8203;3831](https://redirect.github.com/rust-lang/libc/pull/3831)
- Unix: add `IN6ADDR_ANY_INIT` and `IN6ADDR_LOOPBACK_INIT` in
[#&#8203;3693](https://redirect.github.com/rust-lang/libc/pull/3693)
- VxWorks: add `S_ISVTX` in
[#&#8203;3768](https://redirect.github.com/rust-lang/libc/pull/3768)
- VxWorks: add `vxCpuLib` and `taskLib` functions
[#&#8203;3861](https://redirect.github.com/rust-lang/libc/pull/3861)
- WASIp2: add definitions for `std::net` support in
[#&#8203;3892](https://redirect.github.com/rust-lang/libc/pull/3892)

##### Fixed

- Correctly handle version checks when `clippy-driver` is used
[#&#8203;3893](https://redirect.github.com/rust-lang/libc/pull/3893)

##### Changed

- EspIdf: change signal constants to c_int in
[#&#8203;3895](https://redirect.github.com/rust-lang/libc/pull/3895)
- HorizonOS: update network definitions in
[#&#8203;3863](https://redirect.github.com/rust-lang/libc/pull/3863)
- Linux: combine `ioctl` APIs in
[#&#8203;3722](https://redirect.github.com/rust-lang/libc/pull/3722)
- WASI: enable CI testing in
[#&#8203;3869](https://redirect.github.com/rust-lang/libc/pull/3869)
- WASIp2: enable CI testing in
[#&#8203;3870](https://redirect.github.com/rust-lang/libc/pull/3870)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 12:48:53 +00:00
renovate[bot]
56e0bf0d53
chore(deps): update embarkstudios/cargo-deny-action digest to 3f4a782 (#1228)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[EmbarkStudios/cargo-deny-action](https://redirect.github.com/EmbarkStudios/cargo-deny-action)
| action | digest | `2fad080` -> `3f4a782` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustic-rs/rustic).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQS1kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 12:31:04 +00:00
simonsan
f3a44e3f8f
ci: don't let release-plz create GH releases
We currently use our own workflow for that.

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-25 14:07:52 +02:00
simonsan
166392bc51
style: exclude the CHANGELOG from dprint formatting
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-24 13:05:20 +02:00
simonsan
20ca9fc902
chore: remove -dev description from version for release-plz to work
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-24 12:58:00 +02:00
simonsan
e5eaa6f34a
ci: remove release-pr workflow and replace with release-plz
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-24 12:55:28 +02:00
simonsan
3102d93795
ci(cd): try fixing nightly release pipeline
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-24 12:39:46 +02:00
aawsome
baeb27adfa
chore(deps): Update to new releases (#1255) 2024-09-24 10:32:58 +02:00
aawsome
5ec9652511
feat(commands): Add list indexpacks and list indexcontent commands (#1254)
This allows better analysis of reported bugs related to the index.
2024-09-24 00:36:45 +02:00
aawsome
f5499db21b
perf: Reduce memory usage of restore (#1069)
reduce memory usage of the `restore` command by removing the data
entries from the index before doing the actual restore.

see https://github.com/rustic-rs/rustic/issues/1067

TODO:
- [x] remove Cargo changes once
https://github.com/rustic-rs/rustic_core/pull/166 is merged
2024-09-23 19:54:28 +00:00
aawsome
4c4e820400
chore: Update to newest rustic_core (#1248)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-23 21:34:51 +02:00
aawsome
49e12a5af6
feat(commands): Add option --only-identical for diff to allow for bitrot check (#1250)
see https://github.com/rustic-rs/rustic/discussions/1246

Discussion: Is `--only-identical` a good name?

---------

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-23 15:07:20 +00:00
aawsome
86fa8551f4
fix(config)!: use multiple options only as array in config profile (#1240)
Consistently uses singular and plural names for options in config and
CLI

BREAKING CHANGE: This requires to adapt CLI calls and config keys.

Affected options:
- `glob` -> `globs` in config profile
- `iglob` -> `iglobs` in config profile
- `glob`-file -> `glob-files` in config profile
- `iglob-file` -> `iglob-files` in config profile
- `custom-ignore-file` -> `custom-ignore-files` in config profile
- `tag`-> `tags` in config profile
- `keep-tags` -> now only array
- `keep-ids` -> now only array
- `use-profile`-> `use-profiles` in config profile
- `backup.sources` -> `backup.snapshots` in config profile
- `filter-host` -> `filter-hosts` in config profile
- `filter-label` -> `filter-labels` in config profile

---------

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-23 15:04:45 +00:00
aawsome
14e4c66edb
fix(interactive): Allow snapshots to be modified and marked to forget (#1253)
closes #1252
2024-09-23 14:49:39 +00:00
Krzysztof Małysa
7421d0acf3
fix: make ls and find show the year of mtime date (#1249)
Fixes #1239

Co-authored-by: aawsome <37850842+aawsome@users.noreply.github.com>
2024-09-22 21:09:46 +00:00
Krzysztof Małysa
63d5f166cd
feat(commands): ls: Add option --json (#1251)
Co-authored-by: aawsome <37850842+aawsome@users.noreply.github.com>
2024-09-22 21:03:29 +00:00
Krzysztof Małysa
a21c991b33
fix: ls: Remove printing trailing space (#1247)
Paths are separated by a newline, printing space only hinders parsing.
Also paths are now displayed using `Path::display()`.
2024-09-21 22:35:45 +00:00
aawsome
ee6380e0b3
feat(commands)!: copy: Use config profile as target (#1131)
Breaking change: Targets for the `copy` command must now be given by
using config profile(s).

---------

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-18 19:10:36 +00:00