Commits


portable: CI: add MacOS definition Enable CI builds for MaxcOS on CirrusCI.


portable: include support for MacOS This adds support for MacOS (Monteray onward, although should work on older MacOSes). The BSD wrapper for poll/ppoll has been lifted from the work the folks over at OpenSSH have done -- thanks!


portable: make UUID includes generic Move the detection of UUID header files to be included portably. This will have no functional effect until MacOS detection is put in place.


portable: update Makefile.am Update got-{fetch,index,send}'s Makefile.am to include ratelimit.c for progress output.


apply time-based rate-limiting to got-send-pack upload progress output


apply time-based rate-limiting to got-fetch-pack download progress output


apply time-based rate-limiting to got-index-pack progress output


Release 0.67


portable: pack-create: remove endian.h endian.h is portably included on non-OpenBSD systems, so let that mechanism determine if it should be included or not.


explicitly include <endian.h> for be32toh()


bump version number


CHANGES for 0.67


const-ify command and option tables ok stsp


remove stray tab that snuck in


display GMT offset in cat command ok stsp


factorize imsg_clear calls after imsg_flush failures imsg_clear frees and closes resources allocated as part of enqueueing imsgs so it's a no-op after reads. discussed with and ok stsp@


fix fd leak in got_fetch_pack, ok stsp@


portable: fix use of d->namlen As done elsewhere, d->namlen is not a portable field from readdir, therefore simualte this via the strlen of the directory name instead.


fix pack.sh test failure from reuse-deltas patch by tweaking progress output


reuse existing deltas when creating pack files tested by thomas, naddy, and myself


shrink the width of formatted output fields to their expected size Replace FMT_SCALED_STRSIZE with (FMT_SCALED_STRSIZE - 2) as field width when formatting output for printing. FMT_SCALED_STRSIZE includes space for a nul byte and a minus sign. Output values are expected to be always positive here. ok stsp


consistently match size of hash variables to that returned by murmurhash ok millert stsp


portable: add murmurhash2 to deltify test Add missing include for the deltify test now that it depends on murmurhash2.


new test: `got diff' on files matched by an ignore pattern


use murmurhash instead of sha1 for deltification blocks; suggested by ori