Commits
- 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:
aabb25f81b1f8f68a03af422f9ae14ea5c3ae1fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not crash if no delta cache is present while parsing deltas
- Commit:
301e83b3580ad6750144e2e36393b74e6fd6adcb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move privsep code from pack_create.c into new file pack_create_privsep.c
Needed by future gotd(8).
ok op@
- Commit:
a6072ec90f252faf1f1256591fb0d4623f4bc0c2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle unlink(2) errors for mergepath, tmppath, and apath in apply_patch()
ok op@
- Commit:
5bb4ff2b1627b8abf239cb4bc54375109b3e3a01
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_path_move_file(); based on code from lib/patch.c
ok op@
- Commit:
15c388a9fbe0ca9bd3fba71581e55dd5ad6d8c33
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for unlink(2) errors and don't try to unlink an already renamed file
ok op@
- Commit:
21017333f16f38ad9e8eb5d478bddf3397d4af05
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for unlink(2) errors in got_opentempfd()
ok op@
- Commit:
a06ca3f74892062294f3752ab15a9e5d7778a106
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for unlink(2) errors with the == -1 idiom, rather than != 0
ok op@
- 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:
9cda65e55e3f6d565e83377712e1b81177639cda
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify the way 'got patch' opens a tempfile when reading from stdin
Also add basic test coverage for reading patches from stdin, while here.
ok op@
- Commit:
d2533287ff253bfb6fe08ddc0005ac3349fdf38c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove accidentally committed debug assertion
- Commit:
96fd6df18fbd10f0beed6fcc138d336bbb536a3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_gotconfig_read() into new file read_gotconfig_privsep.c
- Commit:
affc4eed0efab2d385406813ccf33ac850b09c5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unnecessary includes of got_lib_privsep.h
- 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.