Commits
- Commit:
400e716eb939043fdc78e8bdbd0973dabcbb07cf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync distfile list
- Commit:
10c4445c863f88e882efced06b63becbfd07d940
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document SSH-based signing and verification in got(1) and got.conf(5)
- Commit:
48f194072bb9a53b38b7ccd52d49306033ba7414
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in tests, verify that tag -V behaves like tag -l plus signature verification
- Commit:
ef98a369796fc222fed7184de02b28622b5b1770
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
got tag -V is like tag -l with verification, fix option-conflicts accordingly
- Commit:
49a2d94a5f7df3001e60ade1362ad31c2895a496
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove parts of tag_create_ssh_signed which just duplicate the tag_create test
- Commit:
78817826917980c893186ca523093b97061f40d5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -v option to 'got tag' usage string
- Commit:
153d5e5853a81c12e6cca6d33811d97ab94768bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add option-conflict handling for 'got tag' -s and -V options
- Commit:
ca61cecaa7d978cae3b4292c2f16001a71e77ec6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -V option to 'got tag' usage string, and replace underscore with a hyphen
- Commit:
2c986b8f7e0c4aa36f452ee05715a26fac32c39e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check for specific chars instead of using isspace(3)
Reminded by naddy and stsp; it was missing a cast to unsigned char to
prevent issues on archs with signed chars and was too broad anyway.
While here, drop an extra check immediately after.
ok stsp@
- Commit:
888ae65035a604f22010ff55f5499a3d137f930c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
got_date.h: add explicit #includes
Don't rely on implicit/"hidden" includes, but rather add them to the
header file so their inclusion doesn't result in missing values.
Although not explicitly a functional change, this does help -portable.
This ensures size_t/time_t are always present.
OK @jrick
- Commit:
5c5d88bfed24f830451380e4398c7749207188db
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
remove duplicate test_parseargs call
spotted by op@
- Commit:
a82759bba72a25e2887499e3c626b5390aa2c11c
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
fix echo/printf order and actually run the test
- Commit:
c632297d7b6d7267543afeb7b052dc8a970cdefe
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Use pipe() which is a more understood syscall than pipe2() which doesn't
exist on MacOS, for instance. Since we we're passing in 0 to pipe2(),
this mean no fcntl() flags were being sent. As such, it's the same
syscall as pipe() which also has the added benefit that it's more
portable.
committing on behalf of thomas with my ok
- Commit:
2c0a0d66f9ad7d4ac44536836679ed1d27a8ce33
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
whitespace fix
- Commit:
91d845ad5d8f8897e51d3f9233a9ea3e89fee80d
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
fix tag signing when the key file does not exist
This should fail without creating any tag. Before, ssh-keygen(1)
would print an error to stderr, but got would create an unsigned tag.
ok op@
- Commit:
41e8d27de3dea9d283199eb2e1a7f6a98ee9286f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog man page: provide a hint about differences between Myers and Patience
- Commit:
26e6f38e73535ec12ae2ba9e4f78cd6f41b14c63
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got.conf(5) mirror-references to mirror_references for consistency
Existing configuration files will keep working for now since the old name
with dashes is still recognized by the config parser.
- Commit:
f1bf60d10a22f5990303b68967a6cbffab2c5f04
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got.conf(5) fetch-all-branches to fetch_all_branches for consistency
Existing configuration files will keep working for now since the old name
with dashes is still recognized by the config parser.
- Commit:
a6d37facd3db72c084380ebec6d6160ad8ee4763
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: add C-g/backspace key map to abort compound cmds
Problem reported by stsp: 9999j would tie up tog till completed. While here,
trim trailing whitespace in tog.1 and make C-g alias existing backspace abort
key map for search and G in log view.
ok op@ and stsp@
- Commit:
49b24ee54927319519e1a84959f9f4040f4dc16e
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: expand horizontal split support to all views
With this, hsplits are now available to the same parent/child view combinations
as vsplits. Includes OB1 log truncation fix from op@ that was reported by stsp.
ok stsp@
- Commit:
4d5ee9564a9e46a1f634f619833c62f636cfbdc1
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
create and verify tags signed by SSH keys
This adds a new -s flag to 'got tag' that specifies the signer
identity (for example, a key file) of the tagger. The tag object will
include a signature that validates each of the tag object headers and
the tag message.
Verifying these signed tags requires maintaining an allowed signers
file which maps signer identities (i.e. the email address of the
tagger) to SSH public keys. See ssh-keygen(1) for more details of the
allowed signers file. After creating this file and providing the path
to it in got.conf(5) using the allowed_signers option, tags may be
verified using with 'got tag -V tag_name'. The return code will be
non-zero if a signature fails to verify.
ok stsp@
- Commit:
6c77e0337609d941281f017b3e0229ae45a35b7a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix imsg_add TREE_ENTRY: Result too large on i386
There's a math error when computing the size of one entries in the
batching code. Reported by semarie, ok semarie stsp
- Commit:
501834af38124c2210b66fa6705cc0890781b539
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix leftovers from long -> int change
when changing the line addresses to be int from long the report
callaback was forgotten.
- Commit:
a92a20426c3078772e9cc8671b4c58ed9a07b9bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: handle mangled whitespaces
This makes 'got patch' try to ignore whitespaces when trying to match a
hunk.
Discused with and ok stsp@
- Commit:
5dffb1a14a4e706b322f648797d0fea44e684aa8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: don't loose the x bit when merging with diff3
This fixes a regression introduced with the diff3 merge: files merged
this way have their permissions resetted after patch.
The issue is due the fact that patch_file looks at a temporary files
and not at the original "old file".
Reported by and ok stsp@