Commits
- Commit:
8e1fcd55c45b2b550cec5585276e93d7f5d896fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
log pkt lines read and written by got-fetch-http, in verbose mode
- Commit:
d26cab49f3ea5045a51e36dd8314bf996aeab302
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
gotd: don't ignore error in session_dispatch_repo_child
ok stsp
- Commit:
f0b0cfba3e8297bc87bbd8a9aa2e9d84a0ac6497
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: implement basic authentication
ok stsp
- Commit:
ff4d9c2e05d9f8f0b985f1ca27789ff37c9968bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add comments to the HTTP fetching process which clarify how it works
- Commit:
8ee2e0cf585dcaf492487fb8afc4c9099194651a
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Remove some dead code
- Commit:
452122e274c9980e7776212df071c7104da18d52
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Rewrite got-fetch-http I/O using bufio API. This should help make the
code more portable supports almost everything we need out of the box.
pledge needs the rpath promise because of libtls. This was technically
also the case with the old API but we didn't actually enable pledge
thanks to DEBUG_HTTP.
The synchronous bufio wrappers should probably move to lib/bufio.c
in the future.
ok and feedback from op@
- Commit:
ae3347f19632d3587629f83dae923495c8903a5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
for now, remove a workaround for http fetch that was added for unknown reasons
ok op@
- Commit:
23022bc04f3cdc9d7ed1ecdc30599b7e1515814d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: add the repository name in the json
ok stsp
- Commit:
8ec83e5b6ebab7711854b45048771661a0f9ec98
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Unset errno and bio->wantev if error was not TLS_WANT_*. This is commonly
called in a loop, if we don't clear them we might keep on looping.
ok stsp@
- Commit:
29460ff0cab862cacf5ec17a35c653e83ffff229
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
improve got-fetch-http request/response logging in verbose mode
- Commit:
cda0eee6bf5beb6465d01eda8542f8c3a4bbce7c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
man page updates for HTTP clone/fetch support
- Commit:
09876a9d351bc3b655effc2a43f536444821d43a
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Rename got-http helper to got-fetch-http to match naming scheme.
We aren't planning to support sending anyway.
ok stsp@
- Commit:
37e7d69e10aa17ac243e96c3205d766f02cf58a0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Add initial read-only http fetch support using a got-http helper.
Currently we only support the smart protocol with a limited feature set.
ok stsp@ tobhe@
- Commit:
a6955b87407110ed6d51627190bbb4a514e885d1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
get rid of unnecessary "dns inet" pledge promises while fetching via git://
- Commit:
e9a2eec25cbb6ffad890b7cd4034be1c86095a86
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
drop privileges in all parts of gotd other than the main process
ok thomas_adam
- Commit:
3cb20d616db20a105f3f1744eb680e108c9521dc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove outdated TOOD item and tweak test accordingly
The default deny policy is working as expected according to newly added
regression test. Tweak this test to use an implicit read-only rule,
rather than an explicit one, as stated in the TODO item.
- Commit:
a9c0a12c5e9658f3f46a39a74dfc22a8ca23b16e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add test for read-only access on empty repository
- Commit:
e28ceabf9e2d8ad71b5cec0f4cba20ec0a3bd06d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: README: mention jot's removal
Upstream has now moved from jot -> seq.
- Commit:
54b4b049e35d83055a3ad0ee087d447d92f9cbbf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotd notification test failures due to missing shell quoting
The expected output generated by test scripts was wrong on days
with a single-digit date. Found by Omar's regress builder.
ok op@
- Commit:
cf85a643cb738e18dccf567b3feb58ad14f861c8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: use seq instead of jot
This is just for -portable since jot is not always available.
ok stsp@
- 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.