Commits
- Commit:
ea4587d81c5314a815505962a77ccfdfc9b4c666
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add myself in the AUTHORs section
- Commit:
9cb53404b64a1b32afc82a2b651bad614226a4da
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update cleanup -p documentation
- Commit:
86f65ee665477b086b49cae632013ead5b0fbdaa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotadmin cleanup can remove pack files now so update CAVEATS accordingly
- Commit:
2b6cbab50e85642ff21834b4ce6f925880c5149d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not try to explain implementation internals in gotadmin cleanup docs
- Commit:
cbb6b806f36c907884b99309fc6ba8f920b9e8aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
there is no 'got tag -d' command, but cleanup docs can mention fetch -X
- Commit:
af386a8b5a4c6e1c60c9b291053fcd7a9a346915
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reorder paragraphs in gotadmin.1 cleanup section
All the special cases are now being explained last.
- Commit:
1725e0b0a9632b390463cc60dc3f0bd54bf6f67a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
slightly reword documentation of .keep files in gotadmin.1 for clarity
- Commit:
c5058f5da6984ca740b1657e94a804bf71c442b8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mention rebase/histedit -X options in addition to ref -d in gotadmin.1
- Commit:
9a7c12cfb1e1a7e36813ba8898c5281d5a0dbc30
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin cleanup: remove redundant pack files
improvements and ok stsp@
- Commit:
ea4ee74a619549cdfbbf7f824599834f31b72838
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
regress/cmdline: fix handling of unexpected success
Diff from James Cook, thanks!
- Commit:
2f3ccc5ff648594ff13619e304c2a139a917f2d2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gather_on_disk_refs(): skip over bad refs
noticed since gotwebd fails when there's a ref.lock file due to a
concurrent update. discussed with stsp.
- Commit:
1df1761f7094815d15b11a908b2132ca58169fea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd show relevant commit hashes in error message if ref-updates collide
- Commit:
f8780fee7a5de8db320833efc4a30aa1ad3814e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd avoid re-writing existing ref files when a ref-update is a no-op
- Commit:
4448825ab554378228429f5ac53c9cf943cc2503
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dropping unnecessary strlen()s
ok jamsek, stsp
- Commit:
39c864a48b9d156c8b748725f5f89b3bd3f65038
- From:
- Omar Polo <op@omarpolo.com>
- Date:
avoid strlen in for(;;)
ok jamsek, stsp
- Commit:
f987c90b41240068719f2c9e5638fbd442adfdad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ignore write errors to pack children while closing a repository
If the child has exited for some reason then we won't be able to send a
stop message on the pipe. Ignore such errors while we are tearing a repository
data structure down. The error should be harmless but can trip up gotwebd
when cycling repositories out of its repo cache:
gotwebd[29683]: gotweb_render_index: got-portable.git: unexpected end of file
- Commit:
f4a5cef1546205afab47f148edefabcf77c06d3b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: set chroot path in config_init()
saves a bit fiddling around with ternary operators. sockets_run()
will reset the chroot to the default since it calls again config_init(),
but at that stage it's not important anymore.
ok stsp@
- Commit:
23c35dae297d2eecd13e17118a547761314a578d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change got_get_repo_tags' limit argument to size_t
The function already carefully avoids wrapping around zero. While
here add a sanity check for limit == 0, like what was previously done
for got_get_repo_commits().
- Commit:
a678036d5fc91d90d799f3ed394f0f721d227d12
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: error if chroot is the empty string
- Commit:
1a0c81fb613b80af38dbc7f37c12f42a34b363d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: range-check numeric values and raise errors
- Commit:
031687baf3081932383b85041c49de781c43e432
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: disallow yes/no for booleans
Supporting both "no" and "on" as valid syntax with an opposite
meaning could easily result in accidental misconfiguration.
Suggested by stsp, tracey agrees. Patch by Josiah Frentsos, thanks!
- Commit:
d571a1762e9ff7281a5363373468c1e00a62ed42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unused strlen; ok stsp@
- Commit:
0a2fc48663670b6fb1a778aafc653227c9103442
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make got_get_repo_commits take a size_t
and while here make sure 0 is rejected.
requested by, improvements and ok stsp@
- Commit:
f4425f95a55d6c26f06ecef7b3b8aa6a4a4247de
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: disallow 1 for max_commits_display and report range errors
ok stsp
- Commit:
5144d22b0c3bcf6611cc36e93a3a859fcc521277
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: simplify got_get_repo_commits(): don't traverse all the commits!
In some cases (e.g. limit=1 for DIFF action) we could end up traversing
all the commits instead of fetching just the one requested. Needless to
say, this makes the diff page extremely slow.
reported by and ok stsp@