Commits
- Commit:
57048aa537a8bf2612732f428913f113c0c7792e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add myself in the AUTHORs section
- Commit:
ddaab1538584c577166a1d4b46ef191c79ea39bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
update cleanup -p documentation
- Commit:
dad2f83f6b9e147ccc77f20b5aba425ca2d564fb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotadmin cleanup can remove pack files now so update CAVEATS accordingly
- Commit:
023b48f7cf01afafe59440a36668619f568f571b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
do not try to explain implementation internals in gotadmin cleanup docs
- Commit:
39ea92682f366c56cf2bab2b36de8afd805cefa0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
there is no 'got tag -d' command, but cleanup docs can mention fetch -X
- Commit:
520f13aaa0a99266c9e80b9e147b92c5fea4879b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reorder paragraphs in gotadmin.1 cleanup section
All the special cases are now being explained last.
- Commit:
02eeca3a32a73e40e2d0ccff926f43e1cde22785
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
slightly reword documentation of .keep files in gotadmin.1 for clarity
- Commit:
0a41a152de336a3532f3e977e8756cac6f5c7e6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mention rebase/histedit -X options in addition to ref -d in gotadmin.1
- Commit:
afd0da3878d7acfc3872448325112986efb1dbb9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotadmin cleanup: remove redundant pack files
improvements and ok stsp@
- Commit:
0b47703514fc6cbbe5318d575bb1cce7152aadcb
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress/cmdline: fix handling of unexpected success
Diff from James Cook, thanks!
- Commit:
88f0d95e71087c4bef372371863e49ee4ab16c95
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
8a9c582ba19796492dd5fa3415eccd70d406d7d4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotd show relevant commit hashes in error message if ref-updates collide
- Commit:
169def413f9c30c59bd16b6ea8c65db2ccce4017
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotd avoid re-writing existing ref files when a ref-update is a no-op
- Commit:
102d840de78061d9f313aaa557ef64f586932143
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
dropping unnecessary strlen()s
ok jamsek, stsp
- Commit:
9e26f05792286fa1ff16e43516f1f4a688b672b9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid strlen in for(;;)
ok jamsek, stsp
- Commit:
8050095e3acba3100327de8abb9a427cb547089b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
0b16f49bed65694b1fb98f7eb484b700a7001a64
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
6c24d194f2260b073d8e8ad3e756efa3ce20dd2e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
90757f0a7eedde53f109f67061bb39256412dd60
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf: error if chroot is the empty string
- Commit:
a0bd573d20ed11633bbc4cc476bcfd7823f9773a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf: range-check numeric values and raise errors
- Commit:
ee003af8b92eb150d8de536c512a0bed7e2c64fd
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
ef44e1362e041fbe4494d61f8e71367e8a66959f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
drop unused strlen; ok stsp@
- Commit:
087cc2fc09698b114296411034739df31c999471
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
1fa505c4ad80469884962571ef13853f1be8dd08
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: disallow 1 for max_commits_display and report range errors
ok stsp
- Commit:
7272b60a19e7deee3a1808cbda935e201074c50d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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@