Commit Graph

6371 Commits

Author SHA1 Message Date
flip1995 171757f5ca [Auto] bin/core/diary: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 5b4b699875 [Auto] bin/core/contact: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 3963e5ec2d [Auto] bin/core/bookmark: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 3a32be23c5 [Auto] bin/core/view: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 8db954c79a [Auto] bin/core/tag: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 4d11ad2ac1 [Auto] bin/core/store: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 b8e9c17dc8 [Auto] bin/core/ref: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 ed8f56aa46 [Auto] bin/core/mv: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 8e40f68d32 [Auto] bin/core/markdown: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 c8a68af2ce [Auto] bin/core/link: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 7fcbacd1de [Auto] bin/core/init: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 dfa2c97c8d [Auto] bin/core/header: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 e2395b0474 [Auto] bin/core/grep: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 1635dd4665 [Auto] bin/core/gps: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 451020187e [Auto] bin/core/git: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 e010ef554d [Auto] bin/core/edit: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 98ccb41f7f [Auto] bin/core/diagnostics: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 25e5936b08 [Auto] bin/core/category: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 40c1f12b25 [Auto] bin/core/annotate: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 6b4c716388 [Auto] bin/core/imag: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995 60fe113659 Replace r#try! with the ? operator
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
Matthias Beyer b3eb37dde8 Fix: imag-log should report touched entries 2019-08-25 12:55:45 +02:00
Matthias Beyer e21d4db543 Merge branch 'clippy' into master 2019-08-25 12:55:04 +02:00
Matthias Beyer f4c27710d8 Fix: Do not check via regex
We do not need to check via regex here, because the previous checks are
already more restrictive than the regex itself.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 12:31:58 +02:00
Matthias Beyer 605b98276d Run "cargo fix --all-features" in root of project
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 12:17:07 +02:00
Matthias Beyer c7ba2f6b16 travis: Add clippy/rustfmt job
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 12:17:07 +02:00
Matthias Beyer f4fa8b71dd Fix: Provide header flag for timetracking entries
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 11:50:04 +02:00
Matthias Beyer 8852a2b3ba Update minimum rustc version to 1.35.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 10:47:13 +02:00
Matthias Beyer ce4a026858 Fix description
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-10 09:21:34 +02:00
Matthias Beyer ac6a38dc2d Add new transitive dependency
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-10 09:21:21 +02:00
Matthias Beyer 97583c6c54 Fix default.nix for new transitive dependency
The transitive dependency "onig_sys" needs the libclang path
set now.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-10 08:55:08 +02:00
Matthias Beyer 598b6ec9a6 Merge branch 'imag-ids-split-into-more-tools' into master 2019-07-28 12:54:34 +02:00
Matthias Beyer fc5bfb43bf Reimplement behaviour in imag-header
This patch changes imag-header to do not printing of the found values,
but simply filtering.

Chaining can then be used to read the values:

    imag ids | imag header string "imag.version" | imag header read "imag.version"

for example.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28 12:54:24 +02:00
Matthias Beyer 121124b3ae Fix operator
This should actually use OR instead of AND

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28 12:53:41 +02:00
Matthias Beyer 981c6f852e Add imag-id-in-collection core command
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28 11:08:42 +02:00
Matthias Beyer 38021753a8 Remove in-collection filtering
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28 10:49:47 +02:00
Matthias Beyer 109292c65a Remove "where" clause filtering
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28 10:48:00 +02:00
Matthias Beyer 5ec1a8a2d4 Merge branch 'refactor-runtime' into master-ff 2019-07-26 23:47:45 +02:00
Matthias Beyer 0d1cfb6b4b Refactor: Do not provide functions for these identifiers
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:20:50 +02:00
Matthias Beyer f1e14a0d46 Remove use of Runtime functions, hardcode strings
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:20:28 +02:00
flip1995 aa23fb485c Fix match same arms bug found by clippy
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:05:09 +02:00
flip1995 8469fd5596 Fix float comparison bug found by clippy
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:05:09 +02:00
flip1995 2c26fd2753 Fix Hash vs PartialEq bug found by Clippy
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:05:09 +02:00
Matthias Beyer 6ac6db57d1 Add imag-timetrack shell
This patch adds a subcommand to imag-timetrack which allows a user to
start a $SHELL and start a timetracking with it and as soon as the shell
exits, the timetracking is stopped.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25 20:32:33 +02:00
Matthias Beyer d5fd773da8 Change imag-wiki interface to be consistent with other commands
Use "list" instead of "ids" for listing ids in a wiki.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25 19:59:01 +02:00
Matthias Beyer 1196f5395d Add debug output
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25 19:53:41 +02:00
Matthias Beyer 9c896eb98b Add checks whether variables are valid unicode and propagate appropriate error
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25 19:52:49 +02:00
Matthias Beyer 5f10ab976f Rewrite get_rtp_match() to not panic
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-24 21:32:21 +02:00
Matthias Beyer 03fec5f4db List diaries only if output is not a pipe
Beforehand, this command:

    imag diary -d foo list | cat

listed each entry twice because the reporting feature of libimagrt
forwarded the list to stdout and the normal output was written to
stderr.

With this patch, we get the output only once in this case.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-21 10:42:27 +02:00
Matthias Beyer d53e306459 Merge branch 'imag-diagnostics-more-output' into master 2019-07-14 13:40:28 +02:00