Commit graph

1180 commits

Author SHA1 Message Date
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
8c220af300 Merge pull request #193 from matthiasbeyer/imag-counter/init
Imag counter/init
2016-03-16 16:35:46 +01:00
8d234440b5 doc: imag-counter 2016-03-15 15:01:10 +01:00
4c6f300965 Remove warnings: Unused result -> use trace_error() 2016-03-13 22:28:47 +01:00
b5f97a83c9 Add ArgGroup for output options 2016-03-13 22:28:47 +01:00
89c34e74ef Fix semantics if is-empty filter 2016-03-13 20:23:47 +01:00
183a9e1388 trace: Add missing newline 2016-03-12 19:39:00 +01:00
Kai Sickeler
0a94160895 Add field_grep filter
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2016-03-12 18:22:00 +01:00
cd6e000be8 trace: Add missing newline 2016-03-12 16:06:10 +01:00
361dec4cec Revert "Check whether the StoreId is inside the store, before doing anything on the FS"
This reverts commit 373502217e.
2016-03-12 16:06:10 +01:00
09ac788e6f imag-counter: init 2016-03-12 16:06:10 +01:00
2bc9f2ec25 libimagcounter: init 2016-03-12 16:06:10 +01:00
564d8d84fe Reimplement FieldIsType filter with FieldPredicate filter 2016-03-12 15:06:34 +01:00
f86a8968a4 Reimplement FieldEq with FieldPredicate 2016-03-12 15:06:34 +01:00
c76d654f9b Add field_lt filter 2016-03-12 15:06:34 +01:00
7b9f8dc8ad Add field_gt filter 2016-03-12 15:06:33 +01:00
4de014c41a Add field_predicate filter 2016-03-12 15:06:33 +01:00
ca362ac238 Remove exit(1) calls where possible and replace by trace() calls 2016-03-11 16:40:13 +01:00
34c020fa55 Introduce error module 2016-03-11 16:21:51 +01:00
c1fcf22619 Group Args, so we enforce that only _one_ of them can be specified 2016-03-11 16:21:51 +01:00
a61b83df07 Add viewer selection 2016-03-11 16:21:49 +01:00
d464ccc9d4 Remove unused imports 2016-03-11 16:21:33 +01:00
c415d3c968 Print error in case of GlobError 2016-03-11 16:21:33 +01:00
f582ea9367 StdoutViewer: Implement view() 2016-03-11 16:21:33 +01:00
68b2c152e3 Use StdoutViewer by now 2016-03-11 16:21:33 +01:00
e9587ced28 Implement view_versions_of() 2016-03-11 16:21:33 +01:00
d99d38bf8e Implement entry loading 2016-03-11 16:21:33 +01:00
d02ac8bd88 Add stdout-viewer 2016-03-11 16:21:19 +01:00
43d27ab689 Add main() 2016-03-11 16:21:02 +01:00
2e6b6b50fa Add ui::build_ui() 2016-03-11 16:20:20 +01:00
17eb59ae29 Add depdendencies 2016-03-11 16:20:01 +01:00
9f5a33f962 imag-view: init 2016-03-11 16:18:17 +01:00
9a918c9252 Merge pull request #242 from matthiasbeyer/libimagstore/revert-id_in_store-check
Revert "Check whether the StoreId is inside the store, before doing a…
2016-03-11 16:02:11 +01:00
6c50d88669 Add tag filtering 2016-03-11 15:13:34 +01:00
b53f342fb8 Merge pull request #244 from matthiasbeyer/libimagstore/fix-add_implicit_directory_creating
Fix: implicitely create directories on file saving
2016-03-11 10:56:38 +01:00
6d7065d10e Fix test: StoreId does not start with "/" anymore 2016-03-10 19:12:00 +01:00
a9a64d4ab6 Fix: implicitely create directories on file saving 2016-03-10 19:06:27 +01:00
a3a09ff4ee Fix store creation of libimagstore
The macro may not prefix the StoreId internal PathBuf with '/', so this
path is not absolute. This way we can introduce `storify_id()` which
creates a proper PathBuf into the store out of our StoreId object.

Does not yet do verification whether the path is inside the store,
actually.
2016-03-10 18:46:26 +01:00
3413646934 Revert "Check whether the StoreId is inside the store, before doing anything on the FS"
This reverts commit 373502217e
as this commit was introducing a bug.

The StoreId type says `/test/example` for a store id path, which is
completely valid, as the root (`/`) is the store itself. The
id_in_store() function assumed that the store-id is the full
(file-system) path to the store entry, which is false.

This commit does not introduce a fix but revert the check.
2016-03-10 18:14:53 +01:00
40019b4384 Update {README,CONTRIBUTING}.md to contain more detailed information 2016-03-10 12:40:04 +01:00
19375f2b68 Add clap::ArgGroup to rely on clap for mutually exclusive args 2016-03-08 11:24:50 +01:00
7dde6c2a56 Merge pull request #235 from matthiasbeyer/libimagstore/update-glob
libimagstore: Update glob 0.2.10 -> 0.2.11
2016-03-07 17:58:27 +01:00