From 591046d1f63ae1c3f526e1af52c2e1bb9b410d1b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 23 Dec 2017 15:25:04 +0100 Subject: [PATCH 1/6] Remove finished TODOs --- doc/src/09000-todos.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/doc/src/09000-todos.md b/doc/src/09000-todos.md index 20b7300e..67b22cd4 100644 --- a/doc/src/09000-todos.md +++ b/doc/src/09000-todos.md @@ -73,22 +73,6 @@ Now the modules that are not yet started: - [ ] imag-write - Command to read the store from stdin and write it to the filesystem store (usefull for piping/chaining commands) -## Libraries - -- [x] Rewrite libimagerror to be based on `chain-error` crate. This basically - removes our error infrastructure, though existing traits and convenience - functionality should be kept (for example the `MapErrInto` or the `IntoError` - traits), as much as possible). If the switch to `chain-error` would require - too much code to be rewritten, reconsider. -- [x] Ensure all libraries are implemented as extension traits rather than - wrapping store types -- [x] Rewrite logger to allow config/env-var based module white/blacklisting and - writing log to file - -## User Interface - -- [ ] Ensure store ids are always passed as positional arguments - ## Project structure and development - [ ] Move away from github From 261aac55f2560a04816e988fe20a08a8ec009b1b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 23 Dec 2017 15:23:19 +0100 Subject: [PATCH 2/6] Finalize changelog --- doc/src/09020-changelog.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/src/09020-changelog.md b/doc/src/09020-changelog.md index 8a3ec5d7..984444f9 100644 --- a/doc/src/09020-changelog.md +++ b/doc/src/09020-changelog.md @@ -18,6 +18,8 @@ Version 0.y.z and thus we can break the API like we want and need to. This section contains the changelog from the last release to the next release. +## 0.5.0 + * Major changes * `imag-counter` and `libimagcounter` was removed. * `imag-mv` was introduced @@ -51,6 +53,13 @@ This section contains the changelog from the last release to the next release. * `Store::entries()` does not yield StoreIds which point to directories anymore, only StoreIds pointing to files. +* Stats + * 227 commits + * 51 merge-commits / 176 non-merge commits + * 2 contributors + * 186 files changed + * 6707 insertions(+) / 3255 deletions(-) + ## 0.4.0 * Major changes From 29bde7a68f71b90bb5236e59c19d50cd5676c572 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 23 Dec 2017 15:32:30 +0100 Subject: [PATCH 3/6] Update date in documentation --- doc/src/00000.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/00000.md b/doc/src/00000.md index ff06d85f..3069a696 100644 --- a/doc/src/00000.md +++ b/doc/src/00000.md @@ -1,7 +1,7 @@ --- title: imag User Documentation version: 0.5.0 -date: September 2017 +date: December 2017 listings: true codeBlockCaptions: true figureTitle: "Figure" From 9ecd1849d726766887d9b4ca81569e0d71da743e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 24 Dec 2017 11:15:04 +0100 Subject: [PATCH 4/6] Fix README path --- lib/etc/libimagnotification/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/etc/libimagnotification/Cargo.toml b/lib/etc/libimagnotification/Cargo.toml index 88cd3852..b869c7e1 100644 --- a/lib/etc/libimagnotification/Cargo.toml +++ b/lib/etc/libimagnotification/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Matthias Beyer "] description = "Library for the imag core distribution" keywords = ["imag", "PIM", "personal", "information", "management"] -readme = "../README.md" +readme = "../../../README.md" license = "LGPL-2.1" documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" From cf5b4239c45f38d6ec0a38b412514e4051142232 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 24 Dec 2017 12:05:00 +0100 Subject: [PATCH 5/6] Update version string Holy crap this should really not happen. We accidentially released this crate as 0.4.0 instead of 0.5.0. --- lib/etc/libimagnotification/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/etc/libimagnotification/Cargo.toml b/lib/etc/libimagnotification/Cargo.toml index b869c7e1..706884e9 100644 --- a/lib/etc/libimagnotification/Cargo.toml +++ b/lib/etc/libimagnotification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagnotification" -version = "0.4.0" +version = "0.5.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" From 3f787fb438c665bffaca979441845fa97211fc0e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 24 Dec 2017 11:00:11 +0100 Subject: [PATCH 6/6] Add release helper script --- scripts/release.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 scripts/release.sh diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100644 index 00000000..43dfc606 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash + +CRATES=( + ./lib/etc/libimagutil + ./lib/etc/libimagtimeui + ./lib/core/libimagerror + ./lib/core/libimagstore + ./lib/etc/libimagnotification + ./lib/etc/libimaginteraction + ./lib/core/libimagrt + ./lib/entry/libimagentryfilter + ./lib/entry/libimagentrycategory + ./lib/entry/libimagentryannotation + ./lib/entry/libimagentrylink + ./lib/entry/libimagentrytag + ./lib/entry/libimagentrygps + ./lib/entry/libimagentrylist + ./lib/entry/libimagentryedit + ./lib/entry/libimagentryref + ./lib/entry/libimagentryview + ./lib/entry/libimagentrymarkdown + ./lib/entry/libimagentrydatetime + ./lib/domain/libimagbookmark + ./lib/domain/libimaghabit + ./lib/domain/libimagnotes + ./lib/domain/libimagcontact + ./lib/domain/libimagdiary + ./lib/domain/libimagtimetrack + ./lib/domain/libimagtodo + ./lib/domain/libimagmail + ./bin/domain/imag-habit + ./bin/domain/imag-diary + ./bin/domain/imag-contact + ./bin/domain/imag-notes + ./bin/domain/imag-bookmark + ./bin/domain/imag-timetrack + ./bin/domain/imag-mail + ./bin/domain/imag-todo + ./bin/core/imag-ref + ./bin/core/imag-gps + ./bin/core/imag-diagnostics + ./bin/core/imag-mv + ./bin/core/imag-store + ./bin/core/imag-tag + ./bin/core/imag-grep + ./bin/core/imag-annotate + ./bin/core/imag-link + ./bin/core/imag-view + ./bin/core/imag +) + +for crate in ${CRATES[*]}; do + echo -e "\t[CARGO][CHECK ]\t$crate" + RUST_BACKTRACE=1 cargo publish --manifest-path $crate/Cargo.toml || exit 1 + echo -e "\t[Waiting...]" + sleep 15 +done +