Commits
- Commit:
fd27565d37c3605985832642ed903ea7ba753db4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.86
- Commit:
8f37175d25c1d0451e8296399000433f716d8218
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: reply with non-200 HTTP status code on error
ok tracey@
- Commit:
df2d3cd2545e0a1579ce83ae137e52135755ed1f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: provide gotweb_render_page() entrypoint for all pages
simplify gotweb_process_request more, handling all the pages
inside the big switch. There's only one entrypoint for rendering
the templates gotweb_render_page() that takes the page' content
as argument.
The only real difference is that gotweb_render_index() now skips
directory entries which fails to handle.
ok tracey@
- Commit:
d48a8086b67edd7493bbf2476bf5f75eaf47ba2c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add test case for 'got update' changing a directory into a file
- Commit:
07fa936579660934e2b84e747df1d21810278e11
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle files changing into directories during 'got update'
problem found by naddy@
- Commit:
5add7f42e1397d136860680e1f0411db17b4f22c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: handle short reads and timeouts
If a short read happens, or if all the fastcgi record to read don't fit
in the buffer, gotwebd fails to continue reading and hits the timeout.
If this happens before gotweb_process_request is called, it will crash
in gotweb_free_transport since c->t will be NULL.
This register the event with EV_PERSIST so fcgi_request is called again
when there's more to read and guards gotweb_free_transport. It also
makes spaces for the records as soon as they're successfully parsed.
With lots of help from stsp
ok stsp@
- Commit:
6cc8a118a74d4c7a3f037ad0f755a3aadf5288d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dial: fix quoting for git-shell
Escape the path to the repository when connecting via SSH. This is needed
if the path contains spaces, quotes or other "funny" characters, but also
by git-shell which requires the argument to be surrounded by single-quote
characters.
Issue with git-shell reported by James Cook, fix based on an initial diff
by stsp@.
ok stsp@
- Commit:
760a1ec3d507da3e46a5dc13041ad1a23cfc0847
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make diffing files which changed into dirs and vice-versa possible
Problem marked with a TODO comment by me ages ago and rediscovered by naddy@
ok op@
- Commit:
8c9ae19cb1bac895dd2fd156f76df95c53ec375b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
clone.sh: fix copy-paste error
`got log' is ran twice against $testroot/repo so log-repo and
log-repo-clone are identical. Instead, run `got log' on the
clone repo the second time.
ok stsp@
- Commit:
9a298e5c10f6c68afbaca853454de2787a312c81
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
support histedit fold operations which delete a file and then add it again
problem found by naddy@
ok op@
- Commit:
8d98a775225f31c6c2c71c5d40f1d323a6f552bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd sending too large pack files in some cases
Make gotsh pass all have-lines sent by clients onwards to gotd, reducing
size of pack files generated by the repo_read process.
Problem reported by naddy@
ok jamsek
- Commit:
66993e5902f3e39980a0dada0946e146008a35c5
- From:
- Todd C. Miller <Todd.Miller@sudo.ws>
- Date:
Close the message template file before calling edit_logmsg().
Fixes a race condition on NFS where the file's modify time may
change while the file is being edited, causing the editor to complain.
OK stsp
- Commit:
cee3836880940ba0d1203e0682a43a680132bc27
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
4127fdc3489455c2f4ec9ff2e736a0a57c8642d0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.85
- Commit:
e4c1df54b68e4b7a3d2d0bc3162d8a3a46e93613
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync distfile list
- Commit:
8cc1bc1fdb0f1e450f507433ae7845087d23f09b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that obj/parse.h gets removed during 'make clean'
- Commit:
bdb6cb9b8b2633c831f532e05cb1780710cde9a8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd sometimes reading reused deltas from wrong pack file
The reuse-pack is pinned but may change its cache slot while objects
are being deltified. Refresh the pointer to the pinned reuse-pack before
writing out the pack file, ensuring that reused deltas will in fact be
read from the reuse-pack and not some other pack. Otherwise gotd may send
a broken pack file, or hit an ERR_RANGE condition if the pack file which
now occupies the pinned-pack's old cache slot is shorter. Which can trigger
attempts to read beyond end-of-file which show up in the logs like this:
gotd[37311]: repo_read /var/git/got.git: sending packfile: value out of range
gotd[43877]: uid 1002: value out of range
gotd[43877]: uid 1002: disconnecting
- Commit:
15aed0533476711f5f9e6c64c1e220f6e960e7fa
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
add xfail test for histedit folding of delete followed by add
If a file is deleted, then in modified form added again, folding
should restore the file with its new contents.
ok stsp
- Commit:
885e96dfba200f362ddd1d9795740251bcb6e39b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace "sed -i" with ed(1) for portable in-place editing
"sed -i" is fundamentally unportable. GNU and OpenBSD sed(1) treat
the extension for the backup file as an optional argument and use
"sed -i" for no backup file. FreeBSD sed(1) treats the extension
as an obligatory argument and uses "sed -i ''" for no backup file.
There is no single syntax that works for both.
ok stsp op
- Commit:
57993930913522d8e81509ef26d8e0a26d571815
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress/commit.sh: tweak editor.sh for test_commit_prepared_logmsg
no need for sed (which doesn't change anything anyway), a no-op editor
script is enough; the test ensures that the prepared log message is used.
ok naddy@ stsp@
- Commit:
99a97f809268a7ae2d24198c3c71fea8c884e6d2
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: override locale settings
ok stsp
- Commit:
b43e02dae2f94bde4c5ea9a51f71720f7713019e
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
don't pass -d to yacc
Patch from Josiah Frentsos, thanks!
- Commit:
88f6dccd4e18282613d4e03dab50c46ea4b2ccd7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd: remove more (all?) double process names in log
- Commit:
4f8a1204503f9e372f637e5d3ae5fbaa30b7ecdd
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotd: Fix more double process names
Patch by Josiah Frentsos, thanks!
- Commit:
754c4343fe4580b6105124529c5f279140eb6353
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
template: sync usage() with man page
`-o' was missing. Patch from Josiah Frentsos, thank you!