<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/examples/network/fetch.c, 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>examples: create common lg2 executable</title>
<updated>2019-02-15T11:06:54+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2019-01-24T10:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ead10785dcd9e7599a52a0349a69c113c76e650d'/>
<id>ead10785dcd9e7599a52a0349a69c113c76e650d</id>
<content type='text'>
Inside of our networking example code, we have a git2 executable
that acts as an entry point to all the different network
examples. As such, it is kind of the same like the normal git(1)
executable in that it simply arbitrates to the respective
subcommands.

Let's extend this approach and merge all examples into a single
standalone lg2 executable. Instead of building an executable
for all the existing examples we have, we now bundle them all
inside of the lg2 one and let them be callable via subcommands.

In the process, we can get rid of duplicated library
initialization, deinitialization and repository discovery code.
Instead of having each subcommand handle these on its own, we
simply do it inside of the single main function now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inside of our networking example code, we have a git2 executable
that acts as an entry point to all the different network
examples. As such, it is kind of the same like the normal git(1)
executable in that it simply arbitrates to the respective
subcommands.

Let's extend this approach and merge all examples into a single
standalone lg2 executable. Instead of building an executable
for all the existing examples we have, we now bundle them all
inside of the lg2 one and let them be callable via subcommands.

In the process, we can get rid of duplicated library
initialization, deinitialization and repository discovery code.
Instead of having each subcommand handle these on its own, we
simply do it inside of the single main function now.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: merge common network code</title>
<updated>2019-02-15T11:04:14+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2019-01-24T09:30:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7562422ab9310b81142986f69964194f491948cc'/>
<id>7562422ab9310b81142986f69964194f491948cc</id>
<content type='text'>
Right now, we have two sets of "common" code, one containing
general common code and one containing network common code. As we
intend to get rid of the network subdirectory and instead merge
all examples into a single standalone executable, this
distinction doesn't make a lot of sense now. Furthermore, the
common network code is not that big.

Let's get rid of the common network code by merging it into the
general common code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Right now, we have two sets of "common" code, one containing
general common code and one containing network common code. As we
intend to get rid of the network subdirectory and instead merge
all examples into a single standalone executable, this
distinction doesn't make a lot of sense now. Furthermore, the
common network code is not that big.

Let's get rid of the common network code by merging it into the
general common code.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Dead code &amp; warnings</title>
<updated>2018-01-25T21:11:20+00:00</updated>
<author>
<name>Etienne Samson</name>
<email>samson.etienne@gmail.com</email>
</author>
<published>2018-01-17T01:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bb9353cfc155e51a19ce4d3336ebc54b8ad5e830'/>
<id>bb9353cfc155e51a19ce4d3336ebc54b8ad5e830</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: fix warnings in network/fetch.c</title>
<updated>2016-10-10T07:04:42+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2016-08-16T08:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7314da105532306dad21843c8997b746b02fa3ed'/>
<id>7314da105532306dad21843c8997b746b02fa3ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix return</title>
<updated>2015-10-07T12:01:05+00:00</updated>
<author>
<name>Eun</name>
<email>eun@su.am</email>
</author>
<published>2015-10-07T12:01:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8b8f1f91881a024d0d8efbf1f69e49ed65fdbc6f'/>
<id>8b8f1f91881a024d0d8efbf1f69e49ed65fdbc6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3306 from libgit2/cmn/fetch-ex-fetch</title>
<updated>2015-07-13T09:23:07+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-07-13T09:23:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=97c0a85fc6e950970a9bf365eb26f9f32a9b3d68'/>
<id>97c0a85fc6e950970a9bf365eb26f9f32a9b3d68</id>
<content type='text'>
examples: modernise the fetch example</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
examples: modernise the fetch example</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #3094 - improve use of portable size_t/ssize_t format specifiers.</title>
<updated>2015-07-12T17:55:19+00:00</updated>
<author>
<name>Matthew Plough</name>
<email>matt.plough@gmail.com</email>
</author>
<published>2015-06-30T23:00:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=768f8be31c3fac1b0ed8f4d49cf7176a30586443'/>
<id>768f8be31c3fac1b0ed8f4d49cf7176a30586443</id>
<content type='text'>
The header src/cc-compat.h defines portable format specifiers PRIuZ, PRIdZ, and PRIxZ. The original report highlighted the need to use these specifiers in examples/network/fetch.c.  For this commit, I checked all C source and header files not in deps/ and transitioned to the appropriate format specifier where appropriate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The header src/cc-compat.h defines portable format specifiers PRIuZ, PRIdZ, and PRIxZ. The original report highlighted the need to use these specifiers in examples/network/fetch.c.  For this commit, I checked all C source and header files not in deps/ and transitioned to the appropriate format specifier where appropriate.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: modernise the fetch example</title>
<updated>2015-07-12T17:41:01+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-07-12T17:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=6c7e86e158f1294a4f98c470aa42118fc85924fe'/>
<id>6c7e86e158f1294a4f98c470aa42118fc85924fe</id>
<content type='text'>
Under normal conditions, git_remote_fetch() should be the only function
used to perform a fetch. Don't let the example lead people astray.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under normal conditions, git_remote_fetch() should be the only function
used to perform a fetch. Don't let the example lead people astray.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: remove fetch parameter from create_anonymous</title>
<updated>2015-05-28T13:32:20+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-05-17T13:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ae5b93629c148dc96de7337095fba4b1e901ee2b'/>
<id>ae5b93629c148dc96de7337095fba4b1e901ee2b</id>
<content type='text'>
An anonymous remote is not configured and cannot therefore have
configured refspecs. Remove the parameter which adds this from the
constructor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An anonymous remote is not configured and cannot therefore have
configured refspecs. Remove the parameter which adds this from the
constructor.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: adjust to the new remote API</title>
<updated>2015-05-13T07:46:36+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-04-23T04:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3fec548a989b09fc7a2c30f42b1d4fa123a8867e'/>
<id>3fec548a989b09fc7a2c30f42b1d4fa123a8867e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
