Commit Graph

4560 Commits

Author SHA1 Message Date
Matthias Beyer da391954cc Replace uses of try!() macro with "?" operator 2017-10-31 15:04:50 +01:00
Matthias Beyer ec3daa1f41 Replace uses of try!() macro with "?" operator 2017-10-31 15:04:50 +01:00
Matthias Beyer 14bacaf01f Replace uses of try!() macro with "?" operator 2017-10-31 15:04:50 +01:00
Matthias Beyer 51a7429283 Replace uses of try!() macro with "?" operator 2017-10-31 15:04:50 +01:00
Matthias Beyer 85ccc482d2 Replace uses of try!() macro with "?" operator 2017-10-31 15:04:50 +01:00
Matthias Beyer d4031758d6 Use ? operator instead of try!() macro 2017-10-31 15:04:50 +01:00
Matthias Beyer 26d7fd4eb7 Use ? operator instead of try!() macro 2017-10-31 15:04:07 +01:00
Matthias Beyer 82c30edcee Simplify matching 2017-10-31 15:04:07 +01:00
Matthias Beyer 131881cd01 Use ? operator instead of try!() macro 2017-10-31 15:04:07 +01:00
Matthias Beyer a20871eb5e Add badges in Cargo.toml of all crates 2017-10-31 15:03:30 +01:00
Matthias Beyer 5d76e7bafa Use ? operator instead of try!() macro 2017-10-31 15:03:30 +01:00
Matthias Beyer ea618ee3c7 Remove unused variable 2017-10-31 15:03:30 +01:00
Matthias Beyer 6e2aaf6853 Typo 2017-10-31 15:03:30 +01:00
Matthias Beyer 2855a89e24 Move verify implementation from Store to CLI interface 2017-10-31 13:11:34 +01:00
Matthias Beyer 429194b5d0
Merge pull request #1155 from matthiasbeyer/libimagrt/config-refactoring
Rewrite configuration providing in runtime
2017-10-31 12:58:46 +01:00
Matthias Beyer b237adfe19 Fix calls to Runtime::config() to use direct result 2017-10-31 09:25:14 +01:00
Matthias Beyer eca7219039 Rewrite configuration providing in runtime
Before the configuration object (the raw TOML object) was provided via a
wrapper object `Configuration`. This was ugly and not very nice to use.

Now, we only have the `toml::Value` object we lend out from
`Runtime::config()`.

The changes included libimagrt internal rewrites, which are not visible
to the user. Anyways, this change changes the API for config-fetching
from the runtime, so fixes for all other crates may follow.

The changes also removed the support for reading the "editor" setting
from the configuration file, which was not used anyways (in the example
imagrc.toml file).
The CLI-reading and ENV-reading are still supported, though.
2017-10-31 09:25:14 +01:00
Matthias Beyer 619104b991
Merge pull request #1136 from matthiasbeyer/imag-diagnostics/init
Imag diagnostics/init
2017-10-30 20:21:27 +01:00
Matthias Beyer 36adac4a16 Add output about max internal links and max overall byte size 2017-10-16 14:43:21 +02:00
Matthias Beyer 6daeefa0d8 Show average link count in all entries 2017-10-16 14:43:21 +02:00
Matthias Beyer a5042ba80c Add changelog entry 2017-10-16 14:43:21 +02:00
Matthias Beyer f9a56bee3f Add a few small diagnostics 2017-10-16 14:43:00 +02:00
Matthias Beyer ec78237198 Initial imag-diagnostics import 2017-10-16 14:43:00 +02:00
Matthias Beyer e7aa5af9be Merge pull request #1149 from matthiasbeyer/libimagrt/remove-logging-format-overrides
Remove override functionality for logging formats
2017-10-16 10:11:28 +02:00
Matthias Beyer 3487eb4c8a Remove override passing in imag binary command 2017-10-16 00:47:42 +02:00
Matthias Beyer e5d93f5ff3 Remove override functionality for logging formats 2017-10-16 00:47:42 +02:00
Matthias Beyer e43b524420 Merge pull request #1150 from matthiasbeyer/libimagrt/override-logging-with-debug-flag
Fix: Overide logging with --debug
2017-10-15 23:28:10 +02:00
Matthias Beyer 32de2821d2 Merge pull request #1151 from matthiasbeyer/libimagstore/remove-accidental-println
Remove accidentially slipped-in println
2017-10-15 23:28:00 +02:00
Matthias Beyer 16b5652fdd Remove accidentially slipped-in println 2017-10-15 19:49:06 +02:00
Matthias Beyer 817933c99f Fix: Overide logging with --debug
Formerly, the --debug flag was ignores. This change overrides the
logging with the CLI specified logging if it was provided.

If --debug was provided, the logging is set to debugging, if --verbose
was provided info logging is used.
2017-10-15 19:48:06 +02:00
Matthias Beyer 212ff3945e Merge pull request #1143 from matthiasbeyer/doc
Doc
2017-10-15 18:40:22 +02:00
Matthias Beyer a3de0f6712 Reword contributing guidelines 2017-10-15 10:56:39 +02:00
Matthias Beyer cd429a3116 Rewrite module section intro 2017-10-15 10:47:00 +02:00
Matthias Beyer 9007447463 Merge pull request #1145 from matthiasbeyer/fix-toml-query-versions
Fix missed version updates
2017-10-14 22:15:34 +02:00
Matthias Beyer 16ebf52385 Revisit the documentation for the store 2017-10-14 21:52:16 +02:00
Matthias Beyer 6068f2b52d Rephrase architecture doc. 2017-10-14 21:35:55 +02:00
Matthias Beyer b942b9702d Reword intro 2017-10-14 21:20:45 +02:00
Matthias Beyer 5917dade99 Fix missed version updates 2017-10-14 21:05:42 +02:00
Matthias Beyer 106ba44d4a Update tool todo-list 2017-10-14 15:38:04 +02:00
Matthias Beyer 01f527d7c4 Fix typos 2017-10-14 15:38:00 +02:00
Matthias Beyer 5928968c8f Explain versioning conventions 2017-10-14 15:38:00 +02:00
Matthias Beyer 2de3c512e3 Format markup 2017-10-14 15:37:53 +02:00
Matthias Beyer fcd30a80ad Revisit doc on entry version
We don't have that concept anymore, remove docs for it.
2017-10-14 15:29:41 +02:00
Matthias Beyer 494327e109 Merge pull request #1142 from matthiasbeyer/libimagentryref/abbrev-hash
libimagentryref: abbrev hash
2017-10-14 14:59:38 +02:00
Matthias Beyer 38494a31da Support deleting by partial hash 2017-10-14 14:05:56 +02:00
Matthias Beyer d37de44c94 Add RefStore::find_storeid_by_partial_hash() helper 2017-10-14 14:05:56 +02:00
Matthias Beyer 6c387e893c Add RefStore::get_by_partial_hash() 2017-10-14 13:36:04 +02:00
Matthias Beyer e74745c9fc Remove RefStore::get() which was simply a wrapper to Store::get() 2017-10-14 13:08:37 +02:00
Matthias Beyer bdf1848f3f Merge pull request #1141 from matthiasbeyer/libimaginteraction/more-helpers
libimaginteraction: Add more helpers for handlebars
2017-10-14 12:54:09 +02:00
Matthias Beyer 2d0944d814 Add explanation which fns are supported in templates 2017-10-14 11:17:42 +02:00