<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jcarr/git2go/remote_test.go, branch v0.0.35</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://cgit.wit.com/jcarr/git2go/atom?h=v0.0.35</id>
<link rel='self' href='http://cgit.wit.com/jcarr/git2go/atom?h=v0.0.35'/>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/'/>
<updated>2021-09-06T01:52:01Z</updated>
<entry>
<title>The big Callback type adjustment of 2020</title>
<updated>2021-09-06T01:52:01Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-02T03:11:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=5def02a589a2c1653f4bb515fdec290361a222be'/>
<id>urn:sha1:5def02a589a2c1653f4bb515fdec290361a222be</id>
<content type='text'>
This change makes all callbacks that can fail return an `error`. This
makes things a lot more idiomatic.
</content>
</entry>
<entry>
<title>Add support for managed HTTP/S transports (#810)</title>
<updated>2021-09-05T23:39:07Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2021-09-05T23:39:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=b983e1daebf528443e2a3954cd595fa3664ec93f'/>
<id>urn:sha1:b983e1daebf528443e2a3954cd595fa3664ec93f</id>
<content type='text'>
This change uses the newly-exposed Transport interface to use Go's
implementation of http.Client instead of httpclient via libgit2.</content>
</entry>
<entry>
<title>Add support for custom smart transports (#806)</title>
<updated>2021-09-05T22:44:18Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2021-09-05T22:44:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=f1fa96c7b7f548389c7560d3a1a0bce83be56c9f'/>
<id>urn:sha1:f1fa96c7b7f548389c7560d3a1a0bce83be56c9f</id>
<content type='text'>
This change adds support for git smart transports. This will be then
used to implement http, https, and ssh transports that don't rely on the
libgit2 library.</content>
</entry>
<entry>
<title>Support git_remote_create_with_opts (#733)</title>
<updated>2021-02-04T02:58:31Z</updated>
<author>
<name>Byoungchan Lee</name>
<email>daniel.l@hpcnt.com</email>
</author>
<published>2021-02-04T02:58:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=73d97b9bbe7c9a7747af20aad670baba33b5e390'/>
<id>urn:sha1:73d97b9bbe7c9a7747af20aad670baba33b5e390</id>
<content type='text'>
Closes #645</content>
</entry>
<entry>
<title>Ensure that no pointer handles leak during the test (#712)</title>
<updated>2020-12-10T13:35:40Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-10T13:35:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=e28cce87c7551bffa1f4602ff492348f9a8cba60'/>
<id>urn:sha1:e28cce87c7551bffa1f4602ff492348f9a8cba60</id>
<content type='text'>
This change makes sure that pointer handles are correctly cleaned up
during tests.</content>
</entry>
<entry>
<title>Add `NewCredentialSSHKeyFromSigner` (#706)</title>
<updated>2020-12-06T19:55:04Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-06T19:55:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=abf02bc7d79dfb7b0bbcd404ebecb202cff2a18e'/>
<id>urn:sha1:abf02bc7d79dfb7b0bbcd404ebecb202cff2a18e</id>
<content type='text'>
This change adds `NewCredentialSSHKeyFromSigner`, which allows idiomatic
use of SSH keys from Go. This also lets us spin off an SSH server in the
tests.</content>
</entry>
<entry>
<title>Refactor all callbacks (#700)</title>
<updated>2020-12-05T21:13:59Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-05T21:13:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=5d8eaf7e65c404a0d10d3705697dd99369630dda'/>
<id>urn:sha1:5d8eaf7e65c404a0d10d3705697dd99369630dda</id>
<content type='text'>
This change is a preparation for another change that makes all callback
types return a Go error instead of an error code / an integer. That is
going to make make things a lot more idiomatic.

The reason this change is split is threefold:

a) This change is mostly mechanical and should contain no semantic
   changes.
b) This change is backwards-compatible (in the Go API compatibility
   sense of the word), and thus can be backported to all other releases.
c) It makes the other change a bit smaller and more focused on just one
   thing.

Concretely, this change makes all callbacks populate a Go error when
they fail. If the callback is invoked from the same stack as the
function to which it was passed (e.g. for `Tree.Walk`), it will preserve
the error object directly into a struct that also holds the callback
function. Otherwise if the callback is pased to one func and will be
invoked when run from another one (e.g. for `Repository.InitRebase`),
the error string is saved into the libgit2 thread-local storage and then
re-created as a `GitError`.</content>
</entry>
<entry>
<title>Mark some symbols to be deprecated #minor (#698)</title>
<updated>2020-12-05T15:23:44Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-05T15:23:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=137c05e802d5e11a5ab54809bc8be8f61ccece21'/>
<id>urn:sha1:137c05e802d5e11a5ab54809bc8be8f61ccece21</id>
<content type='text'>
This change introduces the file deprecated.go, which contains any
constants, functions, and types that are slated to be deprecated in the
next major release.

These symbols are deprecated because they refer to old spellings in
pre-1.0 libgit2. This also makes the build be done with the
`-DDEPRECATE_HARD` flag to avoid regressions.

This, together with
[gorelease](https://godoc.org/golang.org/x/exp/cmd/gorelease)[1] should
make releases safer going forward.

1: More information about how that works at
   https://go.googlesource.com/exp/+/refs/heads/master/apidiff/README.md</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/master' into next</title>
<updated>2016-08-27T19:07:44Z</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-08-27T19:07:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=aadd0c2035d12b6469c53b7c444ea6fe1006c2c0'/>
<id>urn:sha1:aadd0c2035d12b6469c53b7c444ea6fe1006c2c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run the tests in parallel</title>
<updated>2016-08-27T17:21:05Z</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-08-27T17:21:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/git2go/commit/?id=e55c00eca7e70e2d02860cda3cdc9169a88ece36'/>
<id>urn:sha1:e55c00eca7e70e2d02860cda3cdc9169a88ece36</id>
<content type='text'>
This saves about 1s, or 1/3 of the test runtime. The linking is still
much slower, but this we can control.
</content>
</entry>
</feed>
