Commits
- Commit:
4c3169974bebdf5072ad0f7974f68db8676c644c
- From:
- Tobias Heider <me@tobhe.de>
- 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:
2a83473170f99c9eb12c94532d036d8e02fbfd9e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
for now, remove a workaround for http fetch that was added for unknown reasons
ok op@
- Commit:
c1003102a22a77d068a14f9ffa7877f67c28e95d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: add the repository name in the json
ok stsp
- Commit:
813645df7b21d54ae779e80fc6e7ad9c913b67d6
- From:
- Tobias Heider <me@tobhe.de>
- 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:
fe24f0a37093d812e8f7eb29a626a6d3f0b92aea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve got-fetch-http request/response logging in verbose mode
- Commit:
da442b3fa9d5c38fd34163d717dd07a26cd35ceb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
man page updates for HTTP clone/fetch support
- Commit:
ad3b5b58b098ef83ec0c06619a6cb3272a74bcf5
- From:
- Tobias Heider <me@tobhe.de>
- Date:
Rename got-http helper to got-fetch-http to match naming scheme.
We aren't planning to support sending anyway.
ok stsp@
- Commit:
ced242c2ebcf8284b1cb695dc144461cace5313c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Tobias Heider <me@tobhe.de>
- 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:
72cc612fc3a0ca437b8ae0c55ff815e9a1a9e766
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
get rid of unnecessary "dns inet" pledge promises while fetching via git://
- Commit:
6cd04c7054a96d0025d9a12fc17c8ffbc5085925
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
bbca3812085e5772aac555a22b906351d2acfe91
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add test for read-only access on empty repository
- Commit:
166674b8808a9a16a3cff59d166410cd37833014
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
2fed5287a0b2737115e6d0dcad77a6b371206cb1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: use seq instead of jot
This is just for -portable since jot is not always available.
ok stsp@
- Commit:
c623f22185d49aeb866ddc765ad0becfb2052e35
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cast a time_t to long long for printf for portability
- Commit:
8bffa12946bc31a810c9a0dc418fc23f0bd227b2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove trailing whitespaces
- Commit:
124eeb84c84b5d49a94e0210e4add23c6da93b47
- From:
- Omar Polo <op@omarpolo.com>
- 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:
85d7db14be73c565d470f20f48186f650021be1c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
initial documentation for the got-notify-http json payload
committing on behalf of op@, ok by me
- Commit:
e789f02b267046e82b75e50ea5239a477e7e1d75
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: fix threshold for reading the tag message
- Commit:
763b7f49146da1df5142d9f88651f4516b1d1a88
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: parse diffstat; adjust tag/commit
- Commit:
cd18253299922842254cc506eb7fa85be402962d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add test_tag_changed() for got-notify-http
at the moment it is indistinguishable from the created tag.
- Commit:
553d83475bd124e7e5ba693c5ae9313d21d2139b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: handle new tags
- Commit:
7a0952773e482459a286e0128d0a192fcaaeb8c9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove trailing whitespaces
- Commit:
d60570848cd614b529f720c17d37d54c77dd5949
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: handle branch removals
- Commit:
914bfd3ddbdf1adc0adf828c7531b8174b6b2010
- From:
- Omar Polo <op@omarpolo.com>
- 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:
936239010f884c916c0f8680490fea91813b5334
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: add a type:commit field in the json
will help to differentiate these notification objects from the
others.