Commits
- Commit:
62fc447c67a98bd1a102ea4cb7b6da95a4d403b9
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Exclude cvg from release builds
- Commit:
acfd930bda7c65876653f0f2ad475436dc17ef9f
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Remove unused functions from cvg
- Commit:
3d1b16d126400e28a2cbab66b17dacd47a01763c
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Begin cvg
- Commit:
624411d2da8f88b37d2b440833ce76fa6705bdd3
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Copy got to cvg
- Commit:
4b3827cd43394b89d2af822dcd1d9a9179c1ee10
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gitwrapper ignore 'permission denied' for repository paths
We recommend that gotsh users should not have direct filesystem
access to repositories served by gotd. Which means admins will be
setting things up as follows if public read-access should be denied:
chown _gotd /git
chmod 700 /git
su -m _gotd -c 'gotadmin init /git/repo.git"
However, gitwrapper would error out when repositories listed in
gotd.conf were inaccessible to the user invoking gitwrapper:
git-upload-pack: /etc/gotd.conf:2: realpath /git/repo.git: Permission denied
Make gitwrapper ignore such errors as they are expected in this situation.
While here, add a PROC_GITWRAPPER process ID for use as a global variable
parse.y can check while special-casing any specific behaviour required by
gitwrapper. (The worse alternative would have been adding a new global
variable to parse.y just to control the behaviour on realpath errors.)
ok op@
- Commit:
2df845d59f19a7c87fc48af1f9d4124e57ebf2b0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an initial implementation of gotadmin dump
gotadmin dump is used to export (part of) the history of the
repository; at the moment it only generates git bundles (which are
pack files with a header) but support to generate a fast-import
stream is planned.
ok/tweaks stsp and jamsek
- Commit:
bafea5babab6072bfa7528ad7c767bde76a446a3
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
plug a leak in insert_sendable_ref error path
from op@
- Commit:
27555e8e6053ab0cc846d201757b588d5a79293f
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
simplify lib/send.c reference handling
Reorganize the reference validation and pathlist generation by
removing the reflist and building a pathlist directly. The pathlist
entries record the object id in their extra data pointer, which also
allows several redundant reference lookups to be skipped.
This will eventually simplify sending target reference names that do
not match the local repo by adding another parameter to
insert_sendable_ref for a remote reference. This remote name will be
added to the pathlist, but validation and object id lookups will
continue to be performed with the local reference.
ok jamsek
- Commit:
51b56d129f9e0504bdf70209c1011a5b077742a6
- From:
- James Cook <falsifian@falsifian.org>
- Date:
remove 'got merge -M' todo item
- Commit:
e19d5545f96f74a0bf980c62af9900f76059e439
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix broken sentence in got.1 (was missing a word)
- Commit:
5662d61df841f27dd548625738d05c59ee54c2a4
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Make got_worktree_get_base_ref_name static
Nothing appears to benefit from this being non-static, and it was
missing from the public API headers as well.
ok stsp@
- Commit:
d556241a037d31a830ef830c6cb301419bb84087
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Define apply_umask earlier, without predeclaration
ok op@
- Commit:
7b53188e4c59d5ce295c92624cacdeee16881abd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
consistently mention 'got merge' as an alternative to 'got rebase' in got.1
- Commit:
a6c2ea42da6e1783b7d7d50693d18a4c778cde18
- From:
- James Cook <falsifian@falsifian.org>
- Date:
histedit, rebase: document -c, -C are compatible
- Commit:
18877383a0d783b0b642a27b16ccd3d1a212c8a3
- From:
- James Cook <falsifian@falsifian.org>
- Date:
fix option processing for 'got merge'
Don't make -C imply -c (a break statement was missing). Detect -an and
-cn conflicts. Simplify by removing unneeded check for conflicting -aC
(since -C requires -c, we can rely on the -ac conflict being detected).
Update the man page to say -cC is allowed.
- Commit:
481cdc746b012203f39047cbc55f8b65ae40d046
- From:
- James Cook <falsifian@falsifian.org>
- Date:
add -M option: tell got merge not to fast-forward
ok stsp@
- Commit:
13d9dc7e2e880cfe93cf23a39c48427cda7ff636
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bubble up got_repo_commits()
now that got_get_repo_commits() doesn't look at `action' we can stop
fetching the commits during the rendering and bubble up the call.
This yields better error messages and better replies codes on failure.
- Commit:
dcb3fe6d633a560ba73f75438928084d3f1b3e46
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop hack; got_get_repo_commits() doesn't look at action anymore
- Commit:
f528b33ecc8d05209f34af6472acdbc70f51d285
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use _POSIX_HOST_NAME_MAX from <limits.h> for portability
ok stsp
- Commit:
294fdcae50063512dd68a933836696c9eb0ea0ff
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
bbdcc5d5dc8953cfdb673d4c479be6af2b1548e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.90
- Commit:
5852c834af2b4ead86c14a9e8a7f242183b7244b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rate-limit redundant pack cleanup progress output
- Commit:
900499fd0de2c868694828487244f097de63289e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix cleanup progress reporting output
- Commit:
ce3526e665af1bf37976bad5db91e63a4892b685
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show the path of a lock file when locking it fails
before:
gotadmin: lockfile timeout
after:
gotadmin: gc.pid.lock: lockfile timeout
- Commit:
c8af7691c98d6cd5864e6c2b62642c6c3e3ca086
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify gotwebd' server matching
Currently, if there is not a match on the server name, it attempts
to match the "subdomain" against the server names, and fall back
to the first server defined.
The server name is taken from the SERVER_NAME fastcgi' parameter,
the subdomain extracted from HTTP_HOST.
Keep only the SERVER_NAME matching, but still use the first server
defined if there's no match.
Fix the manpage documenting how matching works and drop the lie
about SNI as gotwebd doesn't do TLS but just looks at what the
upstream http server decided.
ok stsp@