Commit graph

5736 commits

Author SHA1 Message Date
3487eb4c8a Remove override passing in imag binary command 2017-10-16 00:47:42 +02:00
e5d93f5ff3 Remove override functionality for logging formats 2017-10-16 00:47:42 +02:00
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
32de2821d2 Merge pull request #1151 from matthiasbeyer/libimagstore/remove-accidental-println
Remove accidentially slipped-in println
2017-10-15 23:28:00 +02:00
16b5652fdd Remove accidentially slipped-in println 2017-10-15 19:49:06 +02:00
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
212ff3945e Merge pull request #1143 from matthiasbeyer/doc
Doc
2017-10-15 18:40:22 +02:00
a3de0f6712 Reword contributing guidelines 2017-10-15 10:56:39 +02:00
cd429a3116 Rewrite module section intro 2017-10-15 10:47:00 +02:00
9007447463 Merge pull request #1145 from matthiasbeyer/fix-toml-query-versions
Fix missed version updates
2017-10-14 22:15:34 +02:00
16ebf52385 Revisit the documentation for the store 2017-10-14 21:52:16 +02:00
6068f2b52d Rephrase architecture doc. 2017-10-14 21:35:55 +02:00
b942b9702d Reword intro 2017-10-14 21:20:45 +02:00
5917dade99 Fix missed version updates 2017-10-14 21:05:42 +02:00
106ba44d4a Update tool todo-list 2017-10-14 15:38:04 +02:00
01f527d7c4 Fix typos 2017-10-14 15:38:00 +02:00
5928968c8f Explain versioning conventions 2017-10-14 15:38:00 +02:00
2de3c512e3 Format markup 2017-10-14 15:37:53 +02:00
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
494327e109 Merge pull request #1142 from matthiasbeyer/libimagentryref/abbrev-hash
libimagentryref: abbrev hash
2017-10-14 14:59:38 +02:00
38494a31da Support deleting by partial hash 2017-10-14 14:05:56 +02:00
d37de44c94 Add RefStore::find_storeid_by_partial_hash() helper 2017-10-14 14:05:56 +02:00
6c387e893c Add RefStore::get_by_partial_hash() 2017-10-14 13:36:04 +02:00
e74745c9fc Remove RefStore::get() which was simply a wrapper to Store::get() 2017-10-14 13:08:37 +02:00
bdf1848f3f Merge pull request #1141 from matthiasbeyer/libimaginteraction/more-helpers
libimaginteraction: Add more helpers for handlebars
2017-10-14 12:54:09 +02:00
2d0944d814 Add explanation which fns are supported in templates 2017-10-14 11:17:42 +02:00
41374fb620 Add more helpers for handlebars 2017-10-14 11:02:30 +02:00
704c01b2c9 Merge pull request #1130 from matthiasbeyer/imag-annotate/init
Imag annotate/init
2017-10-13 16:20:57 +02:00
9357019551 Merge pull request #1138 from matthiasbeyer/libimagstore/entries-do-not-yield-dirs
Fix Store::entries() to not yield directories
2017-10-13 15:31:17 +02:00
60f2a34074 Add debug output 2017-10-13 14:53:57 +02:00
797b764027 Fix: Return annotation object when found
Before we did not return the annotation object after unlinking it. This
patch fixes this.
2017-10-13 14:53:57 +02:00
1d270ee1cf Add changelog entry 2017-10-13 14:53:57 +02:00
da013d65dc Initial import for imag-annotate 2017-10-13 14:53:57 +02:00
b83367f383 Merge pull request #1137 from matthiasbeyer/logging-modifications
Alter default configuration
2017-10-13 14:50:37 +02:00
23f4d7948f Fix Store::entries() to not yield directories
Before the iterator did also yield storeids for directories, which was a
bug.

This change introduces a new if_file() function in the store-internal
backend, which is needed to check whether a path actually points to a
File, be it inmemory or on the real filesystem.

That's because tests might fail if they check via PathBuf::is_file() as
in tests, the entries only exist inmemory.
2017-10-13 14:26:06 +02:00
7d933725d6 Alter default configuration
Explain how the module logging destinations work, remove the specified
logging destination, because the global log definition already logs to
stderr.

libimagstore logs with trace now, also to a logfile in /tmp/
2017-10-13 14:04:19 +02:00
a24baca779 Merge pull request #1129 from matthiasbeyer/libimagentryannotation/not-based-on-libimagnotes
Libimagentryannotation/not based on libimagnotes
2017-10-12 23:47:15 +02:00
dde343965a Merge pull request #1133 from matthiasbeyer/update-error-chain
Update dependency: error-chain: 0.10 -> 0.11
2017-10-12 23:46:56 +02:00
d4633d466e Add changelog entry 2017-10-12 22:15:13 +02:00
7978e71bde Rewrite API 2017-10-12 22:15:13 +02:00
ec855fefc7 Remove dependency on libimagnotes 2017-10-12 22:15:13 +02:00
758166637b Update toml-query: 0.3.* -> 0.4
This update is needed for the error-chain update, as the toml-query
0.4.0 release also bumps this dependency.
2017-10-12 22:13:04 +02:00
663242db7e Update dependency: error-chain: 0.10 -> 0.11 2017-10-12 22:12:27 +02:00
3ed9c1fcc8 Merge pull request #1131 from matthiasbeyer/libimagerror/trace-and-unwrap-helper
Add helper for tracing error and exit or unwrap the value
2017-10-12 22:08:48 +02:00
0a3f7d9e49 Merge pull request #1135 from matthiasbeyer/update-deps
Update deps
2017-10-12 21:39:56 +02:00
edf2378404 Merge pull request #1134 from matthiasbeyer/travis-update-rustc
travis: rustc 1.17/1.18 -> 1.19/1.20
2017-10-12 21:11:25 +02:00
815cde76d0 Rewrite .map_err_trace_exit().unwrap() with new helper fn 2017-10-12 20:15:46 +02:00
013e82f04f Update dependency: filters: 0.1 -> 0.2 2017-10-12 19:48:01 +02:00
67a127f700 Update dependency: itertools: 0.6 -> 0.7 2017-10-12 19:45:50 +02:00
bb26d1c895 Update dependency: ansi_term: 0.9 -> 0.10 2017-10-12 19:44:33 +02:00