Commits
- Commit:
9628f36dac5ed5319b482a020f06ff9737a0c1f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got tree /' succeed in a work tree
Previously, this command would trigger an error: got: /: bad path
- Commit:
ce986f226790f56efc0cbece296c912d25385599
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update gotd_proc_names after session process unveil changes
fixes "proc (null)" appearing in gotd logs
- Commit:
20f279724bc851d5e6b52144ce9a6ba987d5fc5d
- From:
- Omar Polo <op@omarpolo.com>
- 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:
b061482840b244c4645851c4a02a9ce9723b9fc5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
unveil repositories read-only in gotd session process while serving fetches
ok op@
- Commit:
3bf0e21f50b11c683f08a06c8ab362fe220adc2b
- From:
- Omar Polo <op@omarpolo.com>
- 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:
664d62f9f2469ee2bc583ab0bbc90e56bf2d560e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove items done in gotwebd and gotadmin
- Commit:
de2b82f3b95e95070d83077e7bb0f24f82ae7426
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire GOT_ERR_QUERYSTRING
it's redundant with GOT_ERR_BAD_QUERYSTRING; convert its only use
to the latter.
- 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().