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.
想法是脆弱的。如果它们已经被彻底解决,那就不再是想法,而是产品。要不被新想法带来的问题吞没,需要一种坚定的努力。问题很容易被清楚说出、被理解,它们会夺走氧气。史蒂夫会把注意力放在想法本身上,哪怕它不完整、甚至看似不太可能。
。业内人士推荐同城约会作为进阶阅读
Гангстер одним ударом расправился с туристом в Таиланде и попал на видео18:08
Complete digital access to quality FT journalism with expert analysis from industry leaders. Pay a year upfront and save 20%.
TopicXbox leadership falls apart. what happens next with Phil Spencer and Sarah Bond out? – 1:53