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
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
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
24f34da588
update storage list and some refactor
2024-03-03 06:11:25 +09:00
ff72228821
[refactor] separate subcommands to other file
2024-02-28 03:17:32 +09:00
b949cca1e8
refactor: separate argument defs
2024-02-27 13:59:13 +09:00
71e3cad6da
new: method for storage list
2024-02-24 18:31:56 +09:00
2f9fa08cf2
storages.yml check
2023-12-08 03:25:15 +09:00
5f81eccd2d
add for online, refactored bind
2023-12-08 03:18:31 +09:00
017e34d392
add manual type for physical drive add
2023-12-07 04:23:24 +09:00
bf1a5e23fe
update doc
2023-12-06 12:46:20 +09:00
b54cbf00f0
online storage & fix directory parent find & and so on
2023-12-06 11:18:46 +09:00
83233740aa
move device related functions & add doc
2023-12-05 03:58:19 +09:00
9706e8d41e
remove unnecessary file
2023-12-05 03:30:40 +09:00
abcb01897f
new: adding sub-directory
2023-12-05 03:24:49 +09:00
7a4c1e5325
Use HashMap instead of Vector<Storage>
2023-12-04 21:34:24 +09:00
1f0e43cd52
(WIP) implementing storage::directory
2023-09-01 10:37:30 +09:00
33e1a9aba7
refactoring: moved storage related functions to crate storage
2023-08-30 03:05:26 +09:00
78b2d956a7
fix: storage bind (add writing and commiting)
2023-08-30 02:52:12 +09:00
d7e7665739
new: storage bind
2023-08-29 21:33:46 +09:00
ae9cd0ee4c
add: Debug for storages
2023-08-29 04:22:04 +09:00
092809c2c6
refactoring: separate file for storages
2023-08-29 02:11:47 +09:00
1cb8659412
refactoring: separate file for devices
2023-08-29 01:30:24 +09:00
26a9d91297
refactoring: modularize devices
2023-08-29 00:34:22 +09:00
3648a190b7
completed storage add
2023-08-28 22:40:43 +09:00
4bacba7ff9
fix: git (write index to file)
2023-08-28 21:45:05 +09:00
db09897b5a
new: storage add (git is not working)
2023-08-27 17:49:18 +09:00
2a1854c488
new: add PhysicalStorage and methods, add flush to gitignore#
2023-08-26 08:40:11 +09:00
ff34012eff
new: setup device for 2nd and subsequent
2023-08-26 00:09:46 +09:00
92b27b876b
new: setup device for the first device
2023-08-25 23:51:45 +09:00