Commits


portable: update Makefiles sha1.c -> hash.c


portable: gotwebd: use template This updates -portable's gotwebd instance to make use of the new templating engine.


portable: support infrastructure for gotd/gotsh Provide the ability for -portable to continue to compile, until such time that gotd and gotsh have been enabled in -portable.


portable: sort makefile source lines For all key Makefile.am files in use, sort the files so that they're more easily identifiable -- especially when adding/removing source files.


portable: fix tests


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.


move got_gotconfig_read() into new file read_gotconfig_privsep.c


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.


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.


portable: gotwebd: first stab at compilation This is not yet "clean", but does compile. A few things to consider: * See comments beginning with "TA:"


portable: regress: fix fetch compilation Add missing files for testing fetch.


add -q to all the regress scripts


portable: enable got-patch tests Enable the got-patch tests.


portable: add murmurhash2 to deltify test Add missing include for the deltify test now that it depends on murmurhash2.


portable: enable merge.sh This seemingly went walkies, so reenabling it.


portable: running tests when shell is dash Ubuntu's default shell is dash, when using /bin/sh. The portable nature of got is such that "$OSTYPE" to determine the host type (linux, bsd, etc.) is bash-specific and is not part of POSIX. autotools already provide a mechanism for determining the underlying platform type, and PLATFORM is already a subst value. Therefore, let the -portable parts of the regress test-suite use $PLATFORM to look at the underlying OS type. The tests themselves already expect /bin/sh to be POSIX-compliant in all other areas, so there should be no need to change the #! lines.


portable: fix tests Update regress/fetch to compile with bloom.


regress: enable tests Enable the compilation and execution of the tests under regress/


portable: propagate AM_CFLAGS/AM_CPPFLAGS Allow for warnings via AM_CFLAGS in a common Makefile, and let those values propagate to all other Makefiles. Currently the more useful checks are disabled until upstream changes are made to reduce warnings. While here, also fix the version string to remove quotes.


libexec: honour libeexec path for helpers libexec is a common path which is understood by autotools, and should be honoured. Patch from Christian "naddy" Weisgerber


portable: add CHANGELOG Although there is already a CHANGES file, the CHANGELOG is used to indicate any -portable specific changes which have happened for that release. All version numbers in -portable correspond to their OpenBSD counterpart.


dist: rework files for distcheck Rather than having a toplevel EXTRA_DIST target in the toplevel Makefile.am file, move the relevant files to their own Makefile.am locations.


regress: port cmdline tests This commit introduces the 'make tests' target which will run the cmdline/* tests.


enable gotadmin Add gotadmin to configure.ac, etc., so it can be built and installed. OK thomas.adam


automake: Fix path to libexec directory The got_lib_privsep.h header expects the path to the libexec directory to be called GOT_LIBEXECDIR. At the moment it always falls back to using /usr/libexec. Fix what looks to be a typo.