Commits
- Commit:
b6b86fd1b9828e38d59915e62fddce62952b8b75
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
ec2b23c5d2570888a1d83ce2e8eee5a90eeff695
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement support for commit coloring in got-read-pack for speed
ok op, tracey
- Commit:
68036464ea72a92fd21d72135814faed6abad71a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow start_pack_privsep_child() to be called from outside lib/object.c
- Commit:
bfb5ee0b7372ae375143b9dee5552b8bec26cf05
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
open temporary files needed for delta application in got_repo_open()
This prepares for callers of got_repo_open() that cannot afford to
open files in /tmp, such as gotwebd. In a follow-up change, we could
ask such callers to pass in the required amount of open temporary files.
One consequence is that got_repo_open() now requires the "cpath" pledge
promise. Add the "cpath" promise to affected callers and remove it once
the repository has been opened.
ok tracey
- Commit:
9249e7e337edcfd344dc416d11ad4274c90a02f5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
store deltas in compressed form while packing, both in memory and cache file
This reduces memory and disk space consumption during packing.
with tweaks + memleak on error fix from op@
ok op@
- Commit:
f9c2e8e5d5310b6b1cd22dcfc8f9f5d1d7a16d19
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
bc1f382f7aba640a7b6949938af27d41c1cabacf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid the creation of new temporary files whenever a packed object is read
This speeds up the creation of pack files by about 30%.
- Commit:
48b4f239031ad66225f64bd6745f4a57a35c3a0f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
wrap overlong lines
- Commit:
c3564dfafd6bf9ca36c049cf02a1432ce3e66c3f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't scan pack index offsets for large values if pack file is < 2GB
This saves an iteration over the entire h->offsets array when opening
a pack index which should not contain large offsets in the first place.
ok millert@
- Commit:
aea75d87862c3ab54d0b8c5e5e280e13efe8ec4a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_packidx_get_packfile_path() usable for callers who only have a path
- Commit:
136ec6c982b97cce2847aeba304d9562130f111c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forward-declare struct got_packidx to make got_lib_pack.h self-contained
- 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:
509c99732c4da3e3b74c17d09aba5a38b701716f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_packidx_get_packfile_path() for library-internal use
- 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:
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:
668a20f6fe41d7f9c2f4c32b1ee521bff6d459a8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rewritten got-index-pack; sorry about the monster commit
- 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:
ab2f42e760e128287c5e880a39c591845231922b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache delta data buffers in an LRU cache
- Commit:
42c69117cce2e1658d5b5aabbc383ce7252cf167
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop storing decompressed delta data in struct got_delta; fetch it on demand
- Commit:
5e6be23258e2648c6ad1bf3b1d5617e827ac3ab6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix reading pack files larger than 2GB; ok tb@; problem found by mpi@