Commits
- Commit:
7a4d2c244110a34fed1abc76faa9824c417d83dc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix logging during gotwebd shutdown
During `rcctl stop gotwebd' the sockets process gets a SIGTERM and
dies, and this makes the parent process assume it exited abnormally.
Instead, catch SIGINT and SIGTERM and exit gracefully.
Issue reported by xs on IRC.
ok jamsek
- Commit:
53f578a6d94eeb340775f5e05c24fb9a5df33236
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: fix colour of target lines in dark mode
reported by xs on IRC, thanks!
- Commit:
75986fe9c4c033eb0f72c9d59e320f7208c445c2
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Test log -b <path> traversing a merge commit.
This tests for the bug fixed by c8255edc. ok stsp@
- Commit:
bae38d30ef50432e0083cb668dcb58e416fa70ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
handle merge commits that are unrelated to requested changed path history
Problem found and fix tested by James Cook.
- Commit:
2698e19876c3e5680cbec8b2267b360d2cf080ac
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: CI: update FreeBSD image
Bump the FreeBSD image used on Cirrus-CI to FreeBSD-13-2
- Commit:
815470d403e59ff4438e21bc01b4c4b4aac3b579
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug some fd leaks in the fdopen{,dir} error paths
There's also a memory leak fixed. ok stsp@
- Commit:
098056c9af1a2a51aeabb65765cdce5ffc5f1021
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style: no-op change in practice
change so it matches the style used in the rest of the tree.
ok stsp
- Commit:
5bb151602f7bbbdda1d76e528186ff4de4060b7c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove stray abort() call; ok stsp
- Commit:
04ddbc75ae91738a071c04bb2f2d6c9ff4dac225
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove unneded wbuf->fd = -1
There's no need to set the fd to -1 on ibufs created with imsg_create(3),
and it was probably never needed.
- Commit:
3d97effaa4fe16c79f725bf260f06220e62e5c6a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
convert to use imsg_get_fd()
While here also fix a fd leak in got-read-pack. We were dup'ing
imsg.fd without closing imsg.fd later; instead just use imsg_get_fd()
to extract the file descriptor.
Tested by falsifian and Kyle Ackerman, thanks!
'go ahead' stsp@
- Commit:
83985e6a8ae699605976783dc7e854050f1bd79f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: try to improve copy-paste from BLOB pages
This moves the space inside the line anchor and makes it non-selectable,
so that when copy-pasting, only the content of line lines is actually
copied.
At the moment, this seems to behave slightly incorrectly in firefox
which inserts a double line break due to the presence of unselectable
elements inside the selection. Hopefully it will be fixed, chromium
behaves fine.
It also still works decently on text-browsers.
ok stsp@
- Commit:
f03e50d6fa7d457cde6feabb23a528f11bb45461
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: guard against missig folder and file parameter in BLOB and BLAME
ok stsp
- Commit:
99e30d93bfe048c40e277fed11e065fdb420d51f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow remotes without urls in git config in gotd
This is b624328edd but for the code used by gotd. ok stsp@
- Commit:
2eb6139c99c62e54720d434e6ab75a5b3b82c57b
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow remotes without urls in git config
Also, add tests.
This change lets got and related tools work when the git config
file has "remote" sections without urls, like this one in one of
my git-annex git repositories:
[remote "h0-rsync"]
annex-rsyncurl = (some url)
annex-uuid = (some uuid)
skipFetchAll = true
Running tog and many got commands there would previously result in:
$ tog
got-read-gitconfig: gitconfig syntax error
tog: gitconfig syntax error
The change to got-read-gitconfig.c is by stsp@, with ok from op@
(and now me). Tests ok stsp@.
- Commit:
ceda7883426ddd62fbad61fd7b4855f18b7244ad
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix one error being ignored in got_privsep_recv_gitconfig_remotes
- Commit:
1d84e08292747f0be91c166aaf820a3f0e87325d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got.1: use typewriter-style quoting in got.conf author example
Otherwise copy/pasting from the man page to got.conf produces syntax errors.
Noticed by mlarkin@
- Commit:
f46da2e2c90f543ad25f6f27279cedcdb4703e43
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: move got_comat header include
- Commit:
3bb9eb8b6af322c1fa4de61ab5e59b4efb865c65
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: compat: update imsg
Update imsg from libutils via OpenBSD. Needed for some imsg->fd
handling.
- Commit:
e6ff8549d99775dce8770bb6ddd458cae19543dc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-read-patch: use imsg_get_fd(), move FILE handling in main
also improves the error message in case of no fd was passed.
ok stsp@
- Commit:
44f875ad4b93ddb8d0e717a6ca564ce84de7f4e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid opening objects in the gotd session process for no reason
The session process opened an object as part of a sanity check and
simply closed it again. Opening an object involves decompression
and combination of deltas. Add a new interface which checks whether
an object ID exists without such overhead and call it from gotd.
- Commit:
84a2cae442d6c7544bc5e515da4e4465f69ec128
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.8: improve EXAMPLES sections
tweaks and ok stsp
- Commit:
c6c5c5fd9c8ee7a991803e2a8221453bd04f6153
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: retire max_repos setting
Unlike max_repos_display which limits the number of items per page,
max_repos is an hard-limit on the number of repos gotwebd would
process.
"kill it with fire" tracey@ about the idea
ok stsp
- Commit:
b2d220cf5cce7755b132e4a26b7cde2cbdc09cba
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf.5: show defaults, improve EXAMPLES
Show the default value for each setting where it is documented and
so trim the EXAMPLES section down to bits that are actually
understandable.
While here, some minor tweaks like fixing the syntax in one example,
s/IP4/IPv4 and s/FCGI TCP/FastCGI.
ok and tweaks stsp@
- Commit:
e85a14fab54d116e5aa188fbc1c8f319042a197a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add knob for the number of tags and commits in the summary page
ok jamsek
- Commit:
e2ac8a3da0010ac9a2d6ed0457d75d71b3a27ce5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: remove PAGE handling
The page querystring parameter is long gone and currently unused.
It was replaced mith the "more" buttons in all the views, except
INDEX that uses `index_page'.
ok jamsek