be74afd031
Remove "dump" subcommand
2018-04-24 22:16:40 +02:00
51b9b5c0db
Fix: Use qualification
2018-04-14 00:58:40 +02:00
8c1b4124c0
Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommand
2018-04-04 19:34:13 +02:00
e61ccc9561
Fix: Entry::to_str() should return Result<_>
...
Because serializing might fail.
Also fixes all usages of the API.
2018-03-26 14:24:42 +02:00
579c00b62a
Replace hard coded version strings with compiletime env
2018-03-06 12:45:41 +01:00
50461b839a
Use output stream from Runtime::stdout()
2018-03-04 13:57:44 +01:00
f5df7cf332
Revert "Dump all StoreIds"
...
This reverts commit 1f84643486
.
2018-02-20 13:40:52 +01:00
36e511d39b
Fix broken pipe panics
2018-02-19 11:14:19 +01:00
88d21375b9
Refactor "imag store ids" command to not panic on broken pipe
2018-02-19 10:40:26 +01:00
3341e3640c
Merge pull request #1224 from matthiasbeyer/git-version-in-version
...
Git version in version
2018-02-18 20:03:09 +01:00
9469693763
Use new make_imag_version!() macro for building version string
2018-02-13 11:38:34 +01:00
3845399fb8
Simplify implementation for new libimagerror interface
2018-02-12 21:19:48 +01:00
30d2c28a22
Update version string: 0.6.0 -> 0.7.0
2018-02-11 14:22:24 +01:00
d5a9e4930d
Update dates in license header
...
And add missing header in one file
2018-02-07 02:48:53 +01:00
7731b88c97
Remove map_err_trace_exit() calls in favour of map_err_trace_exit_unwrap()
2018-01-29 09:38:32 +01:00
bfc35e0517
Remove dependency "version"
...
Because the "version" crate is licensed as GPL, which would us require
to release imag as GPL, we remove the crate now.
2018-01-12 13:33:40 +01:00
3c8dd19d11
Update version strings: 0.5.0 -> 0.6.0
2017-12-25 19:17:07 +01:00
dc26f8c20c
Merge pull request #1156 from matthiasbeyer/store-verify-from-cli-app
...
Move verify implementation from Store to CLI interface
2017-10-31 15:47:57 +01:00
246bf04dbf
Replace uses of try!() macro with "?" operator
2017-10-31 15:04:50 +01:00
2855a89e24
Move verify implementation from Store to CLI interface
2017-10-31 13:11:34 +01:00
815cde76d0
Rewrite .map_err_trace_exit().unwrap() with new helper fn
2017-10-12 20:15:46 +02:00
Kai Sickeler
1f84643486
Dump all StoreIds
...
Add StoreId Dump changes
2017-10-09 12:18:27 +02:00
73f6016221
Update version strings: 0.4.0 -> 0.5.0
2017-09-24 13:05:01 +02:00
f86d02ecbb
Adapt the cli-test for delete()
...
In the process fix the binary name.
2017-09-05 17:41:09 +02:00
861817a87f
Adapt cli-test for create()
...
In the process fix the binary name.
2017-09-05 17:39:17 +02:00
7b1ffdfa4b
Rewrite delete() to use positional arg
2017-09-05 17:36:32 +02:00
9e9c04e5f3
Rewrite update() to use positional arg
2017-09-05 17:36:32 +02:00
381223efd9
Rewrite get() to use positional arg
2017-09-05 17:36:32 +02:00
9dde4731f2
Rewrite retrieve() to use positional arg
2017-09-05 17:36:32 +02:00
a71732be49
Rewrite create() to use positional arg
2017-09-05 17:36:32 +02:00
c115215fa4
Merge branch 'master' into libimagerror/integration
...
This merge solved a _LOT_ of conflicts and was a rather complicated one,
as parts of the conflict-resolution involved rewriting of half the
stuff.
This merge commit fixes all the things so a `cargo check --all`
succeeds, but I did not yet check whether tests run without failure.
2017-09-04 23:02:45 +02:00
46f769deb8
Add test for delete()
2017-09-03 22:08:06 +02:00
014daee93b
Add test for create()
2017-09-03 22:00:34 +02:00
7ce44e8090
Remove "IntoError" trait, use error_chain functionality
2017-09-03 21:34:07 +02:00
54219cb6fa
imag-store: Rewrite error handling
2017-09-03 21:33:54 +02:00
603808a9fa
Impl IntoError for error kinds
2017-09-03 15:42:06 +02:00
11d881d3a9
Add dependency to crates: error_chain = 0.10
2017-09-03 15:42:06 +02:00
e77d353c52
Rewrite macros to do error-chain behind the scenes
2017-09-03 15:42:03 +02:00
ac804bd839
Remove unused keyword "mut" where not needed
2017-08-31 10:57:11 +02:00
ae5255c7c7
Remove unused crate imports
...
This patch removes unused crate imports reported by newer rust versions.
Some crates were only required for tests, some only for tests with
macro_import - these things were fixed with feature gates.
2017-08-31 10:56:15 +02:00
59a3662ac4
Reorganize code in subdirs
2017-08-27 15:12:09 +02:00