libexec


Log

Author Commit Date CI Message
Stefan Sperling 668a20f6 2020-03-18T16:13:41 rewritten got-index-pack; sorry about the monster commit
Stefan Sperling baa9fea0 2020-03-18T16:11:33 send indexing progress via an imsg
Stefan Sperling 849f7557 2020-03-18T16:11:32 check pack file hash in the main process
Stefan Sperling d2cdc636 2020-03-18T16:11:32 send pack file download progress information over imsg
Stefan Sperling a6ee240a 2020-03-18T16:11:32 improve error message on short packfile
Stefan Sperling ea7396b9 2020-03-18T16:11:32 rename imsg FETCH_PROGRESS to FETCH_REF
Stefan Sperling 9fa51812 2020-03-18T16:11:32 check pack file header in fetch_pack()
Stefan Sperling 531c3985 2020-03-18T16:11:32 add support for git protocol sidebands and display server progress
Stefan Sperling 04c53c18 2020-03-18T16:11:31 make got-fetch-pack check for NAK from server before the packfile arrives
Stefan Sperling 3b9fb585 2020-03-18T16:11:31 hide an fprintf inside if (chattygit)
Stefan Sperling 54d1a70f 2020-03-18T16:11:31 verify that length string read from packet contains hex digits only
Stefan Sperling 4dc8ee09 2020-03-18T16:11:31 improve strtol checking in got-fetch-pack
Stefan Sperling 38c670f1 2020-03-18T16:11:31 convert flushpkt to struct got_error
Stefan Sperling 344e4747 2020-03-18T16:11:31 convert writepkt to struct got_error
Stefan Sperling 52915720 2020-03-18T16:11:31 remove a pointless 'goto done'
Stefan Sperling d3dccf3a 2020-03-18T16:11:31 remove unused hash string arrays
Stefan Sperling f78e0473 2020-03-18T16:11:30 add missing \n in debug output
Stefan Sperling 33501562 2020-03-18T16:11:30 prepare for providing refs we already have in fetch request imsg currently we always send and expect an empty list
Stefan Sperling fe53745c 2020-03-18T16:11:30 convert readn and readpkt to struct got_error
Stefan Sperling 2fed35f3 2020-03-18T16:11:30 knf
Stefan Sperling 0872c0b0 2020-03-18T16:11:30 more reasonable minimum length check in check_pack_hash()
Stefan Sperling eac2c4cd 2020-03-18T16:11:30 make check_pack_hash() return a struct got_error
Stefan Sperling 01538ce4 2020-03-18T16:11:30 add_symref modifies 'capa' so it cannot be const
Stefan Sperling ffb5f621 2020-03-18T16:11:30 pledge got-fetch-pack ("stdio recvfd")
Stefan Sperling 00cd0e0a 2020-03-18T16:11:30 use more readable names for items parsed from refline, and plug related leaks
Stefan Sperling e2f84af4 2020-03-18T16:11:30 remove got_has_object() for now; this would require imsg to main process
Stefan Sperling 4ba321e7 2020-03-18T16:11:30 mark some functions static in got-fetch-pack
Stefan Sperling 1ff21071 2020-03-18T16:11:30 remove got_ prefix from static functions in got-fetch-pack
Stefan Sperling 14778466 2020-03-18T16:11:29 realloc(p, nmemb * size) -> reallocarray(p, nmemb, size)
Stefan Sperling 0f06079f 2020-03-18T16:11:29 add a TODO comment
Stefan Sperling a468349c 2020-03-18T16:11:29 re-enable fetching of offset deltas in got-fetch-pack
Stefan Sperling acd24462 2020-03-18T16:11:29 add a TODO comment
Stefan Sperling 06c788f9 2020-03-18T16:11:29 remove got_make_pack_dir() which is unused
Stefan Sperling cf875574 2020-03-18T16:11:29 knf
Stefan Sperling 4b20c923 2020-03-18T16:11:29 remove strip() stub function that does nothing
Stefan Sperling 6fb3a497 2020-03-18T16:11:29 add optional 'consumed' output parameter to got_inflate_to_mem()
Stefan Sperling 27937592 2020-03-18T16:11:28 add more missing \n in fprintfs from got-index-pack
Stefan Sperling fd86ad6e 2020-03-18T16:11:28 pass SEEK_SET instead of zero for fseek() whence parameter
Stefan Sperling 57138e05 2020-03-18T16:11:28 add missing \n in error print
Stefan Sperling a98e36f8 2020-03-18T16:11:28 fix inverted error check in readodelta()
Stefan Sperling 4a89c790 2020-03-18T16:11:28 remove unneeded include
Stefan Sperling 8a29a085 2020-03-18T16:10:33 make got-fetch-pack match its capabilities with those of the server
Stefan Sperling 0d0a341c 2020-03-18T16:10:33 parse server capabilities in got-fetch-pack
Stefan Sperling abe0f35f 2020-03-18T16:10:33 parse symrefs from server capabilities and transmit them over imsg
Stefan Sperling 13ce8c93 2020-03-18T16:10:33 add missing space between first wanted hash and our capability string
Stefan Sperling a6f88e33 2020-03-18T16:10:33 make got-fetch-pack sanity check error messages sent by server
Stefan Sperling 9b45e112 2020-03-18T16:10:32 remove redundant colon from error message
Stefan Sperling 8f2d01a6 2020-03-18T16:10:32 send fetch progress over imsg
Stefan Sperling 018e0a9a 2020-03-18T16:10:32 rename got_fetch_pack to just fetch_pack; this function is static
Stefan Sperling 9ff10419 2020-03-18T16:10:32 convert got_fetch_pack to got_error + KNF
Stefan Sperling ccbf9d19 2020-03-18T16:10:32 remove some unused path variables from got-fetch-pack
Stefan Sperling 279090e1 2020-03-18T16:10:31 pass an object_id * to got_privsep_send_index_pack_req()
Stefan Sperling a251e40e 2020-03-18T16:10:31 GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block
Stefan Sperling 93658fb9 2020-03-18T16:10:30 Add initial support for network protocol. Ported from git9 by Ori Bernstein.
Stefan Sperling 61a7d79f 2020-02-29T08:05:11 remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
Stefan Sperling 63f810e6 2020-02-29T07:54:55 when "bad path" errors occur, always show the path in question
Stefan Sperling 9a1cc63f 2020-02-03T09:18:40 read repository owner name with gitconfig parser instead of a hand-rolled one
Stefan Sperling 55e54fd3 2020-01-28T14:03:16 remove a Makefile chunk which is obsolete since bb5b19e3
Tracey Emery 54415d85 2020-01-15T22:10:31 kn@ and stsp@ suggested changes
Tracey Emery 2c251c14 2020-01-15T22:10:30 Initial gotweb branch import
Stefan Sperling ca6e02ac 2020-01-07T11:14:52 add support for first-parent history traversal to got-read-pack
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling fe558a04 2020-01-06T15:58:23 plug a memory leak: got-read-commit forgot to close commits
Stefan Sperling 3f7f9bd9 2020-01-06T15:50:36 fix memleak in error case of got-read-commit
Stefan Sperling b87b4170 2020-01-06T14:10:36 rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)
Stefan Sperling b64b1f95 2020-01-06T13:10:00 plug a memory leak; parsed tree entries were not freed
Stefan Sperling cd95becd 2019-11-29T02:46:04 parse remotes from gitconfig
Stefan Sperling 3022d272 2019-11-14T17:12:32 reduce the amount of memcpy() and strdup() while parsing tree entries
Stefan Sperling ab2f42e7 2019-11-10T15:51:05 cache delta data buffers in an LRU cache
Stefan Sperling 42c69117 2019-11-10T15:51:05 stop storing decompressed delta data in struct got_delta; fetch it on demand
Stefan Sperling aba9c984 2019-09-08T17:14:34 obtain repo format version and commit author name/email from .git/config
Stefan Sperling 12ce7a6c 2019-08-12T20:56:30 include <limits.h> instead of <sys/limits.h>; patch by Thomas Klausner
Stefan Sperling 53ccebc2 2019-07-30T14:54:05 add 'make release' target; programs now have a version number
Stefan Sperling cc626439 2019-07-15T13:16:26 make got-read-blob account for header len in size check Fixes "no space" error with blobs which happen to straddle the size boundary for in-memory handling.
Stefan Sperling 4492af84 2019-07-15T13:03:32 plug a memory leak in got-read-blob
Stefan Sperling 2256993b 2019-07-15T12:50:29 avoid dependency on delta.o in binaries which don't need it
Stefan Sperling 79c99a64 2019-05-23T22:24:13 don't leak objects which can't be cached
Stefan Sperling 6869fb7f 2019-05-23T21:56:42 remove unused include in got-read-pack
Stefan Sperling cb5e38fd 2019-05-23T21:52:49 fix some leaks in got-read-pack
Stefan Sperling 704b89c4 2019-05-23T21:44:01 make got-read-pack actually use its object cache
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 656b1f76 2019-05-11T14:26:12 while (1) -> for (;;)
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling 3a6ce05a 2019-02-11T12:32:53 check for errors from close(2)
Stefan Sperling fb43ecf1 2019-02-11T11:59:09 check for errors from fclose()
Stefan Sperling f5d3d7af 2019-02-05T15:19:24 use path lists to sort dirent, tree object, and file index entries
Stefan Sperling 0ae4af15 2019-02-01T22:33:39 add missing error check in got-raed-pack's tag_request()
Stefan Sperling 5d56da81 2019-01-13T17:15:53 happy new copyright year
Stefan Sperling 85a703fa 2019-01-13T17:04:03 got_pack_get_object_size() -> got_pack_get_max_delta_object_size()
Stefan Sperling ac544f8c 2019-01-13T15:58:39 pass smallish blobs directly via imsg buffer
Stefan Sperling f392e333 2018-12-24T17:28:20 verify total size vs header length in got-read-blob
Stefan Sperling ebc55e2d 2018-12-24T14:18:56 eliminate got_object_open() round-trip when opening blobs
Stefan Sperling 268f7291 2018-12-24T11:18:58 eliminate got_object_open() round-trip when opening tags
Stefan Sperling 13c729f7 2018-12-24T09:35:07 eliminate got_object_open() round-trip when opening trees
Stefan Sperling 6e72e6a3 2018-12-23T23:21:35 there's no point in embedding the object header in commits
Stefan Sperling 1785f84a 2018-12-23T23:15:42 eliminate got_object_open() round-trip when opening commits
Stefan Sperling 28714985 2018-11-17T16:12:36 add got-read-tag libexec helper
Stefan Sperling f4a881ce 2018-11-17T16:04:05 more support for tag objects; new code is not yet reachable
Stefan Sperling c945ec50 2018-11-17T15:52:59 init output param in {parse,read}_object_header
Stefan Sperling 80d5f134 2018-11-11T12:59:22 don't be noisy on stderr when Ctrl-C is hit