Commit graph

95 commits

Author SHA1 Message Date
a4c2c04c61 Use cargo feature to specify both version and path
Thanks to reddit user /u/TimNN for suggesting this.
2017-08-27 11:25:43 +02:00
1c37703c32 Update version strings for next release: 0.3.0 -> 0.4.0 2017-08-26 13:27:32 +02:00
d3ddf929b6 Move utility functionality for tests into libimagutil 2017-07-18 23:47:23 +02:00
05c316a1ed Fix build 2017-07-13 18:24:20 +02:00
Robert Ignat
987b331e39 Remove bash imag-link tests 2017-07-13 18:24:20 +02:00
Robert Ignat
94928c33ca Use inmemory file system for imag-link tests 2017-07-13 18:24:20 +02:00
Robert Ignat
b0a5e1727e Remove unneeded imag-link test cli args 2017-07-13 18:24:20 +02:00
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