Commits
- Commit:
903d5f7475944c0cebae4ae84565539ffe811d75
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: include utf8d.h in dist tarball
Make sure we include this header in the release tarball
- Commit:
27f33c456e6bcb721f22e99ac828a3cb05da5e86
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: set next version
- Commit:
0eb6f93719a55af947e909bdff2e2583b07f7b92
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: release 0.98
- Commit:
d4810a9d1694b4c0c5ba364f2bc418b1cd797171
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: remove portably-defined headers
These are looked for portably.
- Commit:
2632ba010c8f23425f7549eaddbd59c41db7fa36
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
portable: gotd libexec logging
Include the logging functionality from gotd for the helpers.
- Commit:
be8d6523f57794ac75b83c622997065380f05463
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: use fatalx since errno is useless here
- Commit:
c24e2d2e71abf0ac4feb95dc4f238d454819fed9
- From:
- Lucas Gabriel Vuotto <lucas@sexy.is>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
replace date, strftime %G-%m-%d with %F
Use the more predictable %F, aka %Y-%m-%d, instead of %G-%m-%d. %G
follows the definition of ISO-8601 week-based year, which is weird.
In particular, 2024 is one of such years with weird behaviour:
$ date -jf %Y-%m-%d +"%F %G-%m-%d" 2024-12-30
2024-12-30 2025-12-30
Diff from Lucas Gabriel Vuotto (thanks!); stsp agrees
- Commit:
07ec47fcdf114314de1cd6ce155420b43f1fd58a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-email: sort/remove includes
we don't need getopt.h; getopt() is in unistd.h. also sort the
headers while here. ok stsp@
- Commit:
a80e9be6e42403bde1c2d25c8e255450a6efc98e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make 'got fetch' work with URLs which refer to $HOME via a tilde ~
'got clone' already happens to support such URLs via scp-style syntax:
user@127.0.0.1:~/test.git
While the clone operation succeded, subsequent fetch operations would
raise an error: '/~/test.git' does not appear to be a git repository
Make such URLs work when they are read back from got.conf, and also on
the clone command line in canonical form:
ssh://user@127.0.0.1/~/test.git
Not adding a test case because I don't see an easy way to add test
coverage for this without spilling test data into home directories
or modifying ~/.ssh/ssh_config.
Problem found by Jesper Wallin.
- Commit:
3468ff0e6f0b09a4807c325d738f6ef3061ea104
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
bump version number
- Commit:
7094f37a8a4c007ff40444376efaae24bec43b67
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
CHANGES for 0.98
- Commit:
28ad404e28492f74c95d349dba19a01f83b64924
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
sync dist file list
- Commit:
ec05a5dec4dd8db58402c3cc719fd2c2c594dc68
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
extend test_patch_empty_file() test coverage
Check what happens when patches attempt to edit or delete empty files.
- Commit:
13b170bf44646fbf9838bf22a722c499157656ea
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got patch: fix applying on empty files
if we've reached EOF without finding a match is fine if and only
if the target file is empty, so add this exception.
reported by naddy, ok stsp
- Commit:
c50aaf5dd08bf5e85ffcd1083eea671131c02cf9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: use a UNIX timestamp for the date
Was suggested by Lucas some time ago. ok stsp@ with a tweak in the
manual.
- Commit:
507e51543a1bead6c8b3d28a06e2d9a42128a497
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Use got_pkt_readlen() to parse pkt-lens.
- Commit:
6d1e5fdc3f135929f40d4a92a6a4b8bc0f0a61e5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
rename a function to avoid gramatical ambiguity
- Commit:
d9dd1b289c149184c4da042edfb9dae1062c4187
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
ensure that test_unstage_directory calls test_done on success
- Commit:
42219b1ea2d9860c465f76cd96fb63fb253628ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make test_stage_directory pass and actually hook it up to regress runs
- Commit:
a6dfa7b2fc6f025f11ff57a315c99d96014550d8
- From:
- "Lorenz (xha)" <me@xha.li>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
require -R option for staging or unstaging directory contents
-R is needed on almost all other commands so this makes things consistent.
Patch by Lorenz (xha)
- Commit:
06dc3607479d190ff1dacaad2823903c41ff024f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make got-fetch-http pass "done\n" through rather than faking it
Without this we exit the loop early and got-fetch-pack sees unexpected
end-of-file on stdout trying to write its final "done\n" message.
ok op@
- Commit:
a1aebf7f29c0d61ba32c965290bc8d8f3369b782
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
show path of got-fetch-http in execv error message
- Commit:
78c53071b76cb7428ded1a0dc32b99949235feb4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make got-notify-email log warnings and errors to syslog
- Commit:
564cf6648ae288aa56cd6fd5b45028a5a8aad523
- From:
- Tobias Heider <me@tobhe.de>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
Move pkt-len parsing to a separate got_pkt_readlen() function
so we can reuse it in other places like got-fetch-http later.
ok op@ stsp@
- Commit:
520dc23bbf6da080a16df5b633445d3d625def64
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: fix I/O with TLS
tls_write() may return TLS_WANT_READ. In that case, we're stuck
trying to read while we have the request still in the buffer. So,
we have to retry bufio_write() regardless of the POLLIN/POLLOUT
state.
We'd need this only in the TLS case, but in practice it doesn't
harm for the plaintext case too. In fact, we're either waiting to
flush the request or we're only reading the server reply.
ok stsp