To test this I built gitgres, about 2,000 lines of C implementing the libgit2 git_odb_backend and git_refdb_backend interfaces against Postgres through libpq, plus roughly 200 lines of PL/pgSQL for the storage functions. libgit2 handles pack negotiation, delta resolution, ref advertisement, and the transport protocol while the backend reads and writes against the two tables, and a git remote helper (git-remote-gitgres) lets you add a Postgres-backed remote to any repo and push or clone with a normal git client that has no idea it’s talking to a database. There’s a Dockerfile in the repo if you want to try it out without building libgit2 and libpq from source.
Израиль нанес удар по Ирану09:28。业内人士推荐雷电模拟器官方版本下载作为进阶阅读
在正定工作时,习近平同志在县委工作会议上就明确提出要求,“领导作风和工作作风要有一个突破性的变化”“一定要树立求实精神,抓实事,求实效,真刀真枪干一场”。,这一点在51吃瓜中也有详细论述
Chris BaraniukTechnology Reporter