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
51fd4207ea
fixup! fix test to fetch refspecs from the git2
2024-05-04 15:03:02 +09:00
c9eb34aa69
fix test to fetch refspecs from the git2
2024-05-04 14:55:00 +09:00
4fcb7fc354
fixup! [fix] test: setup gitconfig at repo init
2024-04-26 01:35:42 +09:00
607013c649
fixup! [fix] test: setup gitconfig at repo init
2024-04-26 00:21:42 +09:00
30ae6a6417
fixup! [fix] test: setup gitconfig at repo init
2024-04-25 17:01:34 +09:00
462c34cf96
[fix] test: setup gitconfig at repo init
2024-04-25 16:54:43 +09:00
qwjyh
00f2057ae4
Create rust.yml
2024-04-25 16:52:06 +09:00
6bb1893fa2
release 0.1.0 (add CHANGELOG)
2024-03-18 09:19:58 +09:00
0e6256b74f
update metadata & readme
...
- fix some typos
- format
2024-03-18 08:58:33 +09:00
1794b8b409
add test for backup add/done with single device
...
This works on Windows.
It still needs git config to perform commit.
2024-03-18 08:40:49 +09:00
bac829c1f1
lint with clippy
...
fix problems reported by clippy excepts about unused functions
2024-03-18 08:36:07 +09:00
01f959b666
update dependencies
2024-03-17 20:29:06 +09:00
7e6159933f
update docs to list subcmd arguments
2024-03-17 20:02:27 +09:00
4c0da32998
add check subcommand
2024-03-17 20:02:10 +09:00
8396b8c97d
add shell completion script generation
2024-03-17 04:08:47 +09:00
f5fe3d6580
update docs & Cargo.toml
2024-03-17 03:25:44 +09:00
0e8bd6b4c7
remove unnecessary arguments for StorageExt::mount_path
2024-03-17 02:47:34 +09:00
ed43d819d6
test for util::{min_parent_storage, expand_tilde}
2024-03-17 02:37:31 +09:00
b1b174b4b3
add backup done
2024-03-16 23:28:09 +09:00
4f0d725b52
fix: windows path canonicalization
...
use these
- expand_tilde
- dunce::canonicalize
2024-03-15 20:54:26 +09:00
26fbea5d3a
test for backup_add
2024-03-15 13:56:23 +09:00
ff32996360
new subcommand: backup list
...
- todo: fancy print
2024-03-15 04:19:26 +09:00
d947dd35e0
Revert "Create rust.yml"
...
This reverts commit f0d19a13e5
.
Need to configure git in CI.
2024-03-14 09:03:12 +09:00
qwjyh
f0d19a13e5
Create rust.yml
...
with default
2024-03-14 08:59:37 +09:00
38957c1d39
cargo update
2024-03-14 08:57:49 +09:00
905d392419
add backup add
...
- change Storage::parent
- split path diff calc to util
- test for backup add
2024-03-14 08:54:12 +09:00
41b2924ad7
add test for storage add
...
- failure due to name duplication
- success with online & subdirectory with two devices
- used local git to write test (TODO?: use only git2)
2024-03-14 06:35:11 +09:00
d9812bf006
fixup! add backup related types and cmd arguments
2024-03-14 02:14:55 +09:00
56563a0e8b
add backup related types and cmd arguments
...
- fix some typos & format
2024-03-13 20:09:51 +09:00
d1f7a4787e
(WIP) implement sync
2024-03-13 05:36:37 +09:00
498dd2db9b
update storage bind
2024-03-13 05:36:19 +09:00
d212d32430
add test for storage add online
2024-03-13 04:25:38 +09:00
1aa74acf31
update test to use bare repository to simulate multi device
2024-03-13 04:08:57 +09:00
7c8ee7a500
redesign storage add Commands
...
- replace storage add args with subcommands of physical, directory,
online
- to make argument dependencies clearer
2024-03-12 16:18:24 +09:00
e3675632c1
fixup! replace raw HashMap with Storages
2024-03-12 00:02:32 +09:00
8eb7d1179d
init STORAGESFILE and DEVICESFILE at repo init and change Storages.read
...
- return Err instead of new object when there is no STORAGESFILE
- setup empty DEVICESFILE and STORAGESFILE at repository initialization
- update readme
2024-03-11 09:18:17 +09:00
7e026ec229
replace raw HashMap with Storages
2024-03-10 13:00:28 +09:00
4283e1e98a
change init command & add integration test
...
- now need to specify device name via cmd arg
- can use private repository with ssh key or ssh-agent
- adding integration test utility crates
2024-03-07 14:59:58 +09:00
9935f79920
add option to provide config dir
2024-03-06 03:49:32 +09:00