Commit graph

3743 commits

Author SHA1 Message Date
Nico Schottelius
6e107fa92c Export PYTHONPATH so it's available for the emulator
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-02 16:27:28 +01:00
Nico Schottelius
9eef95a0b6 Merge branch '2.1'
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>

Conflicts:
	docs/changelog
2012-11-02 15:59:32 +01:00
Nico Schottelius
afa5f884c5 rought migration document
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-02 14:25:55 +01:00
Nico Schottelius
ccb3c8780f ++release date
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-02 14:16:27 +01:00
Nico Schottelius
90fad0fe83 create remote base in test - needed?
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-02 14:15:14 +01:00
Nico Schottelius
184e2bd9c5 add new remote that does local calls
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 18:25:29 +01:00
Nico Schottelius
09fd809032 add new remote handler which turns remote into local ;-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 18:22:52 +01:00
Nico Schottelius
5ec586f764 begin to cleanup explorer test case
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 18:21:56 +01:00
Nico Schottelius
f264cf9f6c insert the actual data into the release process for freecode
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 17:45:34 +01:00
Nico Schottelius
8a40ba789a include freecode dist into dist process
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:39:36 +01:00
Nico Schottelius
0dd4942d96 pre5 updates
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:25:57 +01:00
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
3a97ab910a begin to split off readme
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 10:45:39 +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