wip
This commit is contained in:
parent
694fe3f633
commit
005c640b1f
8 changed files with 29 additions and 2 deletions
5
.envrc
Normal file
5
.envrc
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
python3 -m venv .venv
|
||||||
|
source ./.venv/bin/activate
|
||||||
|
unset PS1
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
.secrets.cfg*
|
.secrets.cfg*
|
||||||
|
.venv
|
||||||
|
|
1
.python-version
Normal file
1
.python-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.9.0
|
16
bin/script-template
Executable file
16
bin/script-template
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from bundlewrap.repo import Repository
|
||||||
|
from os.path import realpath, dirname
|
||||||
|
|
||||||
|
repo = Repository(dirname(dirname(realpath(__file__))))
|
||||||
|
domains = set()
|
||||||
|
|
||||||
|
for node in repo.nodes:
|
||||||
|
domains.update(
|
||||||
|
set(node.metadata.get('opendkim/domains', []))
|
||||||
|
)
|
||||||
|
|
||||||
|
print(domains)
|
||||||
|
|
||||||
|
# Do in Metaproc
|
|
@ -2,6 +2,6 @@
|
||||||
def steam(metadata):
|
def steam(metadata):
|
||||||
return {
|
return {
|
||||||
'steam': {
|
'steam': {
|
||||||
222860: 'l4d2',
|
'222860': 'l4d2',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
{}
|
{
|
||||||
|
'metadata': {},
|
||||||
|
}
|
||||||
|
|
|
@ -3,4 +3,5 @@
|
||||||
'steam',
|
'steam',
|
||||||
'l4d2',
|
'l4d2',
|
||||||
],
|
],
|
||||||
|
'metadata': {},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
bundlewrap>=4.8.0
|
bundlewrap>=4.8.0
|
||||||
|
PyNaCl
|
||||||
|
|
Loading…
Reference in a new issue