Commits
- Commit:
c1233c7fd72e99312b77804f7decb19236efd914
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: add test stage to all runs
Whenever a CI change is made, also run the test suites. This is enabled
for just Ubuntu and FreeBSD for now.
- Commit:
432c637b8849b493bbe9a6907f2adc9e3d6d9c32
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: improve sed handling
When massaging sed command strings, to handle the differences between
"-i ''" not meaning the same thing on non-BSD systems, this previously
used a bashism to determine the positional arguments.
Instead, defer to using a loop which doesn't rely on bashisms.
- Commit:
cc5596d8c4a9f7e1fc5a632e5093e23f4fb80cb5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: remove backticks from string
Remove erroneously-placed backticks when describing a lack of GNU
coreutils.
- Commit:
980b161540a9fb1b3691c610b5799ea1d3158a97
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: make OS-detection sh-compatible
Don't rely on $OSTYPE being available, which it isn't in strict POSIX
mode. Ubuntu's sh is often alised to dash, and hence this fails.
Instead, default to using the output from 'uname'.
- Commit:
8f000c9d285bf6e6880991a0eefe0c5db5084cbb
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: ci: add ubuntu
Add Ubuntu as a dedicated CI environment. By default, sh is aliase to
dash which often provides interesting challenges for portability, so
making this work here is a good thing as mistakes will be spotted
earlier.
- Commit:
e8da6c412759282e41c232887b3c9e4bdb3362e3
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: harden coreutils check
When running tests on non-Linux systems, it was just assumed that GNU
coreutils had been installed. This meant that the wrapper commands for
date/ln on those systems always had gdate and gln installed.
Rather than assume that, check to see if the GNU coreutils versions as
present, and if not echo a warning.
- Commit:
d3b82051e9673733a447d3fec7d1326f0a87e359
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: set PLATFORM when running direct
PLATFORM is populated when running via `./configure && make` but this
isn't guaranteed if an individual test is run directly, such as
`regress/cmdline/tag.sh`. In such cases, PLATFORM will be empty, but we
still want to use it. Since we test for non-linux values, only set
PLATFORM if we're running on Linu so that the correct commands are used.
- Commit:
b9e3c50406aeac333955263c028944bb064a695b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove stale comments
Remove comments which are no longer required.
- Commit:
53d2bdd3e37f479b355cf7c28a6d404076799570
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: implement +/- keymaps to resize the focussed split
Increase/decrease the currently active split. New dimensions persist for the
tog session, irrespective of subsequent closures and new child views.
suggested by and ok stsp@
- Commit:
644866927109ba80d819dc2b19530253fd93be58
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: implement global 'S' key map to switch split mode
If in a vertical (horizontal) split, switch to horizontal (vertical), and make
new split mode persist.
ok op@
- Commit:
dab315a53201f10e04361d5f740a7e921260d60c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use got_privsep_flush_imsg instead of reinventing it
ok stsp@
- Commit:
e215b807ba3c0b3e54a5ea161e750ac3466a1b0e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
get rid of unneeded recv_imsg_error calls
got_privsep_recv_imsg users don't need to bother to look whether the
imsg type is GOT_IMSG_ERROR because got_privsep_recv_imsg already
takes care of that and turns GOT_IMSG_ERROR into `struct got_error's
automatically.
ok stsp@
- Commit:
9b5e2ebd207db582ccb731c9543408456af87000
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rework got_privesp_recv_tree to use got_privsep_recv_imsg
ok stsp@
- Commit:
eadd2d4623d9f234e06467faaa563e9186c8d38b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: delta_cache: remove includes
Remove those includes which are searched for portably.
- Commit:
6dc6a24ce5eb2ed4c94b53a3cde4cd13415c35e1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix buf_alloca error handling
Left-over from how OpenRCS/OpenCVS do error handling. OK stsp@
- Commit:
b9e845cdc26dd6b4006984d6bb7c5c45d5c8bc24
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: use bs=1M for dd, not bs=1m; fixes -portable test failure on ubuntu
GNU dd only accepts upper-case letters for the size units.
- Commit:
26498a8b19806608c6307f826526faf6987b90fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
- Commit:
ff5e1f096349d36a0ba772c0d78a21b2ab54e060
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add signer_id option to got.conf(5)
Setting this option will cause 'got tag' to sign all created tags using
the SSH key, unless overridden by the -s flag.
ok stsp@
- Commit:
8fe0cd3a6f849b803a9113fa3a2e06fad9f5315b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: rework date command for Ubuntu
Don't rely on '-r' for date as it's not consistent across linuxses.
Instead, expand the variables required and use '-d'.
OK thomas@
- Commit:
1d7053d6b0ca752f59bfb4059699ae9154e2ddcd
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: fix fetch compilation
Add missing files for testing fetch.
- Commit:
a8fa2ba8469e013475c403304989843b7fc17ae8
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: maintscripts: reverse cherrypicks
When cherry-picking commits from main, do so in reverse order so they
match more linearly with main.
- Commit:
e4badaa9b90e135ea0f13cd89fafdcdbf2ea8a83
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mention Austin Appleby's public domain code for completeness
- Commit:
de71b616b660daefdfc491cf848bc1c61c1df208
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mention additional copyright holders in got(1)
- Commit:
f6fad9f6e58b7cabe35526dfdb3d8d231497e8e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add two more authors how I missed during my sweep of commit history
- Commit:
b345cf8fd5187a40cbb157aa44820e8ec2e876c0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Xr gotweb(8) from got(1)