Commit graph

3014 commits

Author SHA1 Message Date
41e8061826 Merge pull request #183 from matthiasbeyer/fix-readme
Fix wrong license note in README.md file
2016-02-09 18:32:07 +01:00
04a5bb9138 Allow --id / -i as path specification, for consistency 2016-02-09 13:48:14 +01:00
a59ce2003c Add test: delete functionality 2016-02-09 13:48:14 +01:00
6ec57c0bde Add silent() helper for calling without debugging output 2016-02-09 13:48:14 +01:00
ef8c364ef1 Add test: retrieve 2016-02-09 13:48:14 +01:00
e8ec335b74 imag-store: dependency: version: 1.1.0 -> 2.0.1 2016-02-09 13:48:14 +01:00
5f518726ee tests: Add version in filenames for test files 2016-02-09 13:48:14 +01:00
8c6fc7ef41 util: Verify that path contains version, else panic!() 2016-02-09 13:48:14 +01:00
6a0baf7bc5 Add semver = 0.2.1 2016-02-09 13:48:14 +01:00
3004845339 Add test for file with custom header with two keys in one section 2016-02-09 13:48:14 +01:00
ee13a96fe6 Add test with multiple headers on commandline 2016-02-09 13:48:14 +01:00
e4d113cf4f Add test for custom header and content 2016-02-09 13:48:14 +01:00
2b39b8eed7 Add add test for generating custom header 2016-02-09 13:48:14 +01:00
67a7f1ab78 Add dedicated function for creating an entry with content 2016-02-09 13:48:14 +01:00
756bd09a83 Integrate tests in travis.yml
The tests work only if I call "tree".
Really, how fucked up is travis actually?
2016-02-09 13:48:14 +01:00
7a403c7f93 tests: Add imag-store tests 2016-02-09 13:45:13 +01:00
10fa3e3daf util: Add parsing ints and floats 2016-02-09 13:45:13 +01:00
5fdbb61ac8 create() fixup: entry_from_raw() -> string_from_raw_src() 2016-02-09 13:45:13 +01:00
2c30d474a9 UI: Add content-from argument, to get content from CLI _or_ from File/stdin 2016-02-09 13:45:13 +01:00
ef18cb1144 Add extensive debugging output in utilities 2016-02-09 13:45:13 +01:00
1517d6f310 Fix: build_toml_header() should get the header object as mutable 2016-02-09 13:45:13 +01:00
caee76650d Add store entry path builder helper 2016-02-09 13:45:13 +01:00
ddd54e03ad Add store path getter 2016-02-09 13:45:13 +01:00
7fec8a1b23 Move commandline-header parsing code to utility module
as the code can be re-used in the update() implementation.
2016-02-09 13:45:13 +01:00
947d7900bf Implement Store::delete() interface 2016-02-09 13:45:13 +01:00
1fb29a11c8 Implement Store::update() interface 2016-02-09 13:45:13 +01:00
9c0796d7b3 Implement Store::retrieve() interface
Rename: read.rs -> retrieve.rs
2016-02-09 13:45:13 +01:00
dbd6388946 Implement Store::create() interface 2016-02-09 13:45:13 +01:00
bd0d44d4b2 Add error module for imag-store 2016-02-09 13:45:13 +01:00
fa4beeebcd Add initial codebase 2016-02-09 13:45:13 +01:00
2c876a3714 Add interface builder function 2016-02-09 13:45:13 +01:00
86e810cc43 Add dependencies 2016-02-09 13:45:13 +01:00
a41614fd00 Init: imag-store binary 2016-02-09 13:45:13 +01:00
bdbe024eb5 Merge pull request #164 from matthiasbeyer/bin/imag
Bin/imag
2016-02-09 13:43:52 +01:00
a0afc9245b Merge pull request #186 from TheNeikos/verify-toml_table
Verify that nothing but tables exist in base table
2016-02-07 01:54:35 +01:00
20ee0c958b Merge pull request #170 from matthiasbeyer/libimagentryfilter/init
Libimagentryfilter/init
2016-02-07 01:52:15 +01:00
ebb076c9fd Merge pull request #184 from matthiasbeyer/libimagstore/fix-179
Check whether the StoreId is inside the store
2016-02-07 01:45:48 +01:00
a00092c8be Add builtin content filter: length filtering 2016-02-07 01:45:09 +01:00
f81190fb8a Add builtin content filter: grep 2016-02-07 01:45:09 +01:00
bcf8cf0447 Add builtin header check: Field is empty 2016-02-07 01:45:06 +01:00
780410f29d Add builtin header check: Field exists 2016-02-07 01:44:42 +01:00
3464028267 Travis: Fail only if there are failed {builds, tests, benchs} 2016-02-07 01:36:39 +01:00
Marcel Müller
e315fa9dcf
Remove unwrap in drop and warn users 2016-02-07 01:28:16 +01:00
Marcel Müller
9ba2439da3
Add debug output 2016-02-07 01:28:15 +01:00
Marcel Müller
6173cff762
Verify that nothing but tables exist in base table 2016-02-07 01:27:50 +01:00
1a61e8b1d5 travis: We dont need to build the top-level anymore 2016-02-07 01:25:23 +01:00
ade9a03392 Remove old top-level codebase 2016-02-07 01:19:08 +01:00
ece70d78a7 Merge pull request #185 from TheNeikos/verify-toml_before_write
Verify toml before write
2016-02-06 19:06:02 +01:00
Marcel Müller
293fd0da00
Add verify 2016-02-06 18:57:39 +01:00
Marcel Müller
e079628397
Remove unneeded closure 2016-02-06 18:52:17 +01:00