Commit Graph

519 Commits

Author SHA1 Message Date
Alexander Weiss
adea0c00fb move dump functionality to rustic_core 2023-06-27 11:48:39 +02:00
Alexander Weiss
0f553b5c31 move forget to rustic_core 2023-06-26 19:32:53 +02:00
Alexander Weiss
bec4d7cbb9 fix rustfmt 2023-06-26 09:19:04 +02:00
Aderemi Adesada
088eabd489 enforce confirmation of key when prompting for new key 2023-06-25 20:43:12 +01:00
Alexander Weiss
b20f2ee8a7 move warm_up into rustic_core 2023-06-25 08:26:24 +02:00
Alexander Weiss
a71d0b2e49 move getting snapshots to rustic_core 2023-06-24 07:34:51 +02:00
Alexander Weiss
a4d64116c1 move prune into rustic_core 2023-06-23 17:03:07 +02:00
Alexander Weiss
8795c44757 repoinfo: Add options --json, --only-files, --only-index 2023-06-23 13:10:20 +02:00
Alexander Weiss
7269708eff move repoinfo to library 2023-06-23 13:09:01 +02:00
Alexander Weiss
2342c5bb48 put ProgressBars into Repository struct 2023-06-20 22:07:28 +02:00
Alexander Weiss
8ed190af6b restore: create files just before processing 2023-06-19 21:51:30 +02:00
Alexander Weiss
13e3f1bb91 restore: Download multiple contiguous blobs in one request 2023-06-18 22:18:08 +02:00
aawsome
0c50519ddf
Merge pull request #678 from rustic-rs/repo-methods
make commands methods of repository structs
2023-06-13 12:37:23 +02:00
Alexander Weiss
d50b95d88c make commands methods of repository structs 2023-06-13 08:26:34 +02:00
aawsome
3c5543007c
Merge pull request #672 from pheki/global-configuration-files
Use global config files when user-specific file doesn't exist
2023-06-13 07:15:59 +02:00
Aphek
4aa0686869 Use global config files when user-specific file doesn't exist 2023-06-13 06:29:10 +02:00
Alexander Weiss
cc636157f7 move cat functions to rustic_core 2023-06-12 23:48:29 +02:00
Alexander Weiss
36309e1e55 move check into rustic_core 2023-06-12 17:32:42 +02:00
Alexander Weiss
d8f7678097 remove comfy_table from rustic_core 2023-06-12 15:46:37 +02:00
Alexander Weiss
2b2340deec adapt rustic to Progress trait in rustic_core 2023-06-12 12:32:22 +02:00
simonsan
b698cc57fc Refactor to library and cli application part
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2023-06-06 08:51:43 +02:00
Alexander Weiss
ab58af2544 prune: fix --max-repack 2023-06-05 08:49:46 +02:00
Alexander Weiss
f2d309b26f xattrs: Allow null value in JSON 2023-06-05 08:35:09 +02:00
aawsome
89761c03b0
Merge pull request #643 from rustic-rs/copy-init
copy: Add --init option
2023-05-25 21:40:24 +02:00
Alexander Weiss
cfe1d0988a backup: Don't crash on non-unicode link targets 2023-05-25 06:50:14 +02:00
Alexander Weiss
0c4e411f1c copy: Add --init option 2023-05-09 22:14:57 +02:00
Falco Hirschenberger
9362766b6a Fix typo 2023-04-28 14:17:48 +02:00
Alexander Weiss
ad68bf1da6 Make snapshot filters real global options 2023-04-25 21:06:33 +02:00
Alexander Weiss
5bd6415326 Add new command show-config 2023-04-25 19:56:35 +02:00
Alexander Weiss
1554a281c4 config files: Allow to read multiple config files 2023-04-25 19:55:55 +02:00
aawsome
4e33e6f055
Merge pull request #612 from rustic-rs/fix-config-sources
backup: Fix omitting sources config from the config file
2023-04-25 14:35:37 +02:00
Alexander Weiss
90bd0c9798 backup: Fix omitting sources config from the config file 2023-04-25 14:16:40 +02:00
Björn Ketelaars
8fa7200540 Silence build warning on OpenBSD
While building rustic-0.5.2 on OpenBSD current:

```
warning: unused import: `anyhow::Context`
  --> src/backend/local.rs:10:5
   |
10 | use anyhow::Context;
   |     ^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> src/main.rs:23:5
   |
23 |     unused,
   |     ^^^^^^
   = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]`
```

Proposed diff should actually be part of 3d72aee.
2023-04-25 07:08:33 +02:00
Alexander Weiss
b483587726 Rework config file processing / allow to reference other config files. 2023-04-24 13:18:43 +02:00
Torben Giesselmann
2aca80ddf7 forget: Interpret '--keep-* -1' as 'keep all' 2023-04-24 07:29:57 +02:00
aawsome
033f7a0b28
Merge pull request #602 from rustic-rs/diff-options
diff: remove unwanted options
2023-04-23 11:44:05 +02:00
aawsome
6050005845
Merge pull request #601 from rustic-rs/remove-getters+setters
Remove getters and setters from code
2023-04-22 22:32:58 +02:00
Alexander Weiss
a096eaad42 diff: remove unwanted options 2023-04-22 22:25:15 +02:00
aawsome
a0aecba5f5
Merge pull request #600 from rustic-rs/fix-stats
backup: fix dir stats
2023-04-22 22:05:06 +02:00
Alexander Weiss
762dd05190 Remove getters and setters from code 2023-04-22 21:56:33 +02:00
Alexander Weiss
797126277c backup: fix dir stats 2023-04-22 21:02:42 +02:00
Alexander Weiss
e8792ac5f1 backup: parallelize processing (especially for small files) 2023-04-22 20:56:57 +02:00
Alexander Weiss
4748d531c5 prune: Add option --repack-all 2023-04-22 20:34:04 +02:00
Alexander Weiss
6f1da74158 Optimize chunker 2023-04-18 22:44:32 +02:00
dependabot[bot]
1387fd7384 build(deps): bump aho-corasick from 0.7.20 to 1.0.0
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 0.7.20 to 1.0.0.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases)
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.20...1.0.0)

---
updated-dependencies:
- dependency-name: aho-corasick
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 00:02:46 +00:00
Alexander Weiss
c4b8ebf15c Make --dry-run a global option 2023-04-16 09:53:19 +02:00
Alexander Weiss
10db248507 Update to clap v4 2023-04-15 21:42:45 +02:00
Alexander Weiss
5b2ae1798e backup: only show changed dirs if there are changes 2023-04-13 10:57:26 +02:00
Alexander Weiss
bad5fb2360 restore: Don't follow symlinks when setting time/modes 2023-04-12 22:55:14 +02:00
aawsome
5322d4e4b9
Merge pull request #576 from rustic-rs/stdin-filename
backup: Fix --stdin-filename
2023-04-12 22:19:00 +02:00