Commits
- Commit:
36967ea86e8738716661e52fa6d63b7a91698e90
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-build-regress.sh: build gotd too; ok stsp@
- Commit:
91b1d45698931d7c9d8a54f08430888b237f4b51
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
unbreak gotd build after recent change to got_pack_create
- Commit:
9581acf47c439de2d1a7af00644abf2fe366d8c0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mention GOT_TEST_PACK=ref-delta in the README too
- Commit:
9020067b214b4a3606a3beed690df65a9ce4f564
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-build-regress.sh: add another round of testing with ref-deltas
ok stsp
- Commit:
a628577ae6e2c53599473bf7d953e5aca112ad62
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: run gotadmin pack -D if $GOT_TEST_PACK=ref-delta
ok stsp
- Commit:
d8253374fe0c7ca9400fac9c446c8c227992ddee
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotadmin pack: add a -D flag to force using ref-delta
Intended mostly for the regress suite, so we'll be able to test also the
ref-delta code paths.
ok stsp@
- Commit:
be1adb68ca2a90d29b3e3af776e71bef197faf6d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-build-regress.sh: use -eq/-ne instead of ==/!= for numbers
- Commit:
f81387acdb3205ee8b204cb77539b1a5e0f7a0ca
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: allow to run only a subset of the test cases
This allows to run only the test cases named on the command line.
- Commit:
b12113433f340204dc187ae46213e4ec0439db26
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add -n to 'got commit' usage; patch by Josiah Frentsos
- Commit:
0c66b6d46b821eff201e33458c906e6e2de1c62e
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
keep regress testname copypasta fix from 2a19e2e21a
s/fetch_branch/fetch_honor_wt_conf_bflag so we don't report the wrong
test in the case of failure. The incorrect testname was introduced in
1cb79834ea as the result of too much copypasta. It was subsequently
fixed in 2a19e2e21a but then backed-out.
- Commit:
7917d6d59bbefd910c6facb73b6deaaa17ab7399
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
backout got: always fetch remote HEAD except when -b is used
As pointed out by naddy, this behaviour is not ideal when users
want to limit their repository to a particular branch which will
diverge from HEAD over time, such as -stable branches.
See https://marc.gameoftrees.org/mail/1676388048.8632_0.html
- Commit:
81c8e458ff6b92cd522cd5700131467645a21204
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: always fetch remote HEAD except when -b is used
Rather than only fetch HEAD when there are no branches set in got.conf and
there is no branch to be inferred from a work tree, or said branches don't
exist on the server, always fetch HEAD unless 'got fetch -b branch' is used.
ok stsp@
- Commit:
fbbd3dd5aead1c3d4e05364dafed5c1716fbc05d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got.1: tweak commit -A description. ok jamsek
- Commit:
6713dda82d321c9b7c87aa5d63f497dd2963482d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: drop commit -A $GOT_AUTHOR restriction
As discussed with op and stsp on irc, this prevents the valid case of
changing a commit's author to yourself during a histedit operation, and
potentially blocks other valid use cases too.
ok stsp@ and op@
- Commit:
a0abeae54173ae5718c4d39250ee22483512e59b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got/tog/gotadmin: pledge earlier
In the case of tog move setlocale(3) before pledge(2), as suggested by
stsp.
ok stsp@
- Commit:
11a2b20c6274fd87160362f39493d1b0b013e443
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
send_tree_entries: simplify len computing
- Commit:
d392cc0a86905f1c82da0736472b8ad89248c476
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'got fetch -b branch' error reporting more helpful
The patch to got-fetch-pack.c was written by stsp with only minor tweaks
by me. Regress updated to account for the change in reporting.
stsp's original got-fetch-pack.c diff ok op jamsek
ok stsp@
- Commit:
31b44417d9846a733ca0b1f2746283fc261a68f0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: fetch -b/got.conf/wt/remote HEAD interaction
The added test checks we honour the correct precedence of branches to be
fetched, which is determined by: the -b flag; branches set in got.conf;
the work tree's current branch; and the remote repository's HEAD branch.
If a branch is specified with -b, only fetch this branch and if it does
not exist, simply report to the user--do not fallback to other branches.
Otherwise, if branches are either not set in got.conf or are set but do
not exist on the server:
- if invoked in a work tree, fallback to the work tree's current branch
- if not in a work tree or the work tree's current branch does not exist
on the server:
- fallback to remote HEAD.
With this, only the -b case can result in an unsuccessful fetch due to the
requested branch(es) not existing on the server. All other cases will either
fetch updates or report "Already up-to-date" (excepting errors).
ok stsp@
- Commit:
e0380e3dfa71712eaaf9642b4d86b53e6a986653
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
special case 'got fetch -b <branch>' to only fetch <branch>
As discussed on irc, this drops the implicit remote HEAD fetch when -b is used.
got.1 has been updated to make the new fetch behaviour clear.
ok stsp@
- Commit:
83592549c4d0fd93b998c76efe6d1cb9286d4e8b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style
- Commit:
a796e0cb12ad167297cddaf8af0067b49ba52b44
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
typo
- Commit:
dfd83cb68e2d3908e0e8774b3a13200a28c7afc0
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style(9): function call in initialiser patch by Mikhail
- Commit:
25b84e6cea4c9658ea8ffc7af2928f0b254069ca
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
lib/object_create.c: calloc object ids
future fields added to the got_object_id will be implicitly zeroed
instead of gibberish.
ok stsp@
- Commit:
8f464e92b2e71ae647c139f4937a2390d159eec2
- From:
- Tracey Emery <tracey@traceyemery.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: abort tree and blob as well
- Commit:
ad5cb26d7ea1326e3b195caa3b459ea287aded90
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: abort blame if the client disconnect midway thru
Without setting err when the callback fails we continue the blame
machinery.