Commit graph

18 commits

Author SHA1 Message Date
0abf9c0693 update readme 2024-07-15 12:12:38 +09:00
3b7e2387bd update CHANGELOG & README for #15 2024-06-27 20:41:54 +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
4c0da32998 add check subcommand 2024-03-17 20:02:10 +09:00
f5fe3d6580 update docs & Cargo.toml 2024-03-17 03:25:44 +09:00
b1b174b4b3 add backup done 2024-03-16 23:28:09 +09:00
ff32996360 new subcommand: backup list
- todo: fancy print
2024-03-15 04:19:26 +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
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
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
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
71e3cad6da new: method for storage list 2024-02-24 18:31:56 +09:00
5f81eccd2d add for online, refactored bind 2023-12-08 03:18:31 +09:00