Commits
- Commit:
bcf5a4329785e99de746fcacadcf0530e5889ef3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check for unlink(2) errors in got_opentempfd()
ok op@
- Commit:
e6b88e161ad828106984b234e87b11f46df49a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check for unlink(2) errors with the == -1 idiom, rather than != 0
ok op@
- Commit:
05fa71181ce0b8e193160790042225acf3a73b14
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
20a7d452fe7df073da75ff371d960625531490cd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
ce3641f681bc648a11a3b5ba3653f1237ec2b1f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
a4fde4bc1b5aeb691045412b65cd19e4e1b536a3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove accidentally committed debug assertion
- Commit:
3e8d36947e46d4fad49548c24b355444752307e9
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: handle sys/tree.h
Unfortunately, MacOS doesn't provide sys/tree.h -- so the compat check
for this must happen portably.
- Commit:
cb3c9f1cc3c0150fe2781c4bcd4bcae557696705
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: order lib files
For those tests which rely on compilation files, order them
alphabetically so it's easier when having to change the makefile
stanzas.
- Commit:
c59427c506d2ef9128e705a75134bb3a3b4d2848
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: check for sys/tree.h more fully
When checking for sys/tree.h on non-BSD systems, either it will be in
the standard include path (such as on MacOS), or it won't be found,
until libbsd is overlayed.
In cases where we want to find sys/tree.h via libbsd, perform a
AC_CHECK_DECL for a known #define in sys/tree.h -- which will still find
sys/tree.h in either location, or uses compat/tree.h in all other cases.
- Commit:
4e5e98e8510dc01d4848f809792357a7ea446baf
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove sha1.h include
This is searched for portably.
- Commit:
400c1baa797ea52d7f44e2d997bbf0341912a6f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move got_gotconfig_read() into new file read_gotconfig_privsep.c
- Commit:
405ceee385e4537e9878f8e24a6c3be0640bcd5b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove unnecessary includes of got_lib_privsep.h
- Commit:
a777fdc0851febbdbbe01ccb788c7856c119c4f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
d348087d319f40c9237d272e23cd12fdec5bd123
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move code for reading Git's config file into new file read_gitconfig_privsep.c
The end goal here is to remove the dependency of repository.c on privsep.c
during compilation.
- Commit:
54c227727ee63cc0f86859c76a0003c21ca3563a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move code which forks child processes into a subroutine, reducing copy-pasta
- Commit:
b61ceafcc71b10ab2295bf09b9ddb34a07666f73
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move functions which open objects into new file object_open_privsep.c
For the future, this will make it possible to provide alternative
implementations of functions now stored in object_open_privsep.c.
This will probably be needed by future gotd(8) which runs inside
a chroot(2) environment and without the "exec" pledge(2) promise,
making it impossible to run libexec helpers on the fly.
Details of this design are not yet settled, but moving functions
into a separate compilation unit won't hurt in any case.
- Commit:
c639c9205a410cf7f3535d3ae7f17d2483f2bdfa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
the my_refs reflist in delete_missing_refs() must be freed on exit
- Commit:
0ce85e2d60aaf043824cd36200369a2787c84566
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git 674563ab136a2aa34dc4d93043d92235a2ae98ba
- Commit:
ee0cf61c1d9af6744b5be6de0c10ab5d5624c543
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
document global tog options earlier; suggested by op@
- Commit:
0a58e7222f591acd7479040f317f1e0e0e9d132e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync usage with reality
The -h and -V/--version flags must be given before the command; with
those flags the command is actually optional, but don't over-complicate
the usage string with these nitpicks.
ok/improvements stsp@
- Commit:
cfab1835584d3f69e858d421c192731cef8848d4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf: add syntax for defining macros and document them
macros are already supported by parse.y but can only be defined with the
-D flag. This adds the ``usual'' syntax for macros: varname = string.
While here, fix the markup of the -D flag in the SYNOPSIS and sync the
global `grammar' yacc rule with other parse.y grammars in base:
- add the /* empty */ comment
- increment file->errors on errors
ok stsp@, "sure, go for it" tracey@
- Commit:
885707edec53f628c3039c20031c89670d36d2f6
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
disallow integrating into references outside refs/heads/
Spotted by stsp@ while considering a feature request for
cmd_integrate.
ok stsp@
- Commit:
529beb87076bdd7e139b49203080f45e70cfcc09
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: clarify release instructions
- Commit:
fbe6c5905d61b8ca15b00cc5982dd40ef75bb564
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
badcbcef9d9234e877ad5e95bc6c778625feb263
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.76