Commit graph

3919 commits

Author SHA1 Message Date
40b55acaf8 Remove unused imports 2016-04-16 17:50:27 +02:00
0c970263ce Add debugging output in handle_external_linking() 2016-04-16 17:05:59 +02:00
b9800ba008 Add implementation for external linking 2016-04-16 17:05:59 +02:00
4da13b8738 Add dependency: url = 0.5.5 2016-04-16 17:05:59 +02:00
0483283638 Enforce arguments by using ArgGroup 2016-04-16 17:05:59 +02:00
f0c6ac7630 Adapt interface for external linking 2016-04-16 17:05:59 +02:00
e4e3c05f05 Merge pull request #326 from matthiasbeyer/libimaglink/external-linking-rewrite
Libimaglink/external linking rewrite
2016-04-16 17:05:38 +02:00
3d124df0c2 Merge pull request #347 from matthiasbeyer/libimaglink/unique-internal-links
Libimaglink/unique internal links
2016-04-16 17:05:07 +02:00
59071c9948 Refactor: Use helper for type conversions instead of doing everything three times 2016-04-16 16:09:34 +02:00
915e711c3e Sort links alphabetically before writing 2016-04-16 16:09:00 +02:00
b63e2cb7b2 Make links unique before writing 2016-04-16 15:54:38 +02:00
0f7b2f16f9 Add dependency: itertool = 0.4.7 2016-04-16 15:54:25 +02:00
22a64dbc30 Rewrite set_external_links() 2016-04-16 15:38:51 +02:00
f482c2564b Reimplement hash generation with rust-crypto 2016-04-16 15:38:51 +02:00
781498832b Add dependency rust-crypto 2016-04-16 15:38:41 +02:00
fdb03666b8 Add debug!() calls for external linking source 2016-04-16 15:37:01 +02:00
766fb2a9e2 Implement remove_external_link() 2016-04-16 15:37:01 +02:00
3a89607922 Add implementation for add_external_link() 2016-04-16 15:37:01 +02:00
f85faca6b3 Add StoreWriteError error type 2016-04-16 15:37:01 +02:00
23049d02c6 Implement link setting 2016-04-16 15:37:01 +02:00
890458ea1e Add module_entry_path_mod!() call, so we have an own module path for the link library
- Add missing extern crate semver
- Add missing semver import
2016-04-16 15:36:50 +02:00
91caa0c665 Implement get_external_links() 2016-04-16 13:33:13 +02:00
5645edeeff Rewrite external linking 2016-04-16 13:33:13 +02:00
17610efd74 Merge pull request #337 from matthiasbeyer/imag-link/list-implementation
Imag link/list implementation
2016-04-16 13:29:13 +02:00
20a76f8e17 Merge pull request #330 from matthiasbeyer/update-contributing
Update CONTRIBUTING.md
2016-04-16 13:28:58 +02:00
904e048c6f Add module for flock() hook 2016-04-14 18:34:10 +02:00
fd637dae48 Add dependency: fs2 = 0.2.3 2016-04-14 18:22:44 +02:00
9116409c16 Implement the --list argument 2016-04-14 17:18:02 +02:00
3719bf8ae9 The --list argument takes a value, actually. The StoreIDs! 2016-04-14 17:18:02 +02:00
535483d460 Merge pull request #335 from matthiasbeyer/libimaglink/bugfixes
Bug fixes for libimaglink
2016-04-13 23:51:48 +02:00
18627f136f Merge pull request #336 from matthiasbeyer/imag-link/cli-unpacking-bugfix
Bugfix: Add missing level of unpacking in cli helpers
2016-04-13 23:51:32 +02:00
8d7e2d97bd Merge pull request #331 from mario-kr/add-description_to_build/run_imag
Add description to build/run imag
2016-04-13 23:51:02 +02:00
87c00cec9e Update CONTRIBUTING.md 2016-04-13 23:49:11 +02:00
mario
5b31824bf0 add Section about Building/Running imag 2016-04-13 18:56:19 +02:00
1910dc0449 Add missing level of unpacking in cli helpers 2016-04-12 22:02:28 +02:00
0cc50691b6 Rewrite process_rw_result()
It did not cover the aspect that the passed toml `Value` object was an
Array in the first place and assumed that it is an `String` instead,
which caused the function always to return an Result::Err, which was
obviousely buggy.

This is almost a rewrite of the process_rw_result() function which takes
the additional layer (Array(String)) into account and therefor fixes
this issue.
2016-04-12 22:00:40 +02:00
9866c6354d Merge pull request #311 from matthiasbeyer/libimaginteraction/init
libimaginteraction/init
2016-04-12 21:57:58 +02:00
a3f3cd3e00 Implement ask_select_from_list() 2016-04-12 16:40:41 +02:00
c2e2fca8eb Add result type 2016-04-12 16:40:32 +02:00
6f3b3d6b83 Add error module 2016-04-12 16:40:25 +02:00
6b0535aaca Remove ask_enum() 2016-04-09 19:48:08 +02:00
92b471bb13 Merge pull request #328 from matthiasbeyer/imag-link/fix-ui
Remove "show" argument, as the short key "s" was duplicated
2016-04-09 15:42:35 +02:00
cd2bc0bba4 Merge pull request #325 from matthiasbeyer/libimaglink/internal-linking-use-storeid
Libimaglink/internal linking use storeid
2016-04-09 15:35:15 +02:00
93f5453c5c Remove "show" argument, as the short key "s" was duplicated 2016-04-09 14:46:46 +02:00
8d9d6651fb Refactor common pattern into function 2016-04-09 14:43:11 +02:00
77fa6d71b3 Rewrite internal linking to use StoreId instead of String as Link type 2016-04-08 23:57:16 +02:00
47d08224db Add implementation for ask_string() 2016-04-06 18:26:28 +02:00
860888c06f Implement ask_uint() including tests 2016-04-06 18:05:49 +02:00
747324ae85 Move real implementation to helper, so we can test.
Tests were added, and yes I'm doing some `assert!((foo == true)` here,
so it is easier to spot what happens here, as a `!` is overlooked
sometimes.
2016-04-06 17:54:11 +02:00
253d080625 Add initial codebase for ask_() functions 2016-04-06 17:54:11 +02:00