Commits
- Commit:
02a7e21b3f3a4da1e7a12935ca467231cc145f46
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
ca4f2e186c3c2fd07067c568d5558ac9843dfbdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
refer to the dump stream's format as "bundle" rather than "dump"
- Commit:
8736d68f78d99fc8f037edcd3d788f182568b393
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix copy-paste error in gotadmin.1 load section
- Commit:
0d23c640a51b599b99c9fe781c54e1bd371bc433
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unfold a line
- Commit:
f254a62dd329cbfad934b920af5fc03bbe65f406
- From:
- Omar Polo <op@omarpolo.com>
- 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:
f7d653fcfcca0cce30313948d6e58d074502c599
- From:
- Omar Polo <op@omarpolo.com>
- 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:
a3287e9971f6990ab19426fccf0b41a9b6bc4b68
- From:
- Omar Polo <op@omarpolo.com>
- 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:
21002b1b278e14573f85a3ec87c2aa5b8da47f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove documentation of Got commands which cvg will not implement
- Commit:
705cce7454a397f5c9eaa7a44ef383e0659d1242
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove the cvg ref command; we do not expect that users will need it
ok jrick
- Commit:
0f52093fbc9683aec0c9d1f9a45c1eaed6b8708f
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
fix makefile after .c rename
- Commit:
10a2e35ae49b7ac29b900f3a4f4c452c0bf7a095
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
adjust the early intro section of cvg.1
- Commit:
24df9a282b05bb954bc0545435d59100798c7060
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
rename cvg/got.c to cvg.c
- 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