Commits
- Commit:
af21bb7e28a5a337eb50bfd364a1e1640c6f97b1
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: implement automated test harness
Add framework for scripting tog tests by capturing screen dumps to compare
with expected output. Includes some preliminary log view tests but lots more
tests are needed to cover diff, blame, tree, ref, and help views.
ok stsp@
- Commit:
859316d03c1ee64b2c2fd2787e727daadf60bcf3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd/gitwrapper start up even if a repository is missing on disk
This should result in more useful behaviour when gitwrapper runs and
repositories listed in gotd.conf do not yet exist or do no longer exist.
- Commit:
cc88020e952af813c1e01b91ab6516969562e972
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spurious empty packfile error from gotd when rewinding a branch
ok op@
- Commit:
7755e2f80723b22eb4fcc203ffd75608db7055c7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
consistently close the struct repository on every cmd_*()
Spotted while looking for leaks using Otto' malloc() new leaks
detection. Harmless in practice since we just forgot to call
got_repo_close() when terminating in some cmd_*() functions, but
still a leak.
ok stsp@
- Commit:
565f18a82d800171c586b1877798c6e794b56505
- From:
- Omar Polo <op@omarpolo.com>
- Date:
free fileindex entry upon add_entry() failure
Very unlikely (an occurrence of it would mean that got produced an
invalid fileindex) and harmless anyway since we would just terminate,
but a leak is still a leak.
ok stsp@
- Commit:
6be067cef84c15f7e8623ec8fccaf955d98d006b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
grammar fix for parse.y error message
- Commit:
f850236e70ed5627a614d01de2af54581cbce23f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reject overlapping protected branch vs. tag namespaces
ok op@
- Commit:
584140c2ad19f354c4504d0b3381c873658bdbf3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd.conf: free STRINGS in all code paths
ok stsp@
- Commit:
929234006979da71dc10709a538d7e94eafbe88a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update TODO list
- Commit:
f0426190497546f380f3bbd5d7cf464e5423a1c6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd.conf: fix memleak in `protect' error path and disallow dups too
ok stsp@
- Commit:
9afa3de221045d529287cc3fa75fdc2915aed5c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for protecting references against 'got send -f' to gotd
ok op@
- Commit:
20a2922ac9672923f2aa124d670cde69d69b0cc3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unfold line
- Commit:
97267ffd9f5f20bf2047f4e4e76f1d155dffaa59
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: fix processing of "{" at end of line
add a regress for this case.
- Commit:
2734319d6bf828cb8fdc44a9030605f7bb4c32d1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix crash in got log due to NULL-deref in got_object_blob_close
Reported by Mikhail (thanks!), ok jamsek
- Commit:
8c28a2abbc4aeeb588826ad0010267d507e71ff8
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: resume blame and diff search from the first line
In diff and blame views, if the user scrolls up during a search, resume
search from the first displayed line--not the current match. This makes
sense in these views as the "cursor" or current line is the first line.
Patch by Mikhail.
ok op@
- 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