Commit Briefs

113f3fe860 Stefan Sperling

CHANGES for 0.127 (tags/0.127)


d4278f0338 Stefan Sperling

restore gotwebd's ability to redirect with HTTP status codes

This is needed to keep our tests passing because w3m does not work as required in our test scripts when the HTML body refresh redirect method is used. testing + ok jtt@


7e0628b4fb Stefan Sperling

rename gotweb_render_fake_redirect() to gotweb_render_refresh_redirect()

Strictly speaking, this redirect is not fake. It attempts to redirect the browser via the page refresh mechanism. Adjust name accordingly.


a9606f2c0c Omar Polo

sanitize path-prefix; avoids failures when there's a trailing slash

if there's a trailing slash in the path-prefix, we end up creating bad paths that break the logic in multiple places. Make sure to have it cleared at creation and parsing time. While here, change got_worktree_match_path_prefix() to use got_path_cmp() instead of strcmp(). ok/improvements stsp@


d6b5af4a56 Omar Polo

worktree: improve error in insert_tree_entry

part of a larger diff that's ok stsp@


47fc753bba Stefan Sperling

check the sysd build target in got-build-regress.sh


7699fc7da9 Kyle Ackerman

Fix Gotsysd build.

This was broken due to a missing #include via commit 69ac886cd64b82483fbb0e3114eb447f1d2ff9e0



e9e7a0c254 Stefan Sperling

make tog log view reload work tree base commit info during Ctrl-L refresh

ok Kyle Ackerman


ad112132d7 Stefan Sperling

add test coverage for got rm -s ?

ok Kyle Ackerman


fec5686e57 Stefan Sperling

add rm -s ? option for deleting unversioned files from the work tree

ok Kyle Ackerman


5a896ffda4 Stefan Sperling

do not raise errors when unversioned files are found during got rm -k

ok Kyle Ackerman


e5b11b7968 Johannes Thyssen Tishman

gotwebd: use stylesheet in redirection page

ok stsp@


8fdc2fde6f Johannes Thyssen Tishman

gotwebd: refresh site to "redirect" after login

Some mobile browsers (e.g. Fennec and Vanadium, Firefox and Chromium based browsers, respectively) don't redirect to the repositories index when launched with the authentication URL after login. This was reproduced programmatically using dart's url_launcher library[0], as well as by using "Open with" from the context menu in Termux when selecting the authentication URL. The issue is discussed in a StackOverflow thread[1], which suggests the workaround implemented here. Instead of redirecting using a HTTP 307 'Temporary Redirect' response, reply with 200 'OK' and perform a client-side "redirection" using an HTML 'meta http-equiv="refresh"' tag. ok stsp@ and op@ [0] https://pub.dev/packages/url_launcher [1] https://stackoverflow.com/questions/4694089/sending-browser-cookies-during-a-302-redirect


dc70a51316 Johannes Thyssen Tishman

document missing dependencies for gotsysd regress

ok stsp@



7a0c230f52 Stefan Sperling

make 'got merge' accept tags as merge source argument

Reuse a tag-resolution function from tog.c, moving it to the lib directory such that the got command can make use of it as well. Add test coverage. ok op@


68a5ea4cac Kyle Ackerman

Add version flag (-V, --version) to gotsysd

ok stsp@


e3e3c46ba0 Kyle Ackerman

Add version flag (-V, --version) to gotwebd

ok stsp@


f7cbd2e157 Kyle Ackerman

Add version flag (-V, --version) to gotd

ok stsp@


34ecf1f030 Stefan Sperling

re-add cmdline tests to make regress target

This was accidentally removed in commit 8c28cf249f4658 ("repair gotsysd build after network sha256 changes") Pointed by out Kyle Ackerman on IRC, thanks!



74f3906879 Stefan Sperling

bump version number


c3da48cb38 Stefan Sperling

CHANGES for 0.126 (tags/0.126)


271316db27 Stefan Sperling

sync dist file list