<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests, 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>Added missing is_prunable test</title>
<updated>2023-05-16T11:31:16+00:00</updated>
<author>
<name>Reginald McLean</name>
<email>rbmclean00@gmail.com</email>
</author>
<published>2020-11-24T23:32:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0fd80681f90ae23d5a74b469fefd3409d924ddae'/>
<id>0fd80681f90ae23d5a74b469fefd3409d924ddae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>clone: skip timeout tests on WinHTTP</title>
<updated>2023-05-13T15:42:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-04-11T19:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=8f695c806bac2b044f102c55b802e44f2d30ca01'/>
<id>8f695c806bac2b044f102c55b802e44f2d30ca01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>streams: sockets are non-blocking and can timeout</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=fad90428970e332153027773b517a1606c0efa1f'/>
<id>fad90428970e332153027773b517a1606c0efa1f</id>
<content type='text'>
Make socket I/O non-blocking and add optional timeouts.

Users may now set `GIT_OPT_SET_SERVER_CONNECT_TIMEOUT` to set a shorter
connection timeout. (The connect timeout cannot be longer than the
operating system default.) Users may also now configure the socket read
and write timeouts with `GIT_OPT_SET_SERVER_TIMEOUT`.

By default, connects still timeout based on the operating system
defaults (typically 75 seconds) and socket read and writes block.

Add a test against our custom testing git server that ensures that we
can timeout reads against a slow server.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make socket I/O non-blocking and add optional timeouts.

Users may now set `GIT_OPT_SET_SERVER_CONNECT_TIMEOUT` to set a shorter
connection timeout. (The connect timeout cannot be longer than the
operating system default.) Users may also now configure the socket read
and write timeouts with `GIT_OPT_SET_SERVER_TIMEOUT`.

By default, connects still timeout based on the operating system
defaults (typically 75 seconds) and socket read and writes block.

Add a test against our custom testing git server that ensures that we
can timeout reads against a slow server.
</pre>
</div>
</content>
</entry>
<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>util: make monotonic time fn return ms</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:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=6c0d5b11c05254d91a2d0025d556251404f8f05f'/>
<id>6c0d5b11c05254d91a2d0025d556251404f8f05f</id>
<content type='text'>
`git__timer` is now `git_time_monotonic`, and returns milliseconds
since an arbitrary epoch.

Using a floating point to store the number of seconds elapsed was
clever, as it better supports the wide range of precision from the
different monotonic clocks of different systems. But we're a version
control system, not a real-time clock.

Milliseconds is a good enough precision for our work _and_ it's the
units that system calls like `poll` take and that our users interact
with.

Make `git_time_monotonic` return the monotonically increasing number
of milliseconds "ticked" since some arbitrary epoch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`git__timer` is now `git_time_monotonic`, and returns milliseconds
since an arbitrary epoch.

Using a floating point to store the number of seconds elapsed was
clever, as it better supports the wide range of precision from the
different monotonic clocks of different systems. But we're a version
control system, not a real-time clock.

Milliseconds is a good enough precision for our work _and_ it's the
units that system calls like `poll` take and that our users interact
with.

Make `git_time_monotonic` return the monotonically increasing number
of milliseconds "ticked" since some arbitrary epoch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6557 from libgit2/ethomson/shallow</title>
<updated>2023-05-09T19:38:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-09T19:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2bbcdee6b666f34e83d1cf9ca9badc66258202d6'/>
<id>2bbcdee6b666f34e83d1cf9ca9badc66258202d6</id>
<content type='text'>
Shallow (#6396) with some fixes from review</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Shallow (#6396) with some fixes from review</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: remove `unshallow` option</title>
<updated>2023-05-09T16:14:08+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-08T09:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=437c5f5a0b6ae6068168081ac6422dba44cff31d'/>
<id>437c5f5a0b6ae6068168081ac6422dba44cff31d</id>
<content type='text'>
The `depth` field is suitable to specify unshallowing; provide an enum
to aide in specifying the `unshallow` value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `depth` field is suitable to specify unshallowing; provide an enum
to aide in specifying the `unshallow` value.
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: use an oid array instead of shallowarray</title>
<updated>2023-05-09T16:14:08+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-08T09:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0a7e32b2326c02a91f9560dfd209e56ea9fb9d49'/>
<id>0a7e32b2326c02a91f9560dfd209e56ea9fb9d49</id>
<content type='text'>
Users should provide us an array of object ids; we don't need a separate
type. And especially, we should not be mutating user-providing values.
Instead, use `git_oid *` in the shallow code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users should provide us an array of object ids; we don't need a separate
type. And especially, we should not be mutating user-providing values.
Instead, use `git_oid *` in the shallow code.
</pre>
</div>
</content>
</entry>
<entry>
<title>shallow: cleanup whitespace in tests</title>
<updated>2023-05-08T14:06:41+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-04-25T08:33:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=19ccab005ed2a65ddcd3f50a2a09214a5849871d'/>
<id>19ccab005ed2a65ddcd3f50a2a09214a5849871d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
