Commit graph

120 commits

Author SHA1 Message Date
90cebed15f bump to v0.3.0 2024-12-02 13:10:28 +09:00
1d6c0eb75d update: CHANGELOG (change category of notes on adding status subcommand) 2024-12-02 13:08:23 +09:00
877410cd19 fix: some clippy warnings 2024-12-02 13:07:40 +09:00
qwjyh
9240636e69
Merge pull request #19 from qwjyh/update-dependencies
Update dependencies
2024-12-02 12:55:49 +09:00
51e90b28cd Update dependencies
cargo update

update clap

update sysinfo 0.30 to 0.31

update sysninfo 0.31 to 0.32

update clap-verbosity-flag 2.2 -> 3.0

update env_logger 0.11.3 -> 0.11.5

update dependencies(unicode-width, dunce, pathdiff, byte-unit)

update test dependencies
2024-12-02 12:50:29 +09:00
qwjyh
aed0049f98
Merge pull request #17 from qwjyh/cmd-status
[feat] `status` subcommand & change relative path type
2024-12-02 03:41:33 +09:00
4e8387e3b0 fix typo 2024-12-02 03:07:48 +09:00
07ef49ca7b add: long argument option to cmd_status 2024-12-02 03:07:25 +09:00
3d8aa7bca0 update: CHANGELOG 2024-12-02 03:05:43 +09:00
996ca7e4b3 run fmt 2024-12-02 03:00:56 +09:00
24f1356685 fix(test): for commit 7e043a652c 2024-12-02 02:59:34 +09:00
7e043a652c update: don't display devices with no backups in cmd_status 2024-12-02 02:53:30 +09:00
af1b56eee2 add: style to cmd_status 2024-12-02 02:52:53 +09:00
c4aa76d125 update(test): add prefix '_' to unused variables 2024-12-02 02:15:49 +09:00
697c9c0712 add(test): test for multiple backups and status & add comment
comment for current config
2024-12-01 23:33:24 +09:00
bce9f3710c add(test): command status test 2024-12-01 23:32:36 +09:00
315a75424a add(test): command backup after done doesn't include --- 2024-12-01 23:31:58 +09:00
d743e607ac update: remove todo!() at the end of cmd_status 2024-12-01 23:14:50 +09:00
7592ec0ad0 Merge branch 'main' into cmd-status 2024-12-01 21:17:22 +09:00
qwjyh
8fc8029435
Update CI and add lint (#18)
* fix: update actions/checkout from v3 to v4

* update(CI): add clippy
2024-12-01 21:13:42 +09:00
6a0abd03d5 fix: apply subpath logic patch to util::min_parent_storage 2024-12-01 20:55:49 +09:00
ced354bf58 fix: sub directory decision logic on windows
Diff of "C:\foo" from "D:\" is "C:\foo" and doesn't contain "..". In old
logic, "C:\foo" is treated as subpath of "D:\" but this is not
intuitive.
2024-12-01 20:41:37 +09:00
dbc0d78f99 update: CHANGELOG on path type change 2024-12-01 19:36:33 +09:00
8b0dbb2314 fix: add lifetime annotation (clippy) 2024-12-01 19:19:28 +09:00
772689ab6a change: change type of relative path shared on multiple platforms to Vector<String>
Parsers for path on Windows and Unix are different on separator character treatment.
Replacing to Vector<String> avoids this differenct for cross-platform compatibility.
2024-12-01 19:14:57 +09:00
bc3939c9bc (WIP): implementing multi device backup search 2024-11-08 06:09:04 +09:00
a409a43906 (WIP) feat: stat for backup with name
- replace path funcs return from Result to Option
- add tests for `parent_backups`
2024-08-09 21:45:44 +02:00
37782c934c (WIP) new: implement status subcommand
- Error while getting mount path of Storages
- Need to redesign the API of LocalInfo or something
2024-08-07 11:39:58 +02:00
0abf9c0693 update readme 2024-07-15 12:12:38 +09:00
6e1619aa18 fmt 2024-06-28 00:33:45 +09:00
b9bb207f35 add integrated test 2024-06-28 00:32:49 +09:00
3b7e2387bd update CHANGELOG & README for #15 2024-06-27 20:41:54 +09:00
qwjyh
ea0acf177c
pretty printing (#15)
* pretty printing for `backup list` and `backup list --long`

* switch coloring crate from colored to console

- console can handle Style separately

* Style for storage list
2024-06-27 18:06:27 +09:00
a7c81d5976 bump to v0.2.1 2024-06-19 18:32:08 +09:00
qwjyh
bdd2d32901
Merge pull request #12 from qwjyh/update-dependencies
Update dependencies
2024-06-19 18:26:44 +09:00
1f7b992010 update changelog 2024-06-19 18:24:36 +09:00
f43b508819 update byte formatting 2024-06-19 18:19:35 +09:00
46ffab3425 update unicode-width 2024-06-19 18:09:20 +09:00
44674262a6 update dependencies (especially byte_unit)
- update formatting byte units
2024-06-19 18:07:31 +09:00
a389935819 update clap-verbosity-flag 2024-06-19 17:37:42 +09:00
155992d1cc fix clippy warnings 2024-06-19 17:37:19 +09:00
78b3d0d308 update dependency: sysinfo 0.29 -> 0.30 2024-06-19 17:33:58 +09:00
0f7095b229 update libgit2-sys for dependabot alerts #2
https://github.com/qwjyh/xdbm/security/dependabot/2
2024-06-19 16:08:11 +09:00
fe2847ba5b bump version to v0.2.0 2024-05-21 18:02:39 +09:00
d64cf6e255 Updated CHANGELOG regarding #10 and #11 2024-05-21 17:59:28 +09:00
qwjyh
2b4efd71bc
Merge pull request #11 from qwjyh/btreemap
Replace HashMap with BTreeMap

in storages, backups and localinfo
2024-05-21 14:53:53 +09:00
87b73bd125 change types for localinfos 2024-05-21 14:45:20 +09:00
df0ce53d84 fixup! replace HashMap with BTreeMap in Storages and Backups 2024-05-21 14:44:53 +09:00
feb51a5653 replace HashMap with BTreeMap in Storages and Backups
to produce cleaner git log
2024-05-21 14:34:30 +09:00
qwjyh
6f8a71fe8d
Merge pull request #10 from qwjyh/setup-ci
Setup CI
Now `cargo test` should work on GHA.
2024-05-04 15:04:56 +09:00