diff --git a/.travis.yml b/.travis.yml index 3160ccc2..9dbfe469 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ dist: language: rust rust: - - 1.22.1 - 1.23.0 + - 1.24.0 - stable cache: diff --git a/doc/src/09020-changelog.md b/doc/src/09020-changelog.md index f4b86427..db922818 100644 --- a/doc/src/09020-changelog.md +++ b/doc/src/09020-changelog.md @@ -48,6 +48,8 @@ This section contains the changelog from the last release to the next release. * `libimagrt` allows external subcommands now in the default clap app builder helper. It also provides a helper for handling unknown subcommands: `Runtime::handle_unknown_subcommand()`. See docs for details. + * `imag-link list` prints output in ascii-table now, use `--plain` to print + as plain text. * Minor changes * A license-checker was included into the CI setup, which checks whether all ".rs"-files have the license header at the top of the file @@ -68,6 +70,12 @@ This section contains the changelog from the last release to the next release. editor object * `libimagentryref` got a utility function for making an entry a ref. * `libimaghabit` got `Habit::instance_exists_for_date()` + * `imag contact find` understands `--format` now. + * `imag contact` uses ", " as seperator for output of lists of values. + * `imag contact find --id / --full-id` was added for printing Store Id / + Filepath of found contacts. + * `imag view` can now view multiple entries at once + * `imag view -I` reads store ids from stdin now. * Bugfixes * imag does not panic anymore when piping and breaking that pipe, for example like with `imag store ids | head -n 1`. @@ -95,6 +103,7 @@ This section contains the changelog from the last release to the next release. not allocated properly. * `libimagstore::store::Store::create` overwrote existing entries. * `libimaghabit::habit::HabitTemplate` did not link new instances. + * `imag-init` creates `~/.imag` but not `~/.imag/store`. ## 0.6.3 diff --git a/scripts/gen-changelog b/scripts/gen-changelog new file mode 100644 index 00000000..3e947980 --- /dev/null +++ b/scripts/gen-changelog @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +since="$1" + +if [[ -z "$since" ]]; then + echo "Usage: $0 [since]" + exit 1 +fi + +for rev in $(git rev-list "$since"..HEAD | tac); do + if git notes --ref=changelog list $rev &> /dev/null; then + output=$(git notes --ref=changelog show $rev | sed '2,$s/^/ /') + echo "* $output" + fi +done + diff --git a/scripts/which-commands-changed b/scripts/which-commands-changed new file mode 100755 index 00000000..62a48593 --- /dev/null +++ b/scripts/which-commands-changed @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Find all imag commands which changed since last install + +imag versions |\ +grep "imag-" |\ +sed 's,v.*-g,,' |\ +while read binary hash; do + git diff "$hash..master" --name-only | \ + grep "$binary" >/dev/null 2>/dev/null && \ + echo "$binary changed since last install (was $hash)" +done