Commits
- Commit:
d30182290dbc8e6972ead312fee101e3708b8df6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix gotadmin/repository_admin
- Commit:
079a296c54f560fb82144704231757db030e9b03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix fallout; mostly struct got_object_id zeroing
- 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:
c66ecbcb0a2490fb69c7a79d2b794fa9404c3053
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust GOT_PACKIDX_NAMELEN for sha256 packs
- 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:
4123af3c87c004ce1cbcb2b9e33521eb235603f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename lib/sha1.c to lib/hash.c
- Commit:
e83f12a6cd77a496e5c30f0154aced0d04962189
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h where sha1.h is included
- Commit:
839bbaae43d84a7eb75ef0b327239fd36c360ada
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd, gotadmin: install packfiles and index files as 0444
gotd used 0600 (due to mkstemps(3)), gotadmin 0644; change it to 0444
since packfiles shouldn't change once created. Mirrors what git does.
ok stsp@
- Commit:
b90054ed55f30ebe28115abf5ad9cecc2b925713
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use mkstemps(3) instead of mkstemp(3) for opening named temporary files
Allows 'got commit' to use a ".diff" suffix for temporary diff files.
ok op@
- Commit:
cae60ab8f2a261b006b3ccbded2d53dccbd6f300
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let callers of got_pack_create() configure rate-limiting of progress reporting
Needed by future gotd(8), where progress reports will be sent to a network
socket, rather than a local terminal.
- Commit:
a32780aad7a4bc8539de9e7fd39b371f2fe8c346
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_opentempfd() call out of got_pack_create()
Future gotd(8) needs to run got_pack_create() in a chroot environment,
so we can no longer open new temporary files inside got_pack_create().
ok op@
- Commit:
894e4711ffca9e21b24e567a610d387bd0c31817
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_pack_create() write to a file descriptor instead of a stdio FILE
The old code required a seekable output file. This conflicts with requirements
of future gotd(8), which will write pack file data to network sockets.
ok op@
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
2edc2f9dc130b3033b3ac7fe72754b2e6ef15dc7
- From:
- Florian Obser <florian@narrans.de>
- Date:
If the first readdir() returns NULL err is uninitialized.
This can't happen in practice, but llvm's scan-build doesn't know this.
OK stsp