Commit graph

1926 commits

Author SHA1 Message Date
affa850bc0 imag-tag: Fix use of build_entry_path() 2016-03-19 14:48:09 +01:00
df740ac63a Adapt to new function interface of build_entry_path() 2016-03-19 14:48:09 +01:00
80945fcd16 Rewrite build_entry_path() so it does not panic!() anymore 2016-03-19 14:48:09 +01:00
b8b49b3240 Move: build_entry_path() from imag-store to libimagstore 2016-03-19 14:47:45 +01:00
8c0c53124b Merge pull request #258 from matthiasbeyer/libimagtag/exec
Add tag helper to execute the CLI spec for an entry
2016-03-19 14:43:11 +01:00
68db3b4ce3 Merge pull request #200 from matthiasbeyer/libimagstore/hooks
Libimagstore/hooks
2016-03-19 14:41:53 +01:00
142c1dfc5f Add tag helper to execute the CLI spec for an entry 2016-03-18 15:24:11 +01:00
98dde5d0d1 Add filter: VersionInRange, VersionOutOfRange 2016-03-18 14:33:43 +01:00
21013dd76f Add filter: Version{Gt, Lt} 2016-03-18 14:33:43 +01:00
d75595e4d8 Add VersionEq filter 2016-03-18 14:33:43 +01:00
0786094150 Add dep: semver 2016-03-18 14:33:25 +01:00
cf20a23fec Merge pull request #171 from matthiasbeyer/libimaglink/init
Libimaglink/init
2016-03-18 10:39:34 +01:00
fb35a5a2c7 Merge pull request #220 from matthiasbeyer/libimagentryfilter/tags
Libimagentryfilter/tags
2016-03-18 10:33:58 +01:00
2e068f11a9 Merge pull request #222 from matthiasbeyer/imag-counter/interactive
Imag counter/interactive
2016-03-18 10:33:29 +01:00
b5a33a516c Merge pull request #223 from matthiasbeyer/imag-tag/init
Imag tag/init
2016-03-18 10:30:19 +01:00
2f0e87bcae Merge pull request #224 from matthiasbeyer/imag-view/init
Imag view/init
2016-03-18 10:29:50 +01:00
864d51ec61 Merge pull request #237 from matthiasbeyer/imag-store/arggroup
Add clap::ArgGroup to rely on clap for mutually exclusive args
2016-03-18 10:29:14 +01:00
1d260e786d Merge pull request #238 from matthiasbeyer/readme-update
Update README to contain more detailed information
2016-03-18 10:29:02 +01:00
926dffe8b7 Merge pull request #246 from matthiasbeyer/libimagentryfilter/more-filters
Libimagentryfilter/more filters
2016-03-18 10:28:26 +01:00
8e3be4c3e9 Merge pull request #247 from matthiasbeyer/libimagutil/trace-newline
trace: Add missing newline
2016-03-18 10:28:12 +01:00
b079f67918 Add initial codebase for interactive counting 2016-03-16 16:48:24 +01:00
65a64774b6 Fix: Allow NonMutableAccess in MutableHookDataAcessor 2016-03-16 16:46:54 +01:00
f253931bb7 doc: Adjust documentation to match implementation 2016-03-16 16:46:54 +01:00
09c8b4d561 rt: Add Store::new() config passing 2016-03-16 16:46:54 +01:00
feac9ae9e8 Store::new(): Aspect configuration added 2016-03-16 16:46:54 +01:00
96deb17515 Aspect: Optionally get configuration 2016-03-16 16:46:54 +01:00
f1246093f1 Implement AspectConfig::get_for() 2016-03-16 16:46:54 +01:00
08b36972f1 Make store configuration optional 2016-03-16 16:46:54 +01:00
0286d8a25e Store: Add hook configuration on registration 2016-03-16 16:46:54 +01:00
59fdb7ef3d Store: Get configuration object not as reference, to avoid livetimes 2016-03-16 16:46:54 +01:00
6dae03d731 Hook: Must provide name, gets reference to configuration 2016-03-16 16:46:54 +01:00
9961f64ce6 Add AspectConfig type 2016-03-16 16:46:53 +01:00
c942c74f05 Implement getter for aspect names 2016-03-16 16:46:53 +01:00
d249f604d8 Implement: config_is_valid() 2016-03-16 16:46:53 +01:00
cd55e7d625 Add Aspect building based on configuration 2016-03-16 16:46:53 +01:00
1fe545eb8b Add configuration.rs 2016-03-16 16:46:53 +01:00
a771db9ea4 Add error kind for config errors 2016-03-16 16:46:53 +01:00
9e8ef57f72 Remove {Pre, Post}HookErrorKind types as they are not needed anymore 2016-03-16 16:46:53 +01:00
987b271cc7 Add access type checking error 2016-03-16 16:46:53 +01:00
5ba260943b Make hook execution parallel for NonMutableHookDataAccessor impl for Aspect 2016-03-16 16:46:53 +01:00
7102a57808 Make hook execution parallel for StoreIdAccessor impl for Aspect 2016-03-16 16:46:53 +01:00
d8760c9737 Impl NonMutableHookDataAccessor::access() for Aspect 2016-03-16 16:46:53 +01:00
c4c02f2274 Impl MutableHookDataAccessor::access_mut() for Aspect 2016-03-16 16:46:53 +01:00
2022f4e4bb Impl StoreIdAccessor::access() for Aspect 2016-03-16 16:46:53 +01:00
2c544382a1 We do not need boxes here 2016-03-16 16:46:53 +01:00
679865464b Reimplement hook registration and execution 2016-03-16 16:46:52 +01:00
d6a581e69f Add HookPosition enum 2016-03-16 16:46:52 +01:00
37a505609e Remove hook traits. There can only be one trait: Hook 2016-03-16 16:46:52 +01:00
be1ba5be4b Add Aspect type for hook system 2016-03-16 16:46:52 +01:00
3e62b71605 Add StoreIdAccessor trait 2016-03-16 16:46:52 +01:00