<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrocli/src/tests, branch output-formats</title>
<subtitle>Robin Krahl's fork of nitrocli</subtitle>
<id>https://git.ireas.org/nitrocli/atom?h=output-formats</id>
<link rel='self' href='https://git.ireas.org/nitrocli/atom?h=output-formats'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/'/>
<updated>2020-09-03T04:40:32Z</updated>
<entry>
<title>Adjust copyright &amp; license specification to comply with REUSE 3.0</title>
<updated>2020-09-03T04:40:32Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-03T04:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=888c30e975726260e0af9b61baee6b17c51a06d5'/>
<id>urn:sha1:888c30e975726260e0af9b61baee6b17c51a06d5</id>
<content type='text'>
With this change we switch to using a REUSE compliant way of specifying
the copyright &amp; license of the program. To be fully in conformance we
also add additional license specifications for the remaining files in
the project. Lastly, a new CI pipeline rule takes care of verifying
compliance on an ongoing basis.
</content>
</entry>
<entry>
<title>Adjust copyright string to refer to The Nitrocli Developers</title>
<updated>2020-09-02T02:00:31Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-02T02:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=4686dbf5d79da730776374d7ef3471c3ed4915b5'/>
<id>urn:sha1:4686dbf5d79da730776374d7ef3471c3ed4915b5</id>
<content type='text'>
This change adjusts the copyright header in all files to no longer
mention individuals but refer to The Nitrocli Developers in general.
</content>
</entry>
<entry>
<title>Merge ExecCtx and RunCtx into Context</title>
<updated>2020-09-03T15:43:05Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-23T14:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=0cb2ac01371523eae785c12ce88848039090c1e6'/>
<id>urn:sha1:0cb2ac01371523eae785c12ce88848039090c1e6</id>
<content type='text'>
Since we moved the model, no_cache and verbosity fields from ExecCtx
into Config and added a Config field to both ExecCtx and RunCtx, RunCtx
and ExecCtx are identical.  Therefore this patch merges the ExecCtx and
RunCtx structs into the new Context struct.
</content>
</entry>
<entry>
<title>Add config test case and example config file</title>
<updated>2020-09-02T04:20:40Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-02-02T11:15:27Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=cbd0115cf2d746f5ccde212696376642cee950f9'/>
<id>urn:sha1:cbd0115cf2d746f5ccde212696376642cee950f9</id>
<content type='text'>
This patch adds a simple configuration file that demonstrates the syntax
and contains some documentation.  We suggest to ship this file together
with nitrocli and to install it e.g., in the /usr/share/doc/nitrocli
directory.  This patch also adds a simple test case that makes sure that
the example file is parsed correctly.
</content>
</entry>
<entry>
<title>Implement configuration handling</title>
<updated>2020-09-02T04:12:43Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-23T09:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=3f430bac70a946c776a930fabc5b64a788113452'/>
<id>urn:sha1:3f430bac70a946c776a930fabc5b64a788113452</id>
<content type='text'>
This patch implements basic configuration handling that reads a
configuration file and stores the parsed data in the ExecCtx and RunCtx
structs.  It supports three configuration items:
- model (previously only --model)
- no_cache (previously only NITROCLI_NO_CACHE)
- verbosity (previously only --verbose)
</content>
</entry>
<entry>
<title>Remove application global Result definition</title>
<updated>2020-09-01T02:25:48Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-01T02:25:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=98b36813b2ce7789da5981920b672daa47be1c35'/>
<id>urn:sha1:98b36813b2ce7789da5981920b672daa47be1c35</id>
<content type='text'>
In the past we were using an application global custom Result type
definition. This makes less sense now that we switched over to using
anyhow's Error and Result types. We kept that for the time being, but
with this change we remove the type and use anyhow::Result instead.
</content>
</entry>
<entry>
<title>Use anyhow for error handling</title>
<updated>2020-08-29T01:44:45Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-29T01:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=592d1a55f0c05c1dcba58261f327066b4832a703'/>
<id>urn:sha1:592d1a55f0c05c1dcba58261f327066b4832a703</id>
<content type='text'>
This patch changes our error handling approach from the ground up:
instead of having a globally used Error enum that contains variants for
all possible errors, we now use anyhow's Error type. This approach is
more dynamic (and not statically typed), but it allows for more fine
grained error messages and overall more user-friendly error reporting.
Overall it also is a net simplification. While we have one dynamic cast
now, in order to be able to handle erroneous password/PIN entries
correctly, that is considered a reasonable compromise.
</content>
</entry>
<entry>
<title>Remove UnwrapError test trait</title>
<updated>2020-07-10T02:01:52Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-10T02:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=0328fc29bc56498e2312b68e04db828dd1186d23'/>
<id>urn:sha1:0328fc29bc56498e2312b68e04db828dd1186d23</id>
<content type='text'>
This change wraps up the removal of the UnwrapError test trait. This
step prepares us for the subsequent removal of the application's global
Error enum type, in favor of the usage of anyhow's Error type.
</content>
</entry>
<entry>
<title>Remove unwrap_lib_err method from UnwrapError test trait</title>
<updated>2020-07-10T01:57:18Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-10T01:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=76dfd27ef163f44ef45688bf9d23332c822221dc'/>
<id>urn:sha1:76dfd27ef163f44ef45688bf9d23332c822221dc</id>
<content type='text'>
This change marks the next step in getting rid of the UnwrapError test
trait. Specifically, it removes its unwrap_lib_err method.
</content>
</entry>
<entry>
<title>Remove unwrap_str_err method from UnwrapError test trait</title>
<updated>2020-07-08T16:16:56Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-08T16:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=eb4419bfd990f0abe75e5e7c248fe1e7efa0843a'/>
<id>urn:sha1:eb4419bfd990f0abe75e5e7c248fe1e7efa0843a</id>
<content type='text'>
With upcoming changes we intend to move towards a model where we do not
distinguish the individual error variants the program deals with in a
global enum.
In preparation of such a change, this patch marks a first step in
removing the UnwrapError test trait, which relies on the existence of
exactly such typed errors. In particular, we remove the unwrap_str_err
method from it, basically falling back to just working with strings.
</content>
</entry>
</feed>
