commit 700ab964bf4e9e13c49736d135a0908f5d85d0be Author: Franziska Kunsmann Date: Sun Feb 23 10:13:45 2020 +0000 initial commit, create bundlewrap repo diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2d22306 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.secrets.cfg diff --git a/groups.py b/groups.py new file mode 100644 index 0000000..6dc8562 --- /dev/null +++ b/groups.py @@ -0,0 +1,18 @@ +groups = { + #'group-1': { + # 'bundles': ( + # 'bundle-1', + # ), + # 'members': ( + # 'node-1', + # ), + # 'subgroups': ( + # 'group-2', + # ), + #}, + 'all': { + 'member_patterns': ( + r".*", + ), + }, +} diff --git a/nodes.py b/nodes.py new file mode 100644 index 0000000..35b67b5 --- /dev/null +++ b/nodes.py @@ -0,0 +1,7 @@ +from os.path import join +from pathlib import Path + +nodes = {} +for node in Path(join(repo_path, "nodes")).rglob("*.py"): + with open(node, 'r') as f: + exec(f.read()) diff --git a/nodes/htz/ex42-1048908.py b/nodes/htz/ex42-1048908.py new file mode 100644 index 0000000..5f0c37e --- /dev/null +++ b/nodes/htz/ex42-1048908.py @@ -0,0 +1,3 @@ +nodes['htz.ex42-1048908'] = { + 'dummy': True, # Legacy Node +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0987551 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +bundlewrap>=3.8.0