Commit graph

4113 commits

Author SHA1 Message Date
df51736c87 Add imag logging configuration 2017-09-03 13:48:05 +02:00
482377abb9 Actually print error here (as logging isnt initialized at this point) 2017-09-03 13:48:05 +02:00
5ec1cd48a0 Implement format-fetching from config/cli 2017-09-03 13:48:05 +02:00
ae24954020 Implement templating 2017-09-03 13:48:05 +02:00
2c66dcdf37 Rewrite logging: Types
This is the first part of a series of patches that reimplements the
logging backend to be more powerful and configurable.

This first patch adds types and infrastructure to be able to implement a
powerful logging abstraction.

It does not implement much functionality, except for a check whether a
module is enabled or not when logging (if configured in the config
file).
2017-09-03 13:48:05 +02:00
609c7fef93 Merge pull request #1043 from matthiasbeyer/imag-link/positional-args
imag-link: positional args
2017-09-02 20:49:31 +02:00
3a959ddfd1 Add multi-call tests: add-remove 2017-09-02 17:26:24 +02:00
e7ecea0065 Add test to check links from one entry to two others 2017-09-02 17:26:24 +02:00
d538d5fffe Adapt tests to new UI 2017-09-02 17:26:24 +02:00
2a20306099 Rewrite link listing to work with positional argument 2017-09-02 17:26:24 +02:00
46dcbb828e Rewrite UI to use positional arguments 2017-09-02 17:26:24 +02:00
5626a365c6 Merge pull request #1044 from matthiasbeyer/libimagrt/feature-testing
Add store extraction to Runtime
2017-09-02 17:25:13 +02:00
8c69ed54e4 Merge pull request #1035 from matthiasbeyer/tag-ui-feature-to-bin
Tag ui feature to bin
2017-09-02 14:10:01 +02:00
147c264ee3 Merge pull request #1045 from matthiasbeyer/libimagutil/bugfix-testing
Bugfix: Fix macro to use the appname instead of hardcoded values
2017-09-02 14:09:20 +02:00
b55f46764f Fix dependency spec: libimagrt must be used with "testing" enabled for tests 2017-09-02 14:04:47 +02:00
ab06263507 Add store extraction to Runtime
This is necessary to be able to re-build a Runtime object with an new
set of "commandline arguments". For example if a test wants to test two
calls to imag, for example a "add" operation followed by a "remove" operation.

These functions are feature-gated therefor and should only be used in
tests.
2017-09-02 10:42:11 +02:00
b32245b03a Bugfix: Fix macro to use the appname instead of hardcoded values 2017-09-02 10:41:38 +02:00
26115bf7f8 Remove tagging functionality from imag-notes 2017-09-02 10:16:56 +02:00
b787ef1696 Move tagging UI code to binary 2017-09-02 10:16:56 +02:00
177e5bf762 Remove tagging support 2017-09-02 10:16:55 +02:00
1760c41975 Merge pull request #1040 from matthiasbeyer/libimagentrygps/init
libimagentrygps: init
2017-09-01 22:14:39 +02:00
caa8529abc Add libimagentrygps 2017-09-01 20:36:03 +02:00
1a244a3d6b Add setget test 2017-09-01 20:35:30 +02:00
eb32027546 Add test setup with first test 2017-09-01 20:35:30 +02:00
3bad9e2e92 Add entry module 2017-09-01 20:35:30 +02:00
90b3ae1f70 Add base types for the API 2017-09-01 20:35:30 +02:00
c2343eda67 Add error, result module 2017-09-01 20:35:30 +02:00
fb2dd3017a Initial import 2017-09-01 20:35:30 +02:00
279afd1972 Merge pull request #1038 from matthiasbeyer/changelog
Changelog
2017-09-01 20:34:58 +02:00
3a0603e793 Merge pull request #1039 from matthiasbeyer/cargo-toml-fix-readme
Fix readme links in cargo metadata
2017-09-01 20:30:44 +02:00
048517a3c2 Fix readme links in cargo metadata 2017-09-01 18:48:02 +02:00
f71065c24d Add changelog for 0.3.0..master 2017-09-01 14:40:30 +02:00
a5e836fecb Add changelog 2017-09-01 14:25:00 +02:00
f653354e73 Merge pull request #1036 from matthiasbeyer/imag-documentation/fix-version
Fix documentation version number for next release
2017-09-01 08:55:39 +02:00
c22aca008a Merge pull request #1033 from matthiasbeyer/nix-mozilla-overlay
Use overlay from Mozilla for build env, to have current rust compiler
2017-08-31 19:01:30 +02:00
bdc08a5a12 Use overlay from Mozilla for build env, to have current rust compiler 2017-08-31 13:07:13 +02:00
186c9a3060 Fix documentation version number for next release 2017-08-31 13:07:06 +02:00
24bcc53087 Merge pull request #1032 from matthiasbeyer/libimagstore/remove-unused
Remove unused imports, etc
2017-08-31 12:51:29 +02:00
9094c22abf Fix test helper function 2017-08-31 10:57:19 +02:00
a710a5b72b Remove unused variable 2017-08-31 10:57:19 +02:00
1c079c9501 Import libimagutil properly 2017-08-31 10:57:19 +02:00
0732962b59 Fix unused macro_use import 2017-08-31 10:57:19 +02:00
bc74ea7e41 Fix copy-paste bug 2017-08-31 10:57:19 +02:00
00b8d5192c Remove unused variables 2017-08-31 10:57:19 +02:00
fabb990336 Remove unused imports 2017-08-31 10:57:19 +02:00
991fd7c3d4 Remove unused variable 2017-08-31 10:57:19 +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
c987130cc1 Merge pull request #1018 from matthiasbeyer/remove-toml-ext
Remove toml ext
2017-08-28 14:10:40 +02:00
c0c62bd1b5 Change crates to use toml-query crate 2017-08-28 12:22:37 +02:00