Commits
- Commit:
943e9ed21cb1949f950a6f921d59b438cb759ae2
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: flatten LIBS
Set LIBS to the empty string so that only the specific dependencies are
included where needed, rather than relying on autotools to do this for
us. This will make splitting out got into different subprojects easier,
as well as allow for multi-packing on those systems which support it.
- Commit:
1ef7c68a194549db7b9f945ef5910cb5394d4cc6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: extend got_compat2 include guard
Extend the include guard to the whole file.
- Commit:
4fccd2fe0ffbbc668b66abe63614470635f92f1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: split out dependencies
Rather than assume all dependencies are required for all programs, split
them out.
This will make packaging easier, as well as splitting the code to use
subprojects.
Note that due to the use of config.h semantics, in most cases the
got_compat.h header file is now at the top of the .c file it is included
in, so that it can handle the system header inclusion properly.
- Commit:
b49d4941c8516ec9461a2de2615819f87c4e9acd
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: Makefile: add -Wno-pointer-sign
Ignore warnings about pointer-signedness. This may well get fixed
upstream, but won't hurt to be left here, regardless.
- Commit:
47dc83f5bed376c49b704738968d3f44c8e01d1e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: use config.h
So that the command-line flags to CC don't get drowned out with copious
-D flags, move this detection to config.h instead.
Note that to reduce the code churn, the existing include/got_compat.h
header file has been renamed, and the generated file replaces it, but
with the contents of the original header file included.
Eventually, we might want to move some od the logic in
include/got_compat2.h into AH_VERBATIM() blocks, but for now, this is a
good compromise.
- Commit:
7f0ff4a55b1edcc332a395004bc76356777e30d8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
8f8b8c0017982b32248bd2fe9024245b21ce6af6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.85
- Commit:
bc3b59da2e3143efa33c56b9887ec506df8ed1bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync distfile list
- Commit:
8f3fcd24aef7952f1b7bd1b00ca3b39b31b2137d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ensure that obj/parse.h gets removed during 'make clean'
- Commit:
046f76c30e642757d0d52b64eabd263c7c206fec
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotd sometimes reading reused deltas from wrong pack file
The reuse-pack is pinned but may change its cache slot while objects
are being deltified. Refresh the pointer to the pinned reuse-pack before
writing out the pack file, ensuring that reused deltas will in fact be
read from the reuse-pack and not some other pack. Otherwise gotd may send
a broken pack file, or hit an ERR_RANGE condition if the pack file which
now occupies the pinned-pack's old cache slot is shorter. Which can trigger
attempts to read beyond end-of-file which show up in the logs like this:
gotd[37311]: repo_read /var/git/got.git: sending packfile: value out of range
gotd[43877]: uid 1002: value out of range
gotd[43877]: uid 1002: disconnecting
- Commit:
99fe3033f2c5c27a510a69c329fb1a542c4620cf
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add xfail test for histedit folding of delete followed by add
If a file is deleted, then in modified form added again, folding
should restore the file with its new contents.
ok stsp
- Commit:
31a4bd82de06791beb82e8f570cc0236202acca5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: add back GOT_TEST_PACK
The definition for GOT_TEST_PACK went walkies during a previous merge
conflict. Add this back.
- Commit:
6d5b325d9740b5ea90167a5e47ecba3ff3777d2f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: remove sed wrapper
Now that the use of sed(1) in tests has been replaced with ed(1), the
sed wrapper can be retired.
There are existing tests which use sed, but they're modifying a stream,
rather than using -i, so there's no portability concerns.
- Commit:
ac3cdf31e06d51b4966449da12216d3614e10576
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: replace "sed -i" with ed(1) for portable in-place editing
"sed -i" is fundamentally unportable. GNU and OpenBSD sed(1) treat
the extension for the backup file as an optional argument and use
"sed -i" for no backup file. FreeBSD sed(1) treats the extension
as an obligatory argument and uses "sed -i ''" for no backup file.
There is no single syntax that works for both.
ok stsp op
- Commit:
40f2f72b99bb70a7be40eada71e5acd8a77ab58d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: drop setting LC_TIME
common.sh sets LC_ALL=C which makes this change unnecessary now.
Patch from Christian "naddy" Weisgerber.
- Commit:
ff1048fe6533da9ae32e41ef20f87049963ff708
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: minor cosmetic cleanup
Drop the forcing of "command" when calling sed(1).
- Commit:
e33b5f976eb631d64485474683cea67a7cf6f712
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: improve date wrapper
When looking for a suitable date wrapper, don't use the platform name,
and rather use date(1)'s own parsing to choose BSD date, or gdate (GNU).
Additionally, only declare the date() wrapper once.
From Christian "naddy" Weisgerber
- Commit:
8fedfb3cc9c6c88a5105f3926595d3807da6922d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress/commit.sh: tweak editor.sh for test_commit_prepared_logmsg
no need for sed (which doesn't change anything anyway), a no-op editor
script is enough; the test ensures that the prepared log message is used.
ok naddy@ stsp@
- Commit:
e4db89dadcac32808683a0ec7955ba4a526940dd
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: override locale settings
ok stsp
- Commit:
18a742f3faa91be1c87c982422caa71b2a8c8aff
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
don't pass -d to yacc
Patch from Josiah Frentsos, thanks!
- Commit:
42f290d4d3d7cc6d6385a343d6c20f58c6369305
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: remove more (all?) double process names in log
- Commit:
7161c4dc69ceb7852360acd62d0cba0da0d5afb4
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: Fix more double process names
Patch by Josiah Frentsos, thanks!
- Commit:
8879c44af78c9ffd90054559b21b34d521ee898b
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template: sync usage() with man page
`-o' was missing. Patch from Josiah Frentsos, thank you!
- Commit:
c7b033592499270a8ebe2d95a0b69ae4884bca5f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
20a7eac510ad75d6907371c4c121c5e870ade578
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: CI/README: update for coreutils
Mention that GNU coreutils is no longer required on *BSDs to run the
test suite.