Commits
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
c4330effadfe340c07b5709bc805de6a0b3764a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose got_pack_parse_ref_delta() for library-internal use
This will be needed by a future 'gotadmin listpack' command.
- Commit:
02828bfdd5b1fe79298e576b2c28d252509fa089
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose got_packidx_get_object_offset() for library-internal use
This will be needed by a future 'gotadmin listpack' command.
- Commit:
b4f3757062b79ae08d3c386051bbf6c37902ec35
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mark got_pack_stop_privsep_child() static; it is only used inside pack.c
- Commit:
cc2a8ef4d11a18e731acc4e3af92748ead29505b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix a leaky ibuf. ok stsp
- Commit:
509c99732c4da3e3b74c17d09aba5a38b701716f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_packidx_get_packfile_path() for library-internal use
- Commit:
ac62b7128d19ff467525fe11e07efdbc47c53bb5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
when reading a pack index byte-swap fields at compile-time where possible
suggested by mpi@ ages ago
- Commit:
08578a35f60be8657db97b705f27a55ab61850c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make close(2) failure checks consistent; check 'close() == -1' everywhere
ok millert, naddy
- Commit:
6d5a9006ab2a400b488b9e93ec9647fb9b2a0930
- From:
- Yang Zhong <yzhong@freebsdfoundation.org>
- Date:
add fd field to got_repository, modify got_packidx_open to use fds
These changes are intended to make got more compatible with
FreeBSD's Capsicum.
ok stsp
- Commit:
5a17689a92bb716ecff551f2a18eab30e762ed6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix matching the object ID of the first object in a pack index
An object ID which appears first in a pack index was wrongly ignored by
got_packidx_match_id_str_prefix(). The result was a spurious "object not
found" error when this object ID was passed on the command line.
Reported by jrick on freenode who was lucky enough to this edge case!
- Commit:
78fb09675bee22e8ae24eb8bd9a86d8a04b17a7e
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use the POSIX standard endian functions and explicitly include <endian.h>
ok stsp
- Commit:
81a12da58651e79380d81dea7020bf6af20bb28b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
- Commit:
0092798358749bb760eb91ae3c53bcaa5d782907
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove got_packidx_get_object_idx_sha1(); it is not actually needed
- Commit:
d582f26ced34c492facade402975ceabe4c97adc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
write large objects to disk when resolving deltas; raise in-mem delta threshold
- Commit:
4788f1cebb9b14790dd4899b6f9007c721eec61e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
extract large objects to a temporary file in got-index-pack
- Commit:
2e5a6faddc98266ead5e12a17ceefe689cf9192e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add mmap support to got-index-pack
- Commit:
55fdd2574a8da106021dd4857d3727185bda6c99
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not buffer more data than necessary in got_inflate_to_mem_fd()
- Commit:
1e87a3c39e7647b4dba91b8b1c77da25d677294a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid re-reading the entirety of an object's data to calculate the CRC
- Commit:
668a20f6fe41d7f9c2f4c32b1ee521bff6d459a8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rewritten got-index-pack; sorry about the monster commit
- Commit:
3ab5e33ce18309779415bf4e5e2464cbf01b06ac
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add optional 'consumed' output parameter to got_inflate_to_mem_fd()
- Commit:
afbfc7fb1894f033414e690ac1e2260b5b2c79d8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unneeded memory allocations from ref delta parser which were leaking
- Commit:
ca6e02acaa175cf833a3424ff1c4842445c0109f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for first-parent history traversal to got-read-pack
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020
- Commit:
e40b19ed24abd35fd232c5f269036e8ad0cafe67
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix reading ref deltas with GOT_PACK_NO_MMAP builds
- Commit:
5f25cc858267bf6a334ed243cd4ceaa4bcb851d6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove obj->path_packfile which is unused nowadays; saves a few free() calls