Commits
- Commit:
044f7af7d6bad7ffcf97aa37e31405dec90cdf61
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
cast a time_t to long long for printf for portability
- Commit:
31f73b2e2ae353563a0cf45d2350d1ccafadd306
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove trailing whitespaces
- Commit:
233dfb110ba5531b63eec5f1817020cdb6fdbfd7
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got.1: escape Eq since it's a GNU roff macro
`.Op Fl Eq' gets rendered as [-] with groff because Eq it's a macro.
Escape it to get it rendered correctly. Discussed with bentley.
Reported by casaca on the IRC channel, thanks!
- Commit:
7cb3268f328cd3fef36f753e703bcc23960cebc3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
initial documentation for the got-notify-http json payload
committing on behalf of op@, ok by me
- Commit:
d2c8ed98c34274795e1ad799bc324a6c6c664f0e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: netbsd: add stdarg for enter_chroot
stdarg.h is required on NetBSD for variadic definitions.
- Commit:
a58e44b08071a64fd0718a077405e118d9a136d5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotd: enable got-notify-http
- Commit:
3297e96b6239ceb8c55f7582c0666eb9e8836def
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotd: update for session_{read,write}.c
gotd's session.c file has been split in two, so update the sources to
accommodate this change.
- Commit:
7e9b6c634c4de2b6747c1de06c91927e1041303f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: fix threshold for reading the tag message
- Commit:
9e56e3e72fb31e03214fadd7107fe6f2e7b8dbfc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: parse diffstat; adjust tag/commit
- Commit:
407d84f179a431ae476fe791618c496d53903d2d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add test_tag_changed() for got-notify-http
at the moment it is indistinguishable from the created tag.
- Commit:
e0d15deec7a74bfc8dacd62134cf0ffeec5efe4b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: handle new tags
- Commit:
73797f1f62e2046eda762a80e5dbb3bef4a45500
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove trailing whitespaces
- Commit:
4808d170b7770ea1a53f09653147b56eb63e54f5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: handle branch removals
- Commit:
444f59b99925b6ce824237abe01bb94acc6b6140
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
http_notification.sh: add a testcase
add test_branch_created(). at the moment this is not different
from a "normal" commit notification but it'll change in the future
and it's handy to have it for an upcoming branch removed notification.
- Commit:
71b7e0f5998716a56a93bcd86d2469d29d48186d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: add a type:commit field in the json
will help to differentiate these notification objects from the
others.
- Commit:
e2e46a52587eb75658d760ffa601029710526d04
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
small man page fix, spotted by op@
- Commit:
cd634f2d6d87577ed25d69f9b9a9d07c990a4223
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'got status' display interrupted rebase, histedit, and merge operations
When an operation is interrupted add a trailing message to status output
which displays the operation and branches involved.
This information will be useful when diagnosing problem reports and it
helps new users with contextualizing multi-operation work tree state.
ok op@
- Commit:
101257039ae01276572124264470185d2b9baaf0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
man nits; found with mandoc -Tlint
- Commit:
fb077d79464b5f22bd16cb8b0ce4069c749115dd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
forgot to unveil the log message file passed to got commit -F
found by op's regress builder
- Commit:
d4b2e62d5cb4bd0757706877687d1c2bcb15f30c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
initialize and tidy up *branch_ref in got_worktree_histedit_continue()
- Commit:
20d96a10d5e54c5ff61a9ce5a53439d063a0805c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: refactor jsonify()
To support the other types of notifications, we can't just peek at
the first byte and decide wether it's a short or long format.
Refactor the parsing so that there's one main entrypoint, jsonify(),
that calls jsonify_comment() or jsonify_comment_short() depending
on the format of the line. Other "line types" will be added as a
follow-up to support the other notification types.
- Commit:
dada399a5c3d460b46744b7270bb9b07b44c42c8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fold some long lines
- Commit:
9c485a117d54fcaae2d9cfc14cb90bbd5fbec161
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-notify-http: change the layout of the json
Split the author/committer in sub-fields, rename author -> committer
in the short format parser and cache the author for the long format
in case it's the same user as the committer. Put a copy of the
first line of the commit message in the "short_message" field.
There's some redundancy now, but it's to make consuming easier.
ok stsp@
- Commit:
7d119a7cb849b6e7d08ef4db9b4e410607a086e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
call unveil earlier in 'got tag'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@
- Commit:
587493911b4239248b609d7d874fa37435b1da70
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
call unveil earlier in 'got histedit'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@