Commit graph

4477 commits

Author SHA1 Message Date
Nico Schottelius
74e003d29b +print cdist version on startup + exit_code = 2 for irq
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-21 18:52:35 +02:00
Nico Schottelius
408d89433b ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-20 00:22:19 +02:00
Nico Schottelius
91cf68363b Merge branch 'issue_191' of https://github.com/asteven/cdist 2013-08-20 00:21:36 +02:00
Steven Armstrong
8aacbe2885 Bourne is not bash
see http://shebang.brandonmintern.com/bourne-is-not-bash-or-read-echo-and-backslash/

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-08-19 22:25:17 +02:00
Nico Schottelius
975b93c20a fix all tests -> back to normal
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:37:40 +02:00
Nico Schottelius
b527479620 refactor out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:35:03 +02:00
Nico Schottelius
866645679a throw a better exception when environment variables are missing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:34:29 +02:00
Nico Schottelius
2f5de23ae9 out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 12:03:25 +02:00
Nico Schottelius
ffeaa3d06b fix old bug / joining wrong args
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:45:43 +02:00
Nico Schottelius
a76d8bb517 :%s/self.out_path/self.base_path/g
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:45:22 +02:00
Nico Schottelius
8298bb0bf5 fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:33:44 +02:00
Nico Schottelius
b3cf339d06 fallback to sys.argv[0] by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:21:53 +02:00
Nico Schottelius
10b27e63ca rename out_path -> out_dir for consistency
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:21:36 +02:00
Nico Schottelius
9db2949377 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 08:49:51 +02:00
Nico Schottelius
cd8695d3eb move create_files_dirs more to up - it is similar to init()
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 08:48:41 +02:00
Nico Schottelius
d1708c78b6 refactoring
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 01:38:28 +02:00
Nico Schottelius
eaf1721212 begin to migrate to '--output-base-path', shrink context
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:52:15 +02:00
Nico Schottelius
b9a6cf7c6a remove context from shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:38:19 +02:00
Nico Schottelius
a7fe8b4ed2 port context -> remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:36:25 +02:00
Nico Schottelius
f79727559a ++logs and migrate context -> local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:33:58 +02:00
Nico Schottelius
58bd230a61 ++freedom
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:04:27 +02:00
Nico Schottelius
83c981f477 begin to implement -C --cache-dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:03:57 +02:00
Nico Schottelius
b80b548f14 add logfile that describes how the cache is going to be enhaced
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-18 23:59:47 +02:00
Nico Schottelius
49d9f1f475 support relative paths in -c argument
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:56:54 +02:00
Nico Schottelius
90c66966e7 ++notes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:46:50 +02:00
Nico Schottelius
70698aa167 document known problem during release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:46:23 +02:00
Nico Schottelius
093cafa992 add hint for 2.2 to 2.3 migration
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:42:26 +02:00
Nico Schottelius
8192c2cbfc back to old release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:37:05 +02:00
Nico Schottelius
1eb7eb8fe9 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:33:32 +02:00
Nico Schottelius
37fa9b3743 ++doc / shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:32:58 +02:00
Nico Schottelius
263a8a73a7 minor cleanups
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:11:43 +02:00
Nico Schottelius
32f878ad00 update docs, document exit code bug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 11:42:00 +02:00
Nico Schottelius
8fddb1692f changelog updates
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-08 19:09:53 +02:00
Nico Schottelius
4e46cf8ce4 begin to document shell changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 21:12:21 +02:00
Nico Schottelius
79fea569b9 some shell related cleanups
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 20:58:45 +02:00
Nico Schottelius
0eb67a00f5 exit = 2 if ctrl-c is pressed, cleanup
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 18:49:47 +02:00
Nico Schottelius
c793825edb re-arrange REMOTE_COPY/EXEC for Shell use
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 17:52:34 +02:00
Nico Schottelius
2403fc59ee refactor commandline: merge into its own class (and add first shell code)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 09:24:10 +02:00
Nico Schottelius
4d47467944 +shell-idee
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-07 08:59:12 +02:00
Nico Schottelius
76c46d88fc there is no --after and --before
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-16 17:32:24 +02:00
Nico Schottelius
3de17b2aa2 add detailled upgrade instructions
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-16 17:11:24 +02:00
Nico Schottelius
71f01ca735 improve release process (not yet perfect)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 21:26:14 +02:00
Nico Schottelius
8209009ddc some notes for a release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 21:07:13 +02:00
Nico Schottelius
c0c97a1207 add schedule for releases
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 20:42:47 +02:00
Nico Schottelius
b2e46e3429 have pkgbuild.in depend on $@
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 20:40:02 +02:00
Nico Schottelius
c3e6eaffcd cleanup the cleanup targets
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 19:41:38 +02:00
Nico Schottelius
24019a7175 add update instructions for 2.2
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 19:40:31 +02:00
Nico Schottelius
c7811fb056 restore cdist-type.text
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-12 19:36:49 +02:00
Nico Schottelius
ff9b2fe6f4 singleton change -> requires new minor version
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-11 11:46:14 +02:00
Nico Schottelius
c1441fc676 enhance singleton testing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-10 17:21:38 +02:00