Commits
- Commit:
9fecc8d045c7fbacd561ecfc5a39f8e163299496
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'got tree /' succeed in a work tree
Previously, this command would trigger an error: got: /: bad path
- Commit:
844dda16b0ff0b9351544d7d94bd2d299be509c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
update gotd_proc_names after session process unveil changes
fixes "proc (null)" appearing in gotd logs
- Commit:
04833bad8b901b044bbbf61cb813c49ffee4f8b1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf: unbreak max_repos_display 0
in 1a0c81fb61 I've added a range check too strict for max_repos_display,
as zero is allowed and means "show all the repositories".
- Commit:
7fed8fa426806e627fcf1e344e4ce134b17a0474
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
unveil repositories read-only in gotd session process while serving fetches
ok op@
- Commit:
e81b604b157f332b391463c0d0b0a114981a5637
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a lock for the cleanup operation
This adds the functions got_repo_cleanup_prepare() and _complete()
to lock/unlock the repository to prevent multiple `gotadmin cleanup'
or `git gc' operations to run in parallel.
improvements and ok stsp@
- Commit:
d8963ff8248a747143b96569fa70c9c81104d63d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove items done in gotwebd and gotadmin
- Commit:
b2b363b2f464c849ea73a94e6b2be46339b06275
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
retire GOT_ERR_QUERYSTRING
it's redundant with GOT_ERR_BAD_QUERYSTRING; convert its only use
to the latter.
- 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().