<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kipper, branch v0.0.1</title>
<subtitle>Update GitHub commit statuses from Jenkins build results</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/'/>
<entry>
<title>Add README</title>
<updated>2017-11-12T23:05:13+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T23:05:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=5616450a69358321f787f04b8fcaaff440e3e5c6'/>
<id>5616450a69358321f787f04b8fcaaff440e3e5c6</id>
<content type='text'>
Add a little information about the project, some brief (probably
incomplete) setup instructions, installation, and license information.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a little information about the project, some brief (probably
incomplete) setup instructions, installation, and license information.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2017-11-12T21:58:48+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T21:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=2463dfbfb35336ac4cb92110a9cc36a1f85c58fc'/>
<id>2463dfbfb35336ac4cb92110a9cc36a1f85c58fc</id>
<content type='text'>
Add COPYING file and license notices to sources.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add COPYING file and license notices to sources.
</pre>
</div>
</content>
</entry>
<entry>
<title>main(): Print message to inform users that the server is running</title>
<updated>2017-11-12T19:57:22+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=f550b9ea7a30e0d12de2e24c02bddd35f9578c78'/>
<id>f550b9ea7a30e0d12de2e24c02bddd35f9578c78</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main(): Use "127.0.0.1" instead of "localhost"</title>
<updated>2017-11-12T19:53:14+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=fc34a932a703953b688648987f32e7e970b676ad'/>
<id>fc34a932a703953b688648987f32e7e970b676ad</id>
<content type='text'>
Make it clear that we want to run on local localhost (and not
"0.0.0.0").
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make it clear that we want to run on local localhost (and not
"0.0.0.0").
</pre>
</div>
</content>
</entry>
<entry>
<title>main(): Add logging</title>
<updated>2017-11-12T19:50:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:50:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=09adc073ef92c33ee63c1885cf7888cbfead4f0e'/>
<id>09adc073ef92c33ee63c1885cf7888cbfead4f0e</id>
<content type='text'>
Initialise a new 'stderrlog' and log all errors to the log.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialise a new 'stderrlog' and log all errors to the log.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'log' &amp; 'stderrlog' crates</title>
<updated>2017-11-12T19:49:55+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=98fb0777107ed24e95cb3012a8b10ee3228829d5'/>
<id>98fb0777107ed24e95cb3012a8b10ee3228829d5</id>
<content type='text'>
For logging capabilities. 'stderrlog' seemed like a reasonable option to
go with, even though it only logs to STDERR, given that I only feel the
need to log to STDERR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For logging capabilities. 'stderrlog' seemed like a reasonable option to
go with, even though it only logs to STDERR, given that I only feel the
need to log to STDERR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert a bunch of `to_string()`s to `to_owned()`</title>
<updated>2017-11-12T19:16:54+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:16:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=b06e3fe2f1bcf7fa897648ab79e301ccab256ac8'/>
<id>b06e3fe2f1bcf7fa897648ab79e301ccab256ac8</id>
<content type='text'>
I had used `to_owned()` previously in other projects, but after looking
up the difference (again probably), I decided that it seems better to
use `to_owned()`.

References:

https://users.rust-lang.org/t/to-string-vs-to-owned-for-string-literals/1441/6
http://www.lowlevelmanager.com/2016/02/rust-tostring-vs-toowned-for-string.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I had used `to_owned()` previously in other projects, but after looking
up the difference (again probably), I decided that it seems better to
use `to_owned()`.

References:

https://users.rust-lang.org/t/to-string-vs-to-owned-for-string-literals/1441/6
http://www.lowlevelmanager.com/2016/02/rust-tostring-vs-toowned-for-string.html
</pre>
</div>
</content>
</entry>
<entry>
<title>request_job(): Use `Job::new()`</title>
<updated>2017-11-12T19:12:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=98ff2f8a24f0d32043b4de9b5671a4d882a6e903'/>
<id>98ff2f8a24f0d32043b4de9b5671a4d882a6e903</id>
<content type='text'>
Realised that the reason why I was getting a dead code warning from
`Job::new` was not just because I wasn't using it, but because I was
meant to use it somewhere. Remove the duplicate work going on in
`request_job()` and replace it with a call to `Job::new()` instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Realised that the reason why I was getting a dead code warning from
`Job::new` was not just because I wasn't using it, but because I was
meant to use it somewhere. Remove the duplicate work going on in
`request_job()` and replace it with a call to `Job::new()` instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>github.rs: Update tests to pass GitHub token</title>
<updated>2017-11-12T19:09:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=aeba798c8e3f242c845e3d36966249ab9a914efc'/>
<id>aeba798c8e3f242c845e3d36966249ab9a914efc</id>
<content type='text'>
Now that `update_commit_status()` takes the GitHub API token as an
argument, pass in a fake one in our test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that `update_commit_status()` takes the GitHub API token as an
argument, pass in a fake one in our test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update tests for Jenkins mock URL</title>
<updated>2017-11-12T19:06:13+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-11-12T19:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/kipper/commit/?id=81390cd0d3b36f732f6e6071160fb944e1f12892'/>
<id>81390cd0d3b36f732f6e6071160fb944e1f12892</id>
<content type='text'>
Now that the Jenkins API URL is getting passed in via command line and
function argument, update the tests to pass it in directly.

Remove the test/non-test versions of `jenkins_url` from
`find_and_track_build_and_update_status()` because we can pass in the
mock URL directly to the `get_jobs()` and `request_job()` functions in
tests.

Make the `jenkins_url` argument to
`find_and_track_build_and_update_status()` not a reference so that we
don't have to reset it in the function to a `to_owned()` version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the Jenkins API URL is getting passed in via command line and
function argument, update the tests to pass it in directly.

Remove the test/non-test versions of `jenkins_url` from
`find_and_track_build_and_update_status()` because we can pass in the
mock URL directly to the `get_jobs()` and `request_job()` functions in
tests.

Make the `jenkins_url` argument to
`find_and_track_build_and_update_status()` not a reference so that we
don't have to reset it in the function to a `to_owned()` version.
</pre>
</div>
</content>
</entry>
</feed>
