Commit graph

75 commits

Author SHA1 Message Date
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
0c5674dd47 Merge pull request #525 from matthiasbeyer/update-doc
Update doc
2016-07-14 21:11:30 +02:00
c13cba52dc Replace imag-link/README.md with link to user doc 2016-07-12 17:02:31 +02:00
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02:00
7d395dd87a Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
2e94de2fce imag-link: Remove setup code and use helper 2016-05-18 22:57:04 +02:00
93ce1dbfd2 imag-link: Change dependency from libimagutil -> libimagerror 2016-05-17 20:28:02 +02:00
Andre Bogus
5ac661c334 fixed imag-link iterator error 2016-05-13 22:27:39 +02:00
Andre Bogus
dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
86f3119dd5 Update dependency: url: 0.5.5 -> 1.1 2016-05-12 17:31:46 +02:00
465f43cd6e Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
b629d0b8f1 Merge pull request #367 from matthiasbeyer/unwrap_err
Unwrap err
2016-04-21 15:08:36 +02:00
975eb18905 Merge pull request #342 from matthiasbeyer/imag-link/testing
Imag link/testing
2016-04-20 21:47:02 +02:00
ad18fdd604 imag-link: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00