Commits
- Commit:
ddb4fae82208a38441169b7c37fd5da36c00e01c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.100
- Commit:
d7438101de9b4b5380ac35e50ad7b04ede66b1f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
0d34b85f76c5c85c25257f023e4fc89e248e32ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotadmin sits in section 1, not 8
- Commit:
f0e09e7dfdbb343ff305d9f64c1808bbe5b5dcfa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got.1 point out all the companion tools for easy discovery by new users
- Commit:
433eb77d4f00be3e4a69641f7a61b4e5c6935a15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reintroduce the 'got init' command as an alternative to 'gotadmin init'
New users trying out Got for the first time have reported trouble with
finding a way to create a new repository, based on their assumption that
Got works like Git which provides a 'git init' command.
It doesn't cost us much effort to keep this command available in both
programs to make discovery a bit easier for new users coming from Git.
- Commit:
2b1d417da7256f4a2ca5a1e7d20a9ba901dec893
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix pack file transfers which do not use sidebands
Found while running 'got clone' against a git9 server, after an
unrelated issue was reported by Lucas on IRC, thanks!
ok op@
- Commit:
f9723081c18b7e34cbf6bb15792c3965670deaab
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug 'got diff obj1 obj2' line metadata memory leak
Despite API callers not requesting it, we collect line metadata due to NULL
pointer checks missing a level of indirection. Reported by Kyle Ackerman.
ok op and stsp
- Commit:
f57c91b34d24c53c184e2840aa0f616a96d4f764
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug a leak in a few cmds: forgot to free(cwd) at the end
spotted while investigating for another leak spotted by Kyle Ackerman.
ok stsp@ and jamsek
- Commit:
c2f5b3e63df878c687928a616ef24e87131a795e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: avoid unnecessary strcmp in gotweb_assign_querystring()
- Commit:
1552435e8b0c7c7d4bcbb29087e912debeed3388
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: lower the level of the qs ptr-to-ptr
- Commit:
d5c153d0d827ef4993f41fca5a6eff8736e85a76
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove previd and prevset query string parameter
They're no longer used.
- Commit:
9ba23f168f80cb5a70c47b1a937de20515bfc118
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: delete dead code
at this point we can't know if the client has disconnected, we just
finished parsing the fcgi parameters and started handling the reply.
We'll know whether the client disconnected only later, while trying
to send the page content.
- Commit:
913884630c0a521173d2d370912867d3010d5f66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: use the last matching fastcgi parameter
in case of multiple parameters with the same name, use the last
matching one.
- Commit:
addd8d40708de74e3dcbfb6962a12f29189e674e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix confusing error message from 'got commit' upon uncommitable paths
- Commit:
c89c70b628c1825024e333214392011409d71184
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got{web,}d: handle multiple -v
only fatal*() and log_warn*() are now logged by default. log_info()
is hidden behind a -v and log_debug behind -vv. Makes gotd and
gotwebd way less chatty.
ok stsp@
- Commit:
2a83fef7ce7879df1f318a442bb1d8d0012fa5e8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: use less temp files
Instead of allocating a whole set of temp fd per `listen' directive,
just use a global set per "sockets" process. This is fine since
gotwebd doesn't keep multiple connections open at the same time,
once it enters gotwebd_process_request() it won't exit until all
the page has been processed. (this because we don't have async
APIs for got operations.)
ok stsp@
- Commit:
da30c05a101318828faf559ea66bc6ce1f638bc8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove a redundant bounds check which gets elided by clang
found by + ok op@
- Commit:
0fa332b53c81ad34f6e60bad94ce41e14d0bffab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove http client support from TODO list
- Commit:
5061349db34001800b847dde0b0652dc2c08fcc9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix missing error return in read_packed_object() on size_t overflow
- Commit:
9bc2ee804d400559347917989bde415da69cbc20
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: allow to change the user
ok stsp@
- Commit:
1220d7ea84811c79f71a7f24917d77cb2f10b02a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got{,web}d: unify log.c
gotd and gotwebd are using almost the same log.c file, so unify.
This only slightly changes gotwebd logs to include the process name,
like gotd.
ok stsp@
- Commit:
c6458e88f5a9085ec9206a60b93a713138b9b2fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: mention the listening socket path under FILES
ok stsp@
- Commit:
c16cda05743b8a017d150757f0b9da0bc5bffa83
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove unix_socket_name
Now that `listen' is a top-level, `unix_socket_name' is useless.
The default socket remains /var/www/run/gotweb.sock, to listen on
an alternate socket now `listen on socket "/some/other/sock" can
be used.
part of a larger diff that's ok stsp@
- Commit:
d68a7b14eb6995f6fc4c877ea24276f6b0174f85
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make `listen' a top-level statement
gotwebd only uses the server name (i.e. the Host HTTP header) to
match the server blocks. Since gotwebd by design sits behind an
http server which is expected to filter virtual hosts, there's
little point in having `listen' per-server.
part of a larger diff that's ok stsp@
- Commit:
0f88252c795396951ad9bcf40c534b5852dc5e28
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust gotwebd.conf(5) after recent change
it's no longer required for the host:port tuple to be used only by one
server.