Commit graph

16 commits

Author SHA1 Message Date
qwjyh
e9c1872d79
Use git cli in sync subcommand, and make custom implementation optional (#27)
* new: add use_cl option and separate to function

* refactor: format

* new(sync): add option to use git cli

* change(sync)!: now it use git cli by default

* lint: remove unnecessary ref

* fix(sync): use stderr for log prints

* update: CHANGELOG
2025-03-02 11:20:19 +09:00
851c0259a1 post v0.4.0 2025-03-01 10:19:59 +09:00
qwjyh
cdb01ee708
release 0.4.0 (#23)
* bump versions

* run cargo update

* update: rust edition to 2024

* update: CHANGELOG
2025-03-01 09:57:08 +09:00
qwjyh
e3b1e77f7d
feat: add option to statically link openssl (#22)
* feat: add feature to statically link openssl and libgit2

* update CHANGELOG

* update CHANGELOG
2025-02-28 01:13:38 +09:00
qwjyh
bd8e2019fe
implement sync subcommand (#21)
* new(sync): implement sync subcommand (WIP)

TODO
- update CHANGELOG
- refactor sync func

* fix(sync): add pull (only fast forward)

* update(test): use sync command

The first sync from 2nd device didn't work, maybe due to that it is the
first push.

* refactor: separate push and pull to funcs

* refactor: change merge analysis match order

* refactor: add logs

* update: CHANGELOG

* fix: CHANGELOG was wrong
2025-02-27 02:56:39 +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
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
3d8aa7bca0 update: CHANGELOG 2024-12-02 03:05:43 +09:00
dbc0d78f99 update: CHANGELOG on path type change 2024-12-01 19:36:33 +09:00
3b7e2387bd update CHANGELOG & README for #15 2024-06-27 20:41:54 +09:00
a7c81d5976 bump to v0.2.1 2024-06-19 18:32:08 +09:00
1f7b992010 update changelog 2024-06-19 18:24:36 +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
6bb1893fa2 release 0.1.0 (add CHANGELOG) 2024-03-18 09:19:58 +09:00