Commits
- Commit:
fb2a9ab8a28891a770e6d0c260b76dfba2f2f369
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix pack checksum handling for sha256
- Commit:
42b6bfc81cdd6a9cba14c9d8916aeddbe561a356
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add field to got_packidx to propagate the hash algo
allows to drop all the `algo' hardcodings in lib/pack.c and pack_idx.c
- Commit:
f57598a25f07ea6b68f64ef9369142b9c056eb05
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle both sha1 and sha256 object ids in pack files
bump got_packidx_object_id so it can hold a sha256 digest and adapt
the code to read the needed type of hash.
- Commit:
d6720956975e97012cad5147fc6fa9b599a72b1b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an hash algo field to got_pack - maybe useless
- Commit:
c66ecbcb0a2490fb69c7a79d2b794fa9404c3053
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust GOT_PACKIDX_NAMELEN for sha256 packs
- Commit:
2e17b4a13c5799df8b2f315a4e457d35a7571597
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename pack{file,idx}_sha1 to _hash
- Commit:
a41a7d4af7426fd81c7dcb8b98dae1c7d9ea9acd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename "sha1" field to "hash"
done with
X ,x/\.sha1/c/hash
X ,x/->sha1/c/->hash
in sam after loading all the C files; except for one manual tweak in
hash.c
- Commit:
24b7de1c04072bf25db2df8acbf93a7ba7bbabfd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid copying reused deltas to delta cache file; copy from pack file instead
ok op@
- Commit:
ad4cc36168576274131539e87b9007ef9b3c3725
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert got_pack' filesize to off_t; ok stsp@
- Commit:
24d916d21f287fd70d7ba70f077a8d84c3fdee7c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change got_pack_parse_offset_delta tslen argument to size_t
The tslen argument is always in the (1..9) range so `int' is technically
fine (even int8_t would be!) but all the callers are passing a size_t,
so change the type accordingly.
ok stsp@
- Commit:
b9de8018be96c42d3421711a341c1fc8f6d7e0fb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move declaration of got_privsep_child out of got_lib_privsep.h
This declaration is the only reason why got_lib_privsep.h must be
included in order to use got_lib_repository.h. Moving this declaration
will allow for cleaning up unnecessary includes of got_lib_privsep.h.
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
61af9b215c06bece11deb27d941b390b81e0f8c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement support for commit coloring in got-read-pack for speed
ok op, tracey
- Commit:
3d589bee0bbbe812bb91f3b0284fbf2596304132
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow start_pack_privsep_child() to be called from outside lib/object.c
- Commit:
571608344a37fb96f46850a1124415ab68b1a431
- From:
- Stefan Sperling <stsp@stsp.name>
- 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