Commits
- Commit:
edb9a1809d3b83a6eb573160c0c60b19a65a383d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got patch: re-add forgotten lseek
otherwise got-read-patch can't parse any patch because the position
indicator is at the end of file. While here fix the return too and set
patchfd to -1 on error (stsp suggestion.)
ok thomas, stsp
- Commit:
2d0f364c3c7dcf075322c2a61665f8624e44bf0c
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make "got cherrypick/backout" match argument against refs before object IDs
Use got_repo_match_object_id() instead of hand-rolled code and pick up
the updated handling of reference arguments.
ok stsp
- Commit:
5f5d5a73a7cc577673dbe0358d961fecf40919b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix got_repo_match_object_id() docstring, it is not specific to commits
This was a leftover from got_repo_resolve_commit_arg() which was superseded
in commit 71a276322e39e17baf5697b5daac8e8fe6ad2ae1
- Commit:
f111bd6ad40f24789055cc9fd2cfc398a54f79ed
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make "got ref" match argument against references before object IDs
Use got_repo_match_object_id() instead of hand-rolled code and pick up
the updated handling of reference arguments.
ok stsp
- Commit:
d3830477eab7ce40f587d0a086dac840174c92bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
document that 'gotadmin listpack' requires a pack index
- Commit:
c33dcdf16b96070979727a3aa0662fc70be252a0
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ref.sh: fix pastos and report the actual command that was run
- Commit:
70e6418ec50331f61e1c705e3c73a659b496bcdd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got_repo_match_object_id_prefix() reject overlong input strings
suggested by + ok naddy
- Commit:
eb3a31e3f279ccfa3de3a8647ecb790e2342109d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: got-read-patch: use compat includes
Remove the global header #includes for those items which are detected
portably.
- Commit:
762ddcd8e63f22e481054b5046adb0f913f2bada
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add landlock to got-patch
Add the appropriate call to tje got-patch machinary to enable
landlock();
- Commit:
d5df63dab35a6063d2fa0b9abfdbd8fd9a50deb8
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable got-patch tests
Enable the got-patch tests.
- Commit:
186c23b673fcf9cdcb51b82bd9b3aa47740f704d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: regress: improve sed "-i ''" on linux
GNU sed doesn't like "-i ''" which on BSD means to not keep backups
around. Scan for "-i ''" and replace with just "-i" which will use the
filename given to sed just fine.
- Commit:
81e077a6cea50b04ac9be4f63abd004846653251
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: improve macos compat with bison/openssl
Some MacOS systems might not have GNU Bison installed, or have openssl
installed. In such instances the host versions of those can be used,
with a few tweaks around the edges to make them work.
This commit addresses these by:
* Relaxing a HAVE_CRYPTO check for __APPLE__, since the inclusion of the
machine-specific headers isn't dependent on openssl being installed;
* If the non-GNU version of bison on MacOS is being used, define any
missing YY* variables, and add a compiler #warning so we log
something.
This also updates the CI scripts to default to the system versions of
bison and removes openssl as a core dependency -- it's more likely
openssl is going to be installed, so removing it here will mean we can
catch the case for just the MacOS-specific failures, and the inclusion
of openssl on other OSes should cover the rest.
Noticed by Evan Silberman
- Commit:
de3c84b6c8bbf16375d2e224b441bf38fece5b9c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
pass the callback data instead of hardcoding NULL, ok stsp
- Commit:
d953d89953407bff647a8992583c9f0850f5771c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove needless header inclusion; lib/pack.c does not need got_opentemp.h
- Commit:
94af5a06f725ffeb02b8a53eb2010a094d0a8d14
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix path to the temp file used to accumulate the patch edits
ok stsp
- Commit:
10cdd9aa9fb3ff6b9725b1aa5d44e1fb8f791e18
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use test(1) -eq and -ne to compare integers; ok tb
- Commit:
02e4f0d8960ea6dfa748bceeaf6f32f9ac670834
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
typos
- Commit:
1317cd3ad27e14161537469bbc064a4805194e76
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: README: clarify jot for regress
When running the tests under Linux, jot(1) can be found in the
athena-jot package.
- Commit:
973f3f6e968a6729bf43c2421b75db48ff4626b4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable got-read-patch
Allow the libexec helper, `got-read-patch` to be compiled, portably.
- Commit:
069bbb862c310dff25056a8d02a59bded471478d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add `got patch' command for applying unified diffs
- Commit:
2996af606b867ab0b3b24540e78fb6e2e9ce30f3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix level of indirection
ok stsp
- Commit:
26ec43f5492676f9f278c13bb5333f19ac5d7cba
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make the URI parser tolerate trailing slashes at the end of the input URI
ok naddy
- Commit:
b26177ada1d244a139f037595c3d8119c8fcdb14
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add support for DragonFlyBSD
This adds support for DragonFlyBSD.
- Commit:
e499844e1f1133e5e1dcf58d89f8e6444b91a3eb
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: update README
Mention which operating systems are supported.
- Commit:
d9e4d43f37814a1e0752ec2b6bae2882b69fa569
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: improve panelw detection
Rather than making certain checks for panelw dependant on the underlying
operating system, actually use pkg-config's detection mechanism
properly.
This makes the checking for panelw much easier and broader for other
OSes which might have either panelw or gnupanelw.