99714b4b29
update(test): use sync command
...
The first sync from 2nd device didn't work, maybe due to that it is the
first push.
2025-02-27 01:08:13 +09:00
9316290d28
new(sync): implement sync subcommand (WIP)
...
TODO
- update CHANGELOG
- refactor sync func
2025-02-23 03:09:45 +09:00
qwjyh
47b3a5e69d
fix: polluting gitconfig in integrated test ( #20 )
...
* fix: polluting gitconfig in integrated test
* debug(CI): add eprintln
* debug(CI): git config
* debug(CI): git init test
* fix(CI): command construction
* debug(CI): change workdir & add same config setup
* debug(CI): use libgit2
* debug(CI): return err at the end of test using libgit2
* debug(CI): change current_dir in git config
* fix(git): git config now gets local config
CI was failing since xdbm init didn't get local git config.
* debug: add trace log
* debug: increase log level in CI
* fix: getting gitconfig now respects local config
* debug(CI): clean up debugging codes
* fix(CI): add setup_gitconfig to two_devices test
* debug(CI): inspect git config
* fix(CI): add env var to allow setting git global config
* refactor(CI): remove unnecessary arg for setup_gitconfig
* update changelog
2025-02-09 08:39:57 +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
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
0abf9c0693
update readme
2024-07-15 12:12:38 +09:00
b9bb207f35
add integrated test
2024-06-28 00:32:49 +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
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
f5fe3d6580
update docs & Cargo.toml
2024-03-17 03:25:44 +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
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
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