Commit Graph

85 Commits

Author SHA1 Message Date
Dmitry Zuikov 78c99fcee4 new config location for hbs2-git
now it's under .hbs2 on the same level,
where .git/ directory is located.

migration should work automatically. probably.
2023-10-06 08:03:23 +03:00
Dmitry Zuikov 0f0085d4b6 fix: hbs2-git. proper refval calculation
Now "git push --force" and "git push origing :branch" aka brancg
removing work.

Basing on "rank", where "rank" is a number
of transactions in reflog on  commit time,
It works, cause reflog is append-only and
transaction number is growing-only and there
is only one writer.

WARNING: you **must** move to this commit right now.
2023-09-22 07:05:39 +03:00
Sergey Ivanov 67892fca02 Update command `export` 2023-09-21 08:10:16 +03:00
Sergey Ivanov 5ffb44ac49 Revert "test PR ADibgyhKo6 hbs2-git-config-location"
This reverts commit 5b5639fc2b.
2023-08-23 16:38:46 +04:00
Sergey Ivanov b7079c2915 Revert "PR CG2C18TK8v "account asyncs, respawn node on errors""
This reverts commit 8904704edc.
2023-08-16 16:50:16 +04:00
Dmitry Zuikov 5b5639fc2b test PR ADibgyhKo6 hbs2-git-config-location
Squashed commit of the following:

commit a2652dfcb84e6318edbfd470284999ac55058a59
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Tue Aug 15 09:40:08 2023 +0300

    Fix: create ".hbs2-git" dir if missing

commit 5c76f287b457e1bf7199631b0035c541c44a0d3b
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Mon Aug 14 17:08:15 2023 +0300

    fixme

commit 721bed688408a02fb3e7bf9e9ea70fad73f2f665
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Mon Aug 14 17:07:21 2023 +0300

    PR

commit 82d5a30f4510b3f70bfbf2bc208b14df4ce2b17d
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Mon Aug 14 17:01:09 2023 +0300

    Changed hbs2-git config file location, refactoring

commit 84b0e7024afaaa892842b36b0d6691c9cb348ce1
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Mon Aug 14 16:46:31 2023 +0300

    Fix warnings

commit 916436fed8ee6c8f2eb25dd24acc5f616e5e31a0
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Wed Aug 9 17:04:34 2023 +0300

    Fix warnings
2023-08-15 10:20:52 +03:00
Dmitry Zuikov 8904704edc PR CG2C18TK8v "account asyncs, respawn node on errors" 2023-08-11 06:10:09 +03:00
Dmitry Zuikov 40ba5fca68 RefLogKey moved to HBS2.Net.Proto.RefLog...
... since it is just one of many possible refs
2023-08-10 05:50:39 +03:00
Dmitry Zuikov 0c9cfdbde3 hbs2-git refval_actual bug fixed 2023-07-27 12:16:42 +03:00
Dmitry Zuikov c52be7cf5e merged PR 8ey8Fnr4c4 remove-lref-commands 2023-07-27 10:00:01 +03:00
Dmitry Zuikov 9c8c58766b PR CGPnKdSirc hbs2-suckless-conf-update 2023-07-25 10:49:44 +03:00
Dmitry Zuikov 0af3056664 git-hbs2-http - very basic git http dumb algorithm
for fetching repos from hbs2-git for third-side
 programs (like nix).

 pushes are not supported (yet?).
2023-07-03 09:40:58 +03:00
Dmitry Zuikov 0b5f98c004 whole log segments compression.
NOTE: DO NOT USE THIS COMMIT FOR OLDER REFLOGS.
 BECAUSE THEY IT WILL BREAK FOR THE OLDER hbs2-git
 versions.

 Start a new reflog instead. Hopefully,
 it's a last (ha!) breaking change for a... while.
2023-06-29 18:59:12 +03:00
Dmitry Zuikov 22bb266f02 import after export 2023-06-29 18:46:05 +03:00
Dmitry Zuikov 3681fd7bee hbs2-git-log-segmentation 2023-06-29 10:26:27 +03:00
Dmitry Zuikov e116268c4a fixme 2023-06-27 07:54:41 +03:00
Dmitry Zuikov 1b93659ef4 new-repository-format 2023-06-26 18:02:57 +03:00
Dmitry Zuikov 4424466c84 tcp 2023-04-13 19:02:25 +03:00
Dmitry Zuikov 1c8f6b978b merged refactor-crypto-remove-l4-protocol-dependency 2023-04-06 09:22:45 +03:00
Dmitry Zuikov 261641f719 little bit formatting 2023-04-05 16:51:24 +03:00
Dmitry Zuikov a6b7b91988 merged 3qQz3NXAeX [] git-hbs2-show 2023-04-05 16:31:30 +03:00
Dmitry Zuikov c687c3654b larger repos & some fixes 2023-04-03 08:38:42 +03:00
Dmitry Zuikov 3d5bc8d497 removed excess trace 2023-04-02 13:46:22 +03:00
Dmitry Zuikov a52baf227a hbs2-git db bugfix 2023-04-02 13:44:09 +03:00
Dmitry Zuikov 343bfd6070 hbs2-git db bugfix 2023-04-02 09:50:02 +03:00
Dmitry Zuikov 0b12d6db79 rollback git state in case of exception 2023-03-28 17:17:28 +03:00
Dmitry Zuikov 596d2d3dbb RunExport: reduced noise in terminal 2023-03-26 16:47:51 +03:00
Dmitry Zuikov 0c5fc7e9ff devlog 2023-03-24 20:49:30 +03:00
Dmitry Zuikov 5f77b26520 hbs2-git: lotsa stuff 2023-03-24 19:54:07 +03:00
Dmitry Zuikov 2648382ad9 wip102 2023-03-24 17:15:26 +03:00
Dmitry Zuikov eaeaaf1685 wip102 2023-03-24 17:14:15 +03:00
Dmitry Zuikov de9a8b02ce code cleanup 2023-03-24 13:05:47 +03:00
Dmitry Zuikov fadd913693 code sweep + fixme/log 2023-03-24 13:00:07 +03:00
Dmitry Zuikov 3a0d21ebff fixed As13ga9cvf git-push-always-up-to-date 2023-03-24 12:26:04 +03:00
Dmitry Zuikov 6d7e587a24 hbs-git alpha 2023-03-23 20:48:44 +03:00