Commit graph

3379 commits

Author SHA1 Message Date
Nico Schottelius
528901bdee update a lot of tests for new exec.local
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:20:10 +01:00
Nico Schottelius
af24165367 introduce home_dir as a property
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:17:46 +01:00
Nico Schottelius
69a3844332 fix some tests and fix home_dir lookup
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 14:48:51 +01:00
Nico Schottelius
1177286d4e cleanups of tests (especially exec.local)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 14:42:55 +01:00
Nico Schottelius
6ecfb28d93 name parameter correctly add_conf_dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 14:14:52 +01:00
Nico Schottelius
d944f2ac19 add pythonpath for testing 2012-11-01 14:13:52 +01:00
Nico Schottelius
6eddaaf090 rename parameter correctly to add_conf_dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 13:46:01 +01:00
Nico Schottelius
32a94a0f89 adjust emulator test to pass exec_path to local
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 13:35:52 +01:00
Nico Schottelius
4946fe2654 adjust paths in test 2012-11-01 13:34:48 +01:00
Nico Schottelius
6771a13758 pass exec_path from context to local, making it obsolete to manually add the argument to the _link_types_for_emulator
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 13:30:45 +01:00
Nico Schottelius
081d3aea37 remove manifests, which are not needed anymore (in production without them for some months)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 11:09:45 +01:00
Nico Schottelius
c836a60a7e correct call to cfreecode-api
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 09:40:28 +01:00
Nico Schottelius
8f5d1f910f fix asciidoc title issues (made box out of it)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 09:35:08 +01:00
Nico Schottelius
440c209248 no need to ignore the file anymore as being piped now
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:53:17 +01:00
Nico Schottelius
876eebe1c7 begin to include automatic freecode submissions using cfreecode-api
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:52:40 +01:00
Nico Schottelius
59dd52d555 include uploading to aur in dist process
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:42:24 +01:00
Nico Schottelius
f8b20d5854 skip unecessary merge in dist process
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:18:02 +01:00
Nico Schottelius
2b22bfc0db ignore freecode tempory script used to submit a release
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:15:23 +01:00
Nico Schottelius
dafc6c6017 update changelog date
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:15:09 +01:00
Nico Schottelius
6af14263e3 past
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 08:12:01 +01:00
Nico Schottelius
9ca0d4efe7 clarify changes for 2.1.0pre4
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:37:02 +01:00
Nico Schottelius
1d1149deab +debug
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:36:32 +01:00
Nico Schottelius
c25c986992 re-add sample, but longer name
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:33:18 +01:00
Nico Schottelius
e7be0cceab big change for pre4
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:16:59 +01:00
Nico Schottelius
92d21a4625 remove init.sample from this place in the distribution
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:14:02 +01:00
Nico Schottelius
e41aae041a fix cache_dir syntax error
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:11:03 +01:00
Nico Schottelius
dcaa70e6be be consistent in remote
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:07:00 +01:00
Nico Schottelius
cbe95b18e6 rename function to reveal new task: create_files_dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:06:27 +01:00
Nico Schottelius
1e264afa63 refactor code to allow multiple directories to be passed in
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 16:05:37 +01:00
Nico Schottelius
b0e8c23078 initial change to support multiple conf_dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 15:59:21 +01:00
Nico Schottelius
813651c14b allow passing conf_dir instead of cdist-home
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 15:59:02 +01:00
Nico Schottelius
18c0c937dd also add cache to user dir
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 14:58:03 +01:00
Nico Schottelius
f09378eed0 path implementation done (in theory)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 14:57:49 +01:00
Nico Schottelius
6ece8a97c7 use obsolete lib path
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 14:54:05 +01:00
Nico Schottelius
01eef6b242 ++changes(2.1.0pre4)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 14:53:53 +01:00
Nico Schottelius
c4274e789f include cdist from the scripts/ directory for shipping
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 11:51:27 +01:00
Nico Schottelius
10b6c31ac8 Rename cdist.py to scripts/cdist to avoid self import
naming cdist cdist.py and running import cdist, imports itself and thus raises an interesting error:

(virtualenv)[7:47] brief:virtualenv% cdist.py
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/users/nico/oeffentlich/rechner/projekte/cdist/virtualenv/bin/cdist.py", line 230, in <module>
    commandline()
  File "/home/users/nico/oeffentlich/rechner/projekte/cdist/virtualenv/bin/cdist.py", line 27, in commandline
    import cdist.banner
ImportError: No module named 'cdist.banner'; cdist is not a package

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/users/nico/oeffentlich/rechner/projekte/cdist/virtualenv/bin/cdist.py", line 235, in <module>
    except cdist.Error as e:
AttributeError: 'module' object has no attribute 'Error'

Also described on

    http://www.velocityreviews.com/forums/t953596-error-executing-import-html-parser-from-a-script.html

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 11:47:16 +01:00
Nico Schottelius
a81525b101 add some thoughts on changes for multiple directory search for types and explorers
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 07:41:42 +01:00
Nico Schottelius
80e42c133d this is pre3, not pre2
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 07:37:19 +01:00
Nico Schottelius
e0bdcea78b adjust type linking script
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-30 07:33:07 +01:00
Nico Schottelius
cbb34de1b2 explorers are now below cdist/
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 23:28:27 +01:00
Nico Schottelius
6c4480abfa ++changes(2.1.0pre3)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 23:25:28 +01:00
Nico Schottelius
8202cd0e7a remove some debug, remove adding dirs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:56:29 +01:00
Nico Schottelius
63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00
Nico Schottelius
e2ba9ab1d2 add package data info
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:18:32 +01:00
Nico Schottelius
8324c9dee4 build source for archlinux as well as upload to pypi
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-26 18:47:49 +02:00
Nico Schottelius
24481781f9 +comment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-26 18:42:06 +02:00
Nico Schottelius
fd9aca7b3c release 2.1.0pre2 today
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-26 18:39:22 +02:00
Nico Schottelius
0d46dc3367 fix manpages of __pf_ruleset and __pf_apply
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-26 18:38:14 +02:00
Nico Schottelius
2307cdebfa abort dist on any error
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-26 18:38:00 +02:00