Commit graph

88 commits

Author SHA1 Message Date
Robert Ignat
6ded27c6ea Add new Runtime constructor
that accepts a Configuration argument;
removed `GetConfiguration` trait and all the previous changes
needed for it
2017-07-13 18:24:20 +02:00
Robert Ignat
9a79232446 Remove enable_hooks from InternalConfiguration 2017-07-08 10:44:14 +02:00
Robert Ignat
a34eda8c41 Use toml-query to get entry links header value
in imag-links tests
2017-07-08 10:44:14 +02:00
Robert Ignat
cb62cf3edb Simplify imag-link GetConfiguration impl 2017-07-08 10:44:14 +02:00
Robert Ignat
52b377eaa1 Make configuration traits methods non-static 2017-07-08 10:44:14 +02:00
Robert Ignat
60e3038874 Add Rust tests for internal linking 2017-07-08 10:44:14 +02:00
7ecef14e1b Export store-consistency-check from libimagentrylink in UI 2017-07-05 11:10:04 +02:00
14735aa4c4 Extract internal linking list call handling 2017-07-04 18:27:13 +02:00
0e1ea242ca Fix: Getting entries from appropriate subcommand 2017-07-04 18:16:50 +02:00
4257ec1026 Merge pull request #930 from matthiasbeyer/update-toml
Dependency: toml: 0.2.* -> 0.4.*
2017-05-03 21:19:06 +02:00
585b5ffad6 dependency: toml: 0.2.* -> 0.4.* 2017-05-03 17:46:37 +02:00
9650f46e23 Version strings: 0.2.0 -> 0.3.0 2017-05-03 10:48:26 +02:00
beae005356 imag-link: Remove macro_use which is not needed 2017-02-04 11:16:00 +01:00
Mario Krehl
ddd4a8b94a Fix list external links when required 2017-01-25 10:45:27 +01:00
69d5c69eea Provide flag to still list external links 2017-01-25 09:54:17 +01:00
64c611847b Fix: Only list internal links here, no external ones
Funny side note:

As the commit history reveals, I wasn't active in this repository for
some time.

I first implemented a solution for this problem in about 50 lines of
code. Then I thought that this could be done way simpler, so I rewrote
it in about 20 lines.

Finally, I noticed that I already have infrastructure for this, so this
two-line patch should fix the problem.

Know your codebase, dude!
2017-01-25 09:54:09 +01:00
mario
8df5519f34 Move [profile.dev] codegen-units = 2 to top-level Cargo.toml
lower level (=package/crate level) definitions for profiles are ignored
2017-01-19 20:08:51 +01:00
mario
4cdbfb62da Adjust imag-*/tests/utils.sh to new target directory 2017-01-19 19:23:11 +01:00
e658e61c9e Fix: We need an argument here 2016-12-05 15:07:26 +01:00
002c50a39e Merge pull request #826 from matthiasbeyer/clap-completion
Bake in shell-compl generation
2016-11-05 13:22:55 +01:00
17f42fd5e4 Update clap to >=2.17
So we have `clap::App::get_name()`.
2016-11-02 14:37:45 +01:00
13c57aa0ce Merge pull request #829 from matthiasbeyer/imag-link/reduce-unwraps
Imag link/reduce unwraps
2016-11-01 20:59:08 +01:00
ec9710f1e7 Rewrite external linking handler function to use less unwrap() 2016-11-01 18:01:00 +01:00
b90dabaa97 Rewrite internal linking handling to use less unwrap() 2016-10-31 23:56:05 +01:00
0a04081599 Merge pull request #656 from matthiasbeyer/cargo-rustc-codegen-units
Cargo rustc codegen units
2016-10-31 23:39:38 +01:00
52820c4f1e imag-link/Cargo.toml: Update dependencies 2016-10-24 14:30:54 +02:00
d82db97978 Add codegen-units = 2 in ./imag-link/Cargo.toml 2016-10-24 13:50:31 +02:00
b5bfc1978c Fix: Cargo.toml does not know "website", but "homepage" 2016-10-20 14:14:18 +02:00
4ee505c658 Merge pull request #815 from matthiasbeyer/release-prep
Release preparation things
2016-10-19 14:33:11 +02:00
d857faf1e9 imag-link: Fix iterator usage 2016-10-19 13:03:17 +02:00
c229bb1575 Fix usages of get_external_links() 2016-10-19 13:03:17 +02:00
a13f5e3778 Add meta-info in imag-link/Cargo.toml 2016-10-18 10:56:12 +02:00
02a2034d8b Fix usage of libimagentrylink interface 2016-10-14 13:27:06 +02:00
0fc0471af6 imag-link: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
57114e159f Execute tests by calling another Makefile 2016-09-19 10:07:18 +02:00
23a42dcb0d imag-link: Use Err/Ok map utility functions to refactor code 2016-09-08 13:57:09 +02:00
ac5ee9fb51 imag-link: Use util function warn_exit() 2016-09-08 08:48:58 +02:00
584ac3d46e Fix link test to check properly 2016-09-06 15:30:26 +02:00
2e6f833bf2 Add test for linking the same entries twice 2016-09-06 15:30:26 +02:00
60de2eefec Fix store id specification 2016-09-06 15:30:26 +02:00
47c5b7edf3 Fix string-compare 2016-09-06 15:30:26 +02:00
73d05d80ae Remove version part from IDs 2016-09-06 15:30:26 +02:00
70a17ca62c Fix typo 2016-09-05 00:35:04 +02:00
c104e165fd Fix handle_internal_linking() and add error output in case of Err(_) via libimagutil::warn_result::* 2016-08-31 08:26:53 +02:00
17dbb1da29 Fix imga-link::main::* for new StoreId interface 2016-08-28 18:41:56 +02:00
1e457e8476 Merge pull request #633 from asuivelentine/imag/toml-dependency
Imag/toml dependency
2016-08-06 19:56:42 +02:00
Kai Sickeler
3cbf9ee7cb Upgrade clap dependency to 2.* 2016-08-06 17:40:31 +02:00
Kai Sickeler
688134abd7 Upgrade toml dependency to 0.2 2016-08-06 17:23:19 +02:00
703788d9d2 Replace trace_error() with trace_error_exit() where appropriate 2016-07-16 21:57:29 +02:00
4a09979951 Remove unused import 2016-07-15 21:48:29 +02:00