Commits
- Commit:
cdf9da3e2fae83e739d1b49c5843b05b813001b7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Cirrus-CI: add build YAML file
Cirrus-CI allows for FreeBSD builds as well as Linux.
- Commit:
92a9e85d28a30997176ce0d3c2915e3ea70782c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
- Commit:
e6f4ba3109814ba43d3a9e9c9c9dc55c40149dbc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix 'got update' of an added + obstructed file
When 'got update' tried to add a new file to the work tree and this
file was obstructed by, say, a directory on disk, the update failed:
$ got update
? new
got: new: Is a directory
$
And the work tree was not updated.
With this commit this situation is properly detected as an obstruction
and the update succeeds:
$ got update
~ new
Updated to refs/heads/master: c1f85b4938dc4c668a88f13df2b98a520fc077cc
File paths obstructed by a non-regular file: 1
$
Extend a corresponding test case to cover this issue.
ok tracey
- Commit:
df3d7c3ef8853d0fa9182dd3f3023a4d5e222ce0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
stop using the term 'obstructed' ambiguously in the got.1 man page
Specifically, obstructed files are versioned files which should be on disk
but have been replaced on disk by a non-regular file (e.g. by a directory).
The man page used the phrase "deletion was obstructed" which is unrelated
to the above concept and can be expressed as "deletion was prevented" instead.
- Commit:
88d249c247d1925b032b3d0b1ce8cac6aa7d1a6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
stop caring about obstructed versioned files in 'got merge'
Tyring to write a test to cover this case I found that obstructed files
are (correctly) detected as local modifications in the work tree. Thus
they trigger the pre-condition check for local modications and 'got merge'
will not even start to do any work in the presence of obstructed files.
- Commit:
dfe86d1fa6f81d3a709059eda591863efd8d5a34
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug memory leak in got_worktree_merge_in_progress(); spotted by tracey
- Commit:
2d7ce510f888e8d465497fade1733fbae71b6753
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test for 'got merge' which covers a no-op merge situation
- Commit:
10604dce6e625d11974fb5491598bbb54069e5d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a 'got merge' command for creating merge commits
Additional testing by Thomas Adam.
ok tracey
- Commit:
ac4dc26386a91b9c488d78fd7065780e1eaf33d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show parent commit IDs of merge commits in the tog diff view
ok tracey
- Commit:
060188130c8b49319ecc9068d38e1be6a2f70f8e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
update TODO note about HTTP; libtls will more likely be used from dial.c
- Commit:
08511b5ea5860c51130ba3d7b78f85f8ff9de031
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix 'got send' with tree objects which contain symlinks; reported by Omar
- Commit:
3c9bae70cd3e88013fbc91799ba32e3034495597
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
manpages: install .5 to correct location
When installing man pages, split out .1 and .5 as they install to
different paths.
- Commit:
7e5c335642bf836fb0ae7494cbb4acc9d32cc871
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
compat: Makefile: add missing trailing backslash
The uuid.c source file was missing a trailing backslash.
- Commit:
0b2bb718de4162f108ea99a55490cd46b9308dc0
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: add CHANGELOG
Although there is already a CHANGES file, the CHANGELOG is used to
indicate any -portable specific changes which have happened for that
release.
All version numbers in -portable correspond to their OpenBSD
counterpart.
- Commit:
89a927a3b498f342fadc937425f55c337d64c796
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
tog: make blame view work
Fix the thread comparison with tog's blame view.
- Commit:
dd5143452fa016f511bfb99301c14ac8519e0a67
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
dist: rework files for distcheck
Rather than having a toplevel EXTRA_DIST target in the toplevel
Makefile.am file, move the relevant files to their own Makefile.am
locations.
- Commit:
d3f2ad5edfc8b98f7c83b5197519fe35d3e0f07e
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
regress: port cmdline tests
This commit introduces the 'make tests' target which will run the
cmdline/* tests.
- Commit:
7dfae8a29c3caf385b499e4900bc47f61fa598cd
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
configure: bump version
Follow the same version as got itself.
- Commit:
c0faa64537e979f3a490dec3d4ecb2223791383e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
xmalloc: remove wrapper as no longer needed
There is only one user which calls xrecallocarray: ibuf_realloc().
We already provide recallocarray() in the compat layer so ibuf_realloc()
can simply call recallocarray() directly, as it does on OpenBSD.
OK thomas.adam
- Commit:
f0678b77c63a9dc8aa32c781cc38bab77932669d
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
sterror: use XPG version on GLIBC
It looks like autoconf 2.69 will not provide XPG strerror_r even
if the appropriate macros are set which request the XPG version.
Until this is fixed in autoconf and that version is more widely-adopted,
this approach will provide what's required.
Originally from Stefan Sperling, tweaked by me.
- Commit:
7293142804d9e432cda75b24e7987b55640bcaab
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
autoconf: add wrapper script
This adds a 'autogen.sh' wrapper script for generating configure.
README.portable is also updated accordingly.
- Commit:
dd6165e49c3235f6e7c8bf7e2c1f9635009f08a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
regress: fix test failures using ln(1)
GNU ln uses -T instead of -h for no-target-directory.
OK thomas.adam
- Commit:
180f111d564b657f44e4182cd43fcfbdd40096bc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
regress: fix test failures using date(1)
This patch fixes test failures related the date(1) utility.
In the long term we could add a wrapper function to detect valid options
for date(1) and use the variant which works on the current OS.
For now, this makes some tests pass and shows us where the problems are.
OK thomas.adam
- Commit:
2b0eee35db2db91d58fc4f76944a384911659ce0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
enable gotadmin
Add gotadmin to configure.ac, etc., so it can be built and installed.
OK thomas.adam
- Commit:
0130fe58c1ded20e2c044839d6254081941a714a
- From:
- Christian Ludwig <chrissicool@gmail.com>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
automake: Fix path to libexec directory
The got_lib_privsep.h header expects the path to the libexec directory
to be called GOT_LIBEXECDIR. At the moment it always falls back to using
/usr/libexec. Fix what looks to be a typo.