From 250dedc1c8c96a0bb40c153c2d31abc7fefafeac Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Sat, 26 Feb 2011 11:33:19 +0100
Subject: [PATCH] cleanup todo lists

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 TODO-1.0              | 55 ++++++++++++++-----------------------------
 doc/dev/todo/post-1.0 | 15 +++++++-----
 2 files changed, 27 insertions(+), 43 deletions(-)

diff --git a/TODO-1.0 b/TODO-1.0
index 5b4cf069..5f4229a1 100644
--- a/TODO-1.0
+++ b/TODO-1.0
@@ -42,46 +42,27 @@ x generate code to be executed on clients (stage 4)
 
 x execute code on client (stage 5)
 
-- Other stuff pre 1.0:
-   - doc cleanup for 1.0:
-      - ensure every file in bin/ has a correspondent manpage
-      - cdist manpage (main manpage)
-         - cleanup following man + their tree:
-            - cdist-push-pull       [WRITE]
-            - cdist-quickstart      [WRITE]
-               - how to write a minimal host manifest
-            - cdist-types           [IMPORTANT]
-               - only do necessary work [TYPE IMPLEMENTATION HINTS]
-                  - install packages only if not existent
-                  - copy file only if different
-            - cdist                 [IMPORTANT]
-               - explain the general approach
-               - give right pointers
-            - cdist-explorers
-         - add terminology
-         - define steps within configuration apply
-            - detect impossible/unsafe things:
-            - creating a file twice
-            - installing and removing a package
-            - and report location of occurence
-            - parse afterwards?
-         - multi master setups
-         - templating
-            - how to define templates
-               - variable substitution from shell may be problematic
-            - SHELL SCRIPTS! (executables? do not support?)
-               - stdout == output of template == what will be used
-      - cleanup website
-      - remove HACKERS_README
-      - create doc/dev/HACKERS_README
-   - Add install target to Makefile
-   - create cdist-config-init to create basic tree
-   - cdist-type integration!
+- Last doc stuff for 1.0.0:
+   - ensure every file in bin/ has a correspondent manpage
+   - cdist-quickstart      [WRITE]
+      - how to write a minimal host manifest
+   - cdist-type           [IMPORTANT]
+      - only do necessary work [TYPE IMPLEMENTATION HINTS]
+         - install packages only if not existent
+         - copy file only if different
+   - cdist-type-integration
+   - cdist                 [IMPORTANT]
+      - explain the general approach
+      - give right pointers
+   - cdist-explorer
+
    - DOC document "cd $__object_dir, before running manifest" in doc/man/cdist-types.text
    - DOC document that $type/manifest is executed for every object/instance
    - DOC: exported variables: __type, __explorer, __type_explorer, __object, __object_id
 
-   - cleanup READMEs
+   - Cleanup READMEs
    - Check all references in manpages, ensure all manpages exist
 
-   - include generation in makefile
+- Makefile:
+   - Add install target
+   - Include manpage generation
diff --git a/doc/dev/todo/post-1.0 b/doc/dev/todo/post-1.0
index 98bf6ed7..484a527d 100644
--- a/doc/dev/todo/post-1.0
+++ b/doc/dev/todo/post-1.0
@@ -18,20 +18,23 @@ Stage 5 (code execution):
    - dependencies
 
 
-Types to be written:
-   - ssh-keys (host/user)
-   - services
-   - user management
-   - file editing 
+Types to be written/extended:
+   - __ssh-keys (host/user)
+   - __service
+   - __user
+   - __file_edit
       - add_line_to_file_if_not_existing
       - delete_line_from_file
       - regexp replace (can probably cover all?)
+   - __file:
+      - template == [shell script] stdout
 
 Documentation:
-   - Multi master setups
+   - Describe Multi master setups
    - use ssh with master socket?
       - saves connection delay for new connections: -M
       - hint: http://protempore.net/~calvins/howto/ssh-connection-sharing/
    - Describe pull architecture and requirements
       - cdist-trigger after first run from /var/lib/cdist/out/bin?
    - Different environments (production, integration, development)
+      - via version control