Hidden Z
584d113a06
py-i2phosts-injector: add extra newline for error message
...
This improves output readability significantly.
14 years ago
Hidden Z
28a04f9240
py-i2phosts-injector: add -q/--quiet option
...
With this option program should print only errors
14 years ago
Hidden Z
af828254aa
Rename builder and injector
...
renamed: builder -> py-i2phosts-builder
renamed: injector -> py-i2phosts-injector
14 years ago
Hidden Z
d0f157450b
injector: add -s/--supress option
...
With this option messages about already existed hostnames will be
supressed.
14 years ago
Hidden Z
9b88d61af5
injector: add command-line option for description
14 years ago
Hidden Z
803bbef6c6
injector: output errors to stderr
14 years ago
Hidden Z
5e8b354f9f
injector: ignore comments and empty lines
14 years ago
Hidden Z
2858ba6084
injector: strip trailing '\n' from lines
...
We don't need a corrupted hashes in db :)
14 years ago
Hidden Z
798d5cb2a7
injector: ignore lines without '=' separator
14 years ago
Hidden Z
f6f2d25426
injector: add hostname/key validation using previously created library
14 years ago
Hidden Z
95f38f5ac0
injector: add new hosts with external=True
14 years ago
Hidden Z
e3ec6c34bc
Redefine DJANGO_PROJECT_PATH in scripts
...
Assume that wep-part are located in <scriptdir>/web. Later we should use
a config variable for it. In production environment scripts will be
located in /usr/bin/
14 years ago
Hidden Z
fd210c6fe3
injector: add command-line arguments parsing
...
And first option is: path to hosts.txt for parse
14 years ago
Hidden Z
40a708bb60
injector: permit adding hostnames with non-unique b64 hashes
14 years ago
Hidden Z
b71f2fc511
injector: use more efficient exists() method
14 years ago
Hidden Z
bc33f75238
Add injector program
...
This is an initial implementation of injector service needed for parse
external hosts.txt and adds hosts from them into our database.
14 years ago