ref: c4b2290131e5a36e63036546c30b65bc4143d552
dir: /TODO/
* Receive-pack hook shape redesign; separate post-ref and post-ingest hook types. * Completely redo error handling. * Better status reporting, filling in more things in report-status-v2. * Design some way to pass commit graphs to hooks. * Maybe the Progress/Error writers should return error on creation instead of automatically discarding content? * Actually making signed-push work reasonably * Investigate fsck issues with receive-pack * Improve performance of delta resolution * Okay, I think this is a pretty big design issue between the object store and network operations: Things are modular enough that implementing this probably doesn't break many other things, so it's not too big of a deal, but it's an architectural debt that we should concsider: we have nice pluggable object stores, but network-related paths like ingest still take an *os.Root to write their quarantines and final packs into. This is fine for the normal repository that uses Git packfiles, but would obviously not work if we add something like dynamic packs, or want to write to any other sort of object store. Perhaps object stores should get a batch writing interface? But any general purpose, non-pack-aware writing interface would probably perform significantly worse than just natively teeing the network pack (since what we get from the network are always literally packs) to an indexer and the filesystem. A possible design is to require implementations to implement their own pack ingestion algorithm; but that would make it harder to have alternative protocols in the future, however for now it seems like a valid solution. When there is any sight of alternative, non-pack-based protocols in the future, we should think of another way. go-git handles it in their object stores but the way they implement it is extremely complex and not fit for furgit architecture. * Digital signature API * Revision-ish entry points like if you get main or v1.0 we should try to resolve that probably * Needs much better diff API * revwalk/log * Does Close belong in interfaces at all?