Commit graph

2794 commits

Author SHA1 Message Date
904e048c6f Add module for flock() hook 2016-04-14 18:34:10 +02:00
fd637dae48 Add dependency: fs2 = 0.2.3 2016-04-14 18:22:44 +02:00
9116409c16 Implement the --list argument 2016-04-14 17:18:02 +02:00
3719bf8ae9 The --list argument takes a value, actually. The StoreIDs! 2016-04-14 17:18:02 +02:00
535483d460 Merge pull request #335 from matthiasbeyer/libimaglink/bugfixes
Bug fixes for libimaglink
2016-04-13 23:51:48 +02:00
18627f136f Merge pull request #336 from matthiasbeyer/imag-link/cli-unpacking-bugfix
Bugfix: Add missing level of unpacking in cli helpers
2016-04-13 23:51:32 +02:00
8d7e2d97bd Merge pull request #331 from mario-kr/add-description_to_build/run_imag
Add description to build/run imag
2016-04-13 23:51:02 +02:00
87c00cec9e Update CONTRIBUTING.md 2016-04-13 23:49:11 +02:00
mario
5b31824bf0 add Section about Building/Running imag 2016-04-13 18:56:19 +02:00
1910dc0449 Add missing level of unpacking in cli helpers 2016-04-12 22:02:28 +02:00
0cc50691b6 Rewrite process_rw_result()
It did not cover the aspect that the passed toml `Value` object was an
Array in the first place and assumed that it is an `String` instead,
which caused the function always to return an Result::Err, which was
obviousely buggy.

This is almost a rewrite of the process_rw_result() function which takes
the additional layer (Array(String)) into account and therefor fixes
this issue.
2016-04-12 22:00:40 +02:00
9866c6354d Merge pull request #311 from matthiasbeyer/libimaginteraction/init
libimaginteraction/init
2016-04-12 21:57:58 +02:00
a3f3cd3e00 Implement ask_select_from_list() 2016-04-12 16:40:41 +02:00
c2e2fca8eb Add result type 2016-04-12 16:40:32 +02:00
6f3b3d6b83 Add error module 2016-04-12 16:40:25 +02:00
6b0535aaca Remove ask_enum() 2016-04-09 19:48:08 +02:00
92b471bb13 Merge pull request #328 from matthiasbeyer/imag-link/fix-ui
Remove "show" argument, as the short key "s" was duplicated
2016-04-09 15:42:35 +02:00
cd2bc0bba4 Merge pull request #325 from matthiasbeyer/libimaglink/internal-linking-use-storeid
Libimaglink/internal linking use storeid
2016-04-09 15:35:15 +02:00
93f5453c5c Remove "show" argument, as the short key "s" was duplicated 2016-04-09 14:46:46 +02:00
8d9d6651fb Refactor common pattern into function 2016-04-09 14:43:11 +02:00
77fa6d71b3 Rewrite internal linking to use StoreId instead of String as Link type 2016-04-08 23:57:16 +02:00
47d08224db Add implementation for ask_string() 2016-04-06 18:26:28 +02:00
860888c06f Implement ask_uint() including tests 2016-04-06 18:05:49 +02:00
747324ae85 Move real implementation to helper, so we can test.
Tests were added, and yes I'm doing some `assert!((foo == true)` here,
so it is easier to spot what happens here, as a `!` is overlooked
sometimes.
2016-04-06 17:54:11 +02:00
253d080625 Add initial codebase for ask_() functions 2016-04-06 17:54:11 +02:00
b9769f4fe6 Initial import 2016-04-06 17:54:11 +02:00
1fc7b64171 Merge pull request #310 from matthiasbeyer/libimagentrylist/cli
Libimagentrylist/cli
2016-04-06 17:09:39 +02:00
3e9bf44127 Merge pull request #322 from matthiasbeyer/libimagrt/debug-log-line-and-file
logger: Print file and line on debug printing
2016-04-06 16:58:22 +02:00
db82a121c4 Merge pull request #323 from matthiasbeyer/libimagrt/edit-for-string
Implement Edit for String
2016-04-06 15:06:07 +02:00
b305b3c693 Implement Edit for String 2016-04-06 14:40:54 +02:00
a41d037bcf Add lister helper function 2016-04-06 11:49:03 +02:00
ecfdbab947 Add default arguments for builtin lister backends 2016-04-06 11:42:23 +02:00
9a9b7fcc58 Add cli submodule for building and parsing CLI subcomponents 2016-04-06 11:35:22 +02:00
19f89c5864 Add dependency: clap = 2.1.1 2016-04-06 11:32:29 +02:00
b30cde474d Merge pull request #319 from matthiasbeyer/libimagrt/std-hook-register-error-only-debugoutput
Libimagrt/std hook register error only debugoutput
2016-04-06 11:14:44 +02:00
a4d77bb89a Merge pull request #321 from matthiasbeyer/libimagrt/fix-logger-init
Partially revert 7f1a671
2016-04-06 11:14:13 +02:00
f28bfadf8d logger: Print file and line on debug printing 2016-04-05 17:53:09 +02:00
9a094fcd94 Partially revert 7f1a671
Removed the logger initialization, which was not caught by review
somehow.

This patch re-adds the appropriate lines.
2016-04-05 17:48:21 +02:00
4f391d0e04 Spit out the traceback for hook registration errors only in debug mode
This patch is added because this error occours only if there is no
configuration file with the appropriate settings available.

There will still be a warning about hook registration failed, but the
traceback will only be visitible in `--debug` mode.
2016-04-05 16:50:17 +02:00
ee61d079bd Merge pull request #295 from matthiasbeyer/libimagrt/config-for-everyone
Libimagrt/config for everyone
2016-03-26 21:29:40 +01:00
1bcc05a855 Add Runtime::config() 2016-03-26 20:48:32 +01:00
86929c819c impl Deref for Configuration 2016-03-26 20:48:28 +01:00
e7a0eed1c1 Merge pull request #296 from matthiasbeyer/libimagnotes/deref-note
impl Deref for Note
2016-03-26 20:41:03 +01:00
cdbb71cea2 impl Deref for Note 2016-03-26 19:52:30 +01:00
144e2db92d Merge pull request #265 from matthiasbeyer/libimagstorestdhook/init
Libimagstorestdhook/init
2016-03-26 19:51:19 +01:00
a36c213cec Merge pull request #192 from matthiasbeyer/libimagnotes/init
Libimagnotes/init
2016-03-26 18:22:52 +01:00
7f1a671e4d Add debug hook 2016-03-26 18:20:12 +01:00
15dc163504 Add option to edit after creating 2016-03-26 16:43:33 +01:00
272243a125 Implement edit() 2016-03-26 16:43:33 +01:00
ded011b5b6 lib: impl Edit for Note 2016-03-26 16:43:33 +01:00