Commits
- Commit:
cfbfa60cc722e92165914178267754f432b46ccb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'gotadmin load' always read data from standard input
This provides better symmetry with 'gotadmin dump', and allows us to pass
the list of references as command line arguments, replacing the -b option.
The -l option now takes an argument which specifies the bundle file rather
than requiring data to be fed on stdin with -l which feels awkward.
ok op@
- Commit:
b7eff1274c82d60d1eeca924bb9c5dcb951a781c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable cvg
- Commit:
8b8a0f1e248092016e0e09a755b2ae750551d5d4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable 'gotadmin load'
Add new .c files to gotadmin's Makefile, and add the standard
got_compat.h wrapper.
- Commit:
8d6abbb25ed5e71ba5785e31dccf6ca4252b839f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
refer to the dump stream's format as "bundle" rather than "dump"
- Commit:
c4515df2561be621b6a9f2b6cb5776ef29fb349f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix copy-paste error in gotadmin.1 load section
- Commit:
164fb715d8228aa782c5b229f5a29fa94b00d8d0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
unfold a line
- Commit:
d959535215ce640ec4c4cede5623409121f37947
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotadmin load: don't add a newline when listing refs
the newline is only needed after the progress output, which is not
present in the 'listing refs' case.
- Commit:
90afc9f356259c35a85d03c4e7e65561436d2d7a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add an initial implementation of gotadmin load
it is intended to be the counterpart of `gotadmin dump' and, just
like it, there's planned support for handling fast-import stream.
At the moment it only deals with git bundles.
ok stsp
- Commit:
98ef866ec0f35402a87bb0e50550f3ead86cc117
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug leak in got_fetch_pack error path
set err and goto done instead of an early return that leaks various
things.
ok jrick
- Commit:
930d88fe56d55ca98351b3109796db11af42e7b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove documentation of Got commands which cvg will not implement
- Commit:
b6d400a80fe0168f561704b26d3bad6164ecc190
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove the cvg ref command; we do not expect that users will need it
ok jrick
- Commit:
6b7b9f0a712215f89001866fb13dc0bf19b7d840
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix makefile after .c rename
- Commit:
7e2f1819745118b45b967c7b7a8c379f952b1106
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
adjust the early intro section of cvg.1
- Commit:
795b88cb3552c3ea54b50f96b56354d4cb96c294
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename cvg/got.c to cvg.c
- Commit:
8509c472217933dfc22c2b06c982bef0c6569cdf
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Exclude cvg from release builds
- Commit:
1589164d8ec910efcc3083905b0c2680c1957846
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Remove unused functions from cvg
- Commit:
8505ab6630ab9715baa433a84979e90862e4c420
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Begin cvg
- Commit:
97a02382bf83b5671f51d8792459968edd9a38ba
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Copy got to cvg
- Commit:
f3807fe5829048c18652abf3e9c2b5f0bb3d0599
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
fdbea373595afc1c293f4ebbe17b0b07a6cc904d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
76e9b2be1f8f5b50f3092fbf99f110eb4d635543
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug a leak in insert_sendable_ref error path
from op@
- Commit:
4ac84380561c5b7df321cd582a226756c67cc3cf
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
b7dad73f266193a1be8d309a4e712b49199f55ad
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove 'got merge -M' todo item
- Commit:
87c986b7f0d0e0e057ff53e14386faeac395878c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix broken sentence in got.1 (was missing a word)
- Commit:
fcfaa6d5834dc35cb5555fcc4cb1652947bfd82d
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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@