Commits
- Commit:
f9b5f5fbdf2ae49a4e217212d261d89d83dacd7e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: don't special case BLOB, BLOBRAW and RSS
shuffle some code to handle all the page types in the switch.
ok tracey@
- Commit:
e9e0377f452e9d3f600011e0714cc6c779f10bab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid gitwrapper printing a warning when /etc/gotd.conf does not exist
gotd still requires the config file, of course, but gitwrapper must
treat is as optional and remain silent if the file cannot be found.
- Commit:
c5d17ec881b7f4c35f151faa9d30ac436d812dc3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gitwrapper: execl() directly without fork()ing
Since we're going to unconditionally execute gotsh or git-*-pack, don't
bother fork()ing and having the main process to wait(2), just execle()!
ok stsp@
- Commit:
33121ca5fbb746824ea01ae2f92e0200ab14207b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
c27166a81acd056b37405fecf533a0b9f8d7f4da
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gitwrapper has no config file; copy-pasta spotted by op@
- Commit:
6c5befc77a38fbe198b99fe0564052ffc0f246a6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
require gotsh to exist if the repository is listed in gotd.conf
ok op@
- Commit:
afc4e030773225d5e55d42cd14ed017feadfa2fb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
some formatting fixes for gitwrapper.1
- new sentence, new line
- use Pa where needed
- move ENVIRONMENT before FILES
- Commit:
b09c127974759a56a6b5273da53d215f8500f5a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add gitwrapper(1)
ok op@, tracey@ earlier version
- Commit:
fd39115905268f01383ad19aee3aabb772854b68
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix an off-by-one in got_serve_parse_command() canonpath allocation
ok op@, tracey@
- Commit:
fdd6701019b668502be2d00e042b3f9932a78f36
- From:
- Omar Polo <op@omarpolo.com>
- Date:
grammar and fix typo: rigchtif → right if
- Commit:
5fdcbbb62bc65d9207f8fa4062b856ca904cdcc6
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
extent regress test to check content after histedit fold operation
- Commit:
264c43dd284b0d80829cfab1cb95e0eada61b40b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- 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