<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/remote, branch ethomson/test_https</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>Merge pull request #6101 from mkhl/fix/instead-of</title>
<updated>2021-12-23T19:12:23+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-12-23T19:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=dca31d2427ef2321fab61bd5e3f3470306ba445d'/>
<id>dca31d2427ef2321fab61bd5e3f3470306ba445d</id>
<content type='text'>
remotes: fix insteadOf/pushInsteadOf handling</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
remotes: fix insteadOf/pushInsteadOf handling</pre>
</div>
</content>
</entry>
<entry>
<title>tests: declare functions statically where appropriate</title>
<updated>2021-11-11T22:31:43+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-11T18:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ca14942e19788bd01334af64554c3095f3ff0d4a'/>
<id>ca14942e19788bd01334af64554c3095f3ff0d4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update remote/insteadof tests</title>
<updated>2021-11-11T20:45:47+00:00</updated>
<author>
<name>Martin Kühl</name>
<email>martin.kuehl@posteo.net</email>
</author>
<published>2021-10-28T12:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7891660a1299a3e22fe722634d493e3353eb8cae'/>
<id>7891660a1299a3e22fe722634d493e3353eb8cae</id>
<content type='text'>
we want to test:
- an anonymous repo (a url)
- a named repo with a url
- a named repo with a url and pushurl
and for each of these matching configuration:
- only insteadOf
- only pushInsteadOf
- both insteadOf and pushInsteadOf

this change adds test cases for all of these combinations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we want to test:
- an anonymous repo (a url)
- a named repo with a url
- a named repo with a url and pushurl
and for each of these matching configuration:
- only insteadOf
- only pushInsteadOf
- both insteadOf and pushInsteadOf

this change adds test cases for all of these combinations.
</pre>
</div>
</content>
</entry>
<entry>
<title>str: introduce `git_str` for internal, `git_buf` is external</title>
<updated>2021-10-17T13:49:01+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-09-07T21:53:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f0e693b18afbe1de37d7da5b5a8967b6c87d8e53'/>
<id>f0e693b18afbe1de37d7da5b5a8967b6c87d8e53</id>
<content type='text'>
libgit2 has two distinct requirements that were previously solved by
`git_buf`.  We require:

1. A general purpose string class that provides a number of utility APIs
   for manipulating data (eg, concatenating, truncating, etc).
2. A structure that we can use to return strings to callers that they
   can take ownership of.

By using a single class (`git_buf`) for both of these purposes, we have
confused the API to the point that refactorings are difficult and
reasoning about correctness is also difficult.

Move the utility class `git_buf` to be called `git_str`: this represents
its general purpose, as an internal string buffer class.  The name also
is an homage to Junio Hamano ("gitstr").

The public API remains `git_buf`, and has a much smaller footprint.  It
is generally only used as an "out" param with strict requirements that
follow the documentation.  (Exceptions exist for some legacy APIs to
avoid breaking callers unnecessarily.)

Utility functions exist to convert a user-specified `git_buf` to a
`git_str` so that we can call internal functions, then converting it
back again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libgit2 has two distinct requirements that were previously solved by
`git_buf`.  We require:

1. A general purpose string class that provides a number of utility APIs
   for manipulating data (eg, concatenating, truncating, etc).
2. A structure that we can use to return strings to callers that they
   can take ownership of.

By using a single class (`git_buf`) for both of these purposes, we have
confused the API to the point that refactorings are difficult and
reasoning about correctness is also difficult.

Move the utility class `git_buf` to be called `git_str`: this represents
its general purpose, as an internal string buffer class.  The name also
is an homage to Junio Hamano ("gitstr").

The public API remains `git_buf`, and has a much smaller footprint.  It
is generally only used as an "out" param with strict requirements that
follow the documentation.  (Exceptions exist for some legacy APIs to
avoid breaking callers unnecessarily.)

Utility functions exist to convert a user-specified `git_buf` to a
`git_str` so that we can call internal functions, then converting it
back again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sathieu/patch-1' into main</title>
<updated>2021-09-20T16:19:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-09-20T16:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bfdba8ee938f05248879491a5c43083f1b25a79f'/>
<id>bfdba8ee938f05248879491a5c43083f1b25a79f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>httpproxy: move empty string test above config</title>
<updated>2021-09-20T16:19:05+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-09-20T16:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8e7621241d7246a5cf516df296bc85f3164efbf9'/>
<id>8e7621241d7246a5cf516df296bc85f3164efbf9</id>
<content type='text'>
The configuration change will override the environment variable, so the
environment variable check needs to come first.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The configuration change will override the environment variable, so the
environment variable check needs to come first.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update formatting.</title>
<updated>2021-09-16T10:53:32+00:00</updated>
<author>
<name>Laurence McGlashan</name>
<email>laurence.mcglashan@gmail.com</email>
</author>
<published>2021-09-16T10:53:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e994299f8b109c1ba336f0734871ceef944ac09d'/>
<id>e994299f8b109c1ba336f0734871ceef944ac09d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow proxy options when connecting with a detached remote.</title>
<updated>2021-09-16T10:44:04+00:00</updated>
<author>
<name>Laurence McGlashan</name>
<email>laurence.mcglashan@gmail.com</email>
</author>
<published>2021-09-16T10:44:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=eb41276fe08eeedd27509f69d9465cfbdd6cb7f7'/>
<id>eb41276fe08eeedd27509f69d9465cfbdd6cb7f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test to ensure empty proxy env behaves like unset env</title>
<updated>2021-09-14T07:34:25+00:00</updated>
<author>
<name>Mathieu Parent</name>
<email>math.parent@gmail.com</email>
</author>
<published>2021-09-14T07:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=31e32ddf35b0710fa528cfc1b7c67c5697207a66'/>
<id>31e32ddf35b0710fa528cfc1b7c67c5697207a66</id>
<content type='text'>
Signed-off-by: Mathieu Parent &lt;math.parent@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mathieu Parent &lt;math.parent@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>remote: refactor proxy detection</title>
<updated>2021-09-02T01:20:25+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-09-02T00:34:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3c0f14cc95debb426bd53150aac0eef1a7f625d8'/>
<id>3c0f14cc95debb426bd53150aac0eef1a7f625d8</id>
<content type='text'>
Update the proxy detection for a remote.

1. Honor `http.&lt;url&gt;.proxy` syntax for a remote's direct URL and
   parent URLs.
2. Honor an empty configuration URL to override a proxy configuration.

Add tests to ensure that configuration specificity is honored.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the proxy detection for a remote.

1. Honor `http.&lt;url&gt;.proxy` syntax for a remote's direct URL and
   parent URLs.
2. Honor an empty configuration URL to override a proxy configuration.

Add tests to ensure that configuration specificity is honored.
</pre>
</div>
</content>
</entry>
</feed>
