<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/util, branch main</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>net: move `gitno` buffer to `staticstr`</title>
<updated>2023-05-13T15:42:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-12T19:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=11c89c386c8862f834097cdc5d9ed79634cf00f3'/>
<id>11c89c386c8862f834097cdc5d9ed79634cf00f3</id>
<content type='text'>
The `gitno` buffer interface is another layer on top of socket reads.
Abstract it a bit into a "static string" that has `git_str` like
semantics but without heap allocation which moves the actual reading
logic into the socket / stream code, and allows for easier future usage
of a static / stack-allocated `git_str`-like interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `gitno` buffer interface is another layer on top of socket reads.
Abstract it a bit into a "static string" that has `git_str` like
semantics but without heap allocation which moves the actual reading
logic into the socket / stream code, and allows for easier future usage
of a static / stack-allocated `git_str`-like interface.
</pre>
</div>
</content>
</entry>
<entry>
<title>net: move rfc2818 hostname / wildcard matching to util</title>
<updated>2023-05-13T15:42:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-12T19:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=6e4bbf222d8c4babaff90aef40615546c8bc9cde'/>
<id>6e4bbf222d8c4babaff90aef40615546c8bc9cde</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>utf8: add conversion with size and refactor names</title>
<updated>2023-03-21T09:14:06+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-03-11T12:45:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0d7f3f52918a00a2a07ba965eb65c6ac5d122867'/>
<id>0d7f3f52918a00a2a07ba965eb65c6ac5d122867</id>
<content type='text'>
Add functions to use convert a string with length, instead of assuming
NUL termination.

In addition, move the utf8 to 16 conversion routines into the `git_utf8`
namespace instead of using namespaceless `git__` prefixed names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add functions to use convert a string with length, instead of assuming
NUL termination.

In addition, move the utf8 to 16 conversion routines into the `git_utf8`
namespace instead of using namespaceless `git__` prefixed names.
</pre>
</div>
</content>
</entry>
<entry>
<title>fs_path: let root run the ownership tests</title>
<updated>2023-02-27T21:52:33+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-02-27T21:49:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=5c1d7649100175fef2c74ec66e7cb1e57440d89d'/>
<id>5c1d7649100175fef2c74ec66e7cb1e57440d89d</id>
<content type='text'>
The `git_fs_path_owner_is_current_user` expects the root dir on unix
(`/`) to be owned by a non-current user. This makes sense unless root
(or euid == 0) is running the tests, which often happens during distro
build / packaging scripts. Allow them to run the tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `git_fs_path_owner_is_current_user` expects the root dir on unix
(`/`) to be owned by a non-current user. This makes sense unless root
(or euid == 0) is running the tests, which often happens during distro
build / packaging scripts. Allow them to run the tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>url: only allow @s in usernames for ssh urls</title>
<updated>2022-06-17T17:49:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-06-17T17:47:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=1ee9b1fb2d5bb60b1f02d3767282afa2b8c8c016'/>
<id>1ee9b1fb2d5bb60b1f02d3767282afa2b8c8c016</id>
<content type='text'>
Enforce the RFC for other protocols; Google's questionable choices about
malformed SSH protocols shouldn't impact our ability to properly parse
HTTPS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enforce the RFC for other protocols; Google's questionable choices about
malformed SSH protocols shouldn't impact our ability to properly parse
HTTPS.
</pre>
</div>
</content>
</entry>
<entry>
<title>url_parse: introduce our own url parsing</title>
<updated>2022-06-17T17:49:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-04-18T17:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=373a3c9ab17ce9e7b9eb1cdc61390b78a61215e6'/>
<id>373a3c9ab17ce9e7b9eb1cdc61390b78a61215e6</id>
<content type='text'>
Provide our own url parser, so that we can handle Google Code's "fun"
URLs that have a userinfo with an `@` in it. :cry:
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide our own url parser, so that we can handle Google Code's "fun"
URLs that have a userinfo with an `@` in it. :cry:
</pre>
</div>
</content>
</entry>
<entry>
<title>url: test that we don't expand % encoding in paths</title>
<updated>2022-06-17T17:49:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-06-17T17:27:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ffef8e01d3a2d7802d32d452f123fd2b97af3d38'/>
<id>ffef8e01d3a2d7802d32d452f123fd2b97af3d38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>url: remove invalid scp url parsing test</title>
<updated>2022-06-16T18:37:40+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-04-18T16:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=fb6c86a2449e9ec5e8c1c06e0be88e97004c7573'/>
<id>fb6c86a2449e9ec5e8c1c06e0be88e97004c7573</id>
<content type='text'>
The url::scp::invalid_addresses test attempts to test an invalid IPv6
address. It does not, it calls the regular URL parsing function which
treats it like a possibly invalid scheme.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The url::scp::invalid_addresses test attempts to test an invalid IPv6
address. It does not, it calls the regular URL parsing function which
treats it like a possibly invalid scheme.
</pre>
</div>
</content>
</entry>
<entry>
<title>net: move url tests into util</title>
<updated>2022-06-16T18:37:40+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-04-14T14:22:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=96d2d42911c0f438109d4db23ef47c08782ab1ac'/>
<id>96d2d42911c0f438109d4db23ef47c08782ab1ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fs_path: refactor ownership checks into current user and system</title>
<updated>2022-04-11T20:49:05+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-04-10T20:29:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=bf2620bcefa64e9c0c28621d9ea7c16e5a40c61b'/>
<id>bf2620bcefa64e9c0c28621d9ea7c16e5a40c61b</id>
<content type='text'>
Provide individual file ownership checks for both the current user and
the system user, as well as a combined current user and system user
check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide individual file ownership checks for both the current user and
the system user, as well as a combined current user and system user
check.
</pre>
</div>
</content>
</entry>
</feed>
