From Philipp Stanner to ~imperator/quartiermeister-devel
Working, but incomplete first draft of proj-tree printing. --- bin/qm-list/main.go | 118 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 104 insertions(+), 14 deletions(-) diff --git a/bin/qm-list/main.go b/bin/qm-list/main.go index 512baca..b22e532 100644 --- a/bin/qm-list/main.go @@ -2,51 +2,141 @@ package main import ( "fmt" "os"[message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
Implements: - Projects are now created on collections. - Layer-Search-Methods for tree-printing of projects - UUIDs for projects --- lib/collection.go | 96 ++++++++++++++++++++++++++++++++++++++++++----- lib/container.go | 20 +++++----- lib/project.go | 5 +-- 3 files changed, 98 insertions(+), 23 deletions(-) diff --git a/lib/collection.go b/lib/collection.go index 37784ff..c0bc246 100644 --- a/lib/collection.go +++ b/lib/collection.go [message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
--- qm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qm b/qm index a3b2d6f..01362b5 100755 --- a/qm +++ b/qm @@ -16,10 +16,11 @@ main() { export QM_EDITOR="nvim" if [[ ! -d "$QM_PATH" ]]; then echo "\"$QM_PATH\" created." echo "No QM database yet. Initializing..."[message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
*** BLURB HERE *** Hola, Implemented most of your requösts and additionally removed type tags from the remaining names (Ich think). Philipp Stanner (3): qm: improve user informing lib: implement search methods and project creation bin: list: First version of project tree printing bin/qm-list/main.go | 118 ++++++++++++++++++++++++++++++++++++++------ lib/collection.go | 96 +++++++++++++++++++++++++++++++---- lib/container.go | 20 ++++----
From Philipp Stanner to ~imperator/quartiermeister-devel
Working, but incomplete first draft of proj-tree printing. --- Thanks for your last patch. I have fixed the global variable and use defer instead. As for the recursion: Lots of work, we'll keep it, but feel free to offer a patch adjusting everything in a way you viel as appropriate, and we can have a discussion about this. But this code will probably change very quickly anyways. bin/qm-list/main.go | 116 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 100 insertions(+), 16 deletions(-) diff --git a/bin/qm-list/main.go b/bin/qm-list/main.go index 512baca..6f99180 100644 --- a/bin/qm-list/main.go [message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
Implements: - Projects are now created on collections. - Layer-Search-Methods for tree-printing of projects - UUIDs for projects --- Those are major changes. We will have to find a way to use Container for all of this soonish. lib/collection.go | 85 +++++++++++++++++++++++++++++++++++++++++++---- lib/container.go | 20 +++++------ lib/project.go | 5 ++- 3 files changed, 91 insertions(+), 19 deletions(-) diff --git a/lib/collection.go b/lib/collection.go [message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
--- qm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qm b/qm index a3b2d6f..5e50a0c 100755 --- a/qm +++ b/qm @@ -16,10 +16,11 @@ main() { export QM_EDITOR="nvim" if [[ ! -d "$QM_PATH" ]]; then echo "\"$QM_PATH\" created." echo "No QM database yet. Iniatlizing..."[message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
Suproject printing now works. New problem: container & project are interwined too strongly. Should be fixed soonish. --- bin/qm-list/main.go | 116 ++++++++++++++++++++++++++++++++++++++------ lib/collection.go | 85 +++++++++++++++++++++++++++++--- lib/container.go | 20 ++++---- lib/project.go | 5 +- qm | 3 +- 5 files changed, 193 insertions(+), 36 deletions(-) diff --git a/bin/qm-list/main.go b/bin/qm-list/main.go index 512baca..e210538 100644 --- a/bin/qm-list/main.go [message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
also partially fix subproject creation. --- Makefile | 4 ++-- bin/qm-create/main.go | 29 ++++++++++++++--------------- go.sum | 2 ++ lib/container.go | 20 +++++++++++++++----- lib/item.go | 4 ++-- lib/project.go | 15 ++++++++++----- lib/tag.go | 11 +++++++---- qm | 2 ++ 8 files changed, 54 insertions(+), 33 deletions(-) diff --git a/Makefile b/Makefile index 7a4614a..619489d 100644 [message trimmed]
From Philipp Stanner to ~imperator/quartiermeister-devel
--- bin/qm-create/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/qm-create/main.go b/bin/qm-create/main.go index 6bd02e2..c07d427 100644 --- a/bin/qm-create/main.go @@ -22,7 +22,10 @@ func createItem(c *qm.Collection, opts *options) error { return err } it.Flush() if err = it.Flush(); err != nil {[message trimmed]