mantis-cli 14.5.0__tar.gz → 14.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mantis-cli-14.5.2/MANIFEST.in +2 -0
- {mantis-cli-14.5.0/mantis_cli.egg-info → mantis-cli-14.5.2}/PKG-INFO +6 -3
- mantis-cli-14.5.2/mantis/__init__.py +1 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/crypto.py +1 -1
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/managers.py +2 -2
- mantis-cli-14.5.2/mantis/mantis.tpl +34 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2/mantis_cli.egg-info}/PKG-INFO +6 -3
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis_cli.egg-info/SOURCES.txt +1 -2
- mantis-cli-14.5.0/.gitignore +0 -113
- mantis-cli-14.5.0/MANIFEST.in +0 -1
- mantis-cli-14.5.0/TODO +0 -3
- mantis-cli-14.5.0/mantis/__init__.py +0 -1
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/LICENSE +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/README.md +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/__main__.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/command_line.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/environment.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/extensions/__init__.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/extensions/django.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/extensions/nginx.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/extensions/postgres.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/helpers.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis/logic.py +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis_cli.egg-info/dependency_links.txt +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis_cli.egg-info/entry_points.txt +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis_cli.egg-info/requires.txt +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/mantis_cli.egg-info/top_level.txt +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/setup.cfg +0 -0
- {mantis-cli-14.5.0 → mantis-cli-14.5.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 1
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: mantis-cli
|
|
3
|
-
Version: 14.5.
|
|
3
|
+
Version: 14.5.2
|
|
4
4
|
Summary: Management command to build and deploy webapps, especially based on Django
|
|
5
5
|
Home-page: https://github.com/PragmaticMates/mantis-cli
|
|
6
6
|
Author: Erik Telepovský
|
|
@@ -8,7 +8,6 @@ Author-email: info@pragmaticmates.com
|
|
|
8
8
|
Maintainer: Pragmatic Mates
|
|
9
9
|
Maintainer-email: info@pragmaticmates.com
|
|
10
10
|
License: GNU General Public License (GPL)
|
|
11
|
-
Description: # mantis-cli
|
|
12
11
|
Keywords: management deployment docker command
|
|
13
12
|
Platform: UNKNOWN
|
|
14
13
|
Classifier: Programming Language :: Python
|
|
@@ -18,3 +17,7 @@ Classifier: Intended Audience :: Developers
|
|
|
18
17
|
Classifier: Framework :: Django
|
|
19
18
|
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
|
|
20
19
|
Classifier: Development Status :: 5 - Production/Stable
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
|
|
22
|
+
# mantis-cli
|
|
23
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = '14.5.2'
|
|
@@ -47,7 +47,7 @@ class Crypto(object):
|
|
|
47
47
|
CLI.error('Decryption failed. Check if data are not corrupted.')
|
|
48
48
|
|
|
49
49
|
try:
|
|
50
|
-
cipher = AES.new(key.
|
|
50
|
+
cipher = AES.new(key.encode(), AES.MODE_SIV)
|
|
51
51
|
data = cipher.decrypt_and_verify(data['ciphertext'], data['tag'])
|
|
52
52
|
except ValueError as e:
|
|
53
53
|
if str(e) == 'MAC check failed':
|
|
@@ -200,7 +200,7 @@ class BaseManager(object):
|
|
|
200
200
|
return os.environ.get('MANTIS_KEY', None)
|
|
201
201
|
|
|
202
202
|
with open(self.key_file, "r") as f:
|
|
203
|
-
return f.read()
|
|
203
|
+
return f.read().strip()
|
|
204
204
|
|
|
205
205
|
def generate_key(self):
|
|
206
206
|
CLI.info(f'Deterministic encryption: ', end='')
|
|
@@ -613,7 +613,7 @@ class BaseManager(object):
|
|
|
613
613
|
self.try_to_reload_webserver()
|
|
614
614
|
|
|
615
615
|
# clean
|
|
616
|
-
CLI.step(3, 3, 'Prune Docker images
|
|
616
|
+
CLI.step(3, 3, 'Prune Docker images')
|
|
617
617
|
self.clean()
|
|
618
618
|
|
|
619
619
|
def deploy(self):
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extensions": {
|
|
3
|
+
"Django": {
|
|
4
|
+
"service": null
|
|
5
|
+
},
|
|
6
|
+
"Postgres": {
|
|
7
|
+
"service": null
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"project_name": "",
|
|
11
|
+
"encryption": {
|
|
12
|
+
"deterministic": true,
|
|
13
|
+
"folder": ""
|
|
14
|
+
},
|
|
15
|
+
"configs": {
|
|
16
|
+
"folder": "./"
|
|
17
|
+
},
|
|
18
|
+
"build": {
|
|
19
|
+
"tool": "docker"
|
|
20
|
+
},
|
|
21
|
+
"compose": {
|
|
22
|
+
"command": "docker-compose",
|
|
23
|
+
"name": "",
|
|
24
|
+
"folder": ""
|
|
25
|
+
},
|
|
26
|
+
"environment": {
|
|
27
|
+
"folder": "env",
|
|
28
|
+
"file_prefix": ""
|
|
29
|
+
},
|
|
30
|
+
"zero_downtime": [],
|
|
31
|
+
"project_path": "",
|
|
32
|
+
"connections": {
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 1
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: mantis-cli
|
|
3
|
-
Version: 14.5.
|
|
3
|
+
Version: 14.5.2
|
|
4
4
|
Summary: Management command to build and deploy webapps, especially based on Django
|
|
5
5
|
Home-page: https://github.com/PragmaticMates/mantis-cli
|
|
6
6
|
Author: Erik Telepovský
|
|
@@ -8,7 +8,6 @@ Author-email: info@pragmaticmates.com
|
|
|
8
8
|
Maintainer: Pragmatic Mates
|
|
9
9
|
Maintainer-email: info@pragmaticmates.com
|
|
10
10
|
License: GNU General Public License (GPL)
|
|
11
|
-
Description: # mantis-cli
|
|
12
11
|
Keywords: management deployment docker command
|
|
13
12
|
Platform: UNKNOWN
|
|
14
13
|
Classifier: Programming Language :: Python
|
|
@@ -18,3 +17,7 @@ Classifier: Intended Audience :: Developers
|
|
|
18
17
|
Classifier: Framework :: Django
|
|
19
18
|
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
|
|
20
19
|
Classifier: Development Status :: 5 - Production/Stable
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
|
|
22
|
+
# mantis-cli
|
|
23
|
+
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
.gitignore
|
|
2
1
|
LICENSE
|
|
3
2
|
MANIFEST.in
|
|
4
3
|
README.md
|
|
5
|
-
TODO
|
|
6
4
|
setup.cfg
|
|
7
5
|
setup.py
|
|
8
6
|
mantis/__init__.py
|
|
@@ -13,6 +11,7 @@ mantis/environment.py
|
|
|
13
11
|
mantis/helpers.py
|
|
14
12
|
mantis/logic.py
|
|
15
13
|
mantis/managers.py
|
|
14
|
+
mantis/mantis.tpl
|
|
16
15
|
mantis/extensions/__init__.py
|
|
17
16
|
mantis/extensions/django.py
|
|
18
17
|
mantis/extensions/nginx.py
|
mantis-cli-14.5.0/.gitignore
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
# C extensions
|
|
7
|
-
*.so
|
|
8
|
-
|
|
9
|
-
# Distribution / packaging
|
|
10
|
-
.Python
|
|
11
|
-
build/
|
|
12
|
-
develop-eggs/
|
|
13
|
-
dist/
|
|
14
|
-
downloads/
|
|
15
|
-
eggs/
|
|
16
|
-
.eggs/
|
|
17
|
-
lib/
|
|
18
|
-
lib64/
|
|
19
|
-
parts/
|
|
20
|
-
sdist/
|
|
21
|
-
var/
|
|
22
|
-
wheels/
|
|
23
|
-
*.egg-info/
|
|
24
|
-
.installed.cfg
|
|
25
|
-
*.egg
|
|
26
|
-
MANIFEST
|
|
27
|
-
|
|
28
|
-
# PyInstaller
|
|
29
|
-
# Usually these files are written by a python script from a template
|
|
30
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
31
|
-
*.manifest
|
|
32
|
-
*.spec
|
|
33
|
-
|
|
34
|
-
# Installer logs
|
|
35
|
-
pip-log.txt
|
|
36
|
-
pip-delete-this-directory.txt
|
|
37
|
-
|
|
38
|
-
# Unit test / coverage reports
|
|
39
|
-
htmlcov/
|
|
40
|
-
.tox/
|
|
41
|
-
.coverage
|
|
42
|
-
.coverage.*
|
|
43
|
-
.cache
|
|
44
|
-
nosetests.xml
|
|
45
|
-
coverage.xml
|
|
46
|
-
*.cover
|
|
47
|
-
.hypothesis/
|
|
48
|
-
.pytest_cache/
|
|
49
|
-
|
|
50
|
-
# Translations
|
|
51
|
-
#*.mo
|
|
52
|
-
*.pot
|
|
53
|
-
|
|
54
|
-
# Django stuff:
|
|
55
|
-
*.log
|
|
56
|
-
local_settings.py
|
|
57
|
-
db.sqlite3
|
|
58
|
-
|
|
59
|
-
# Flask stuff:
|
|
60
|
-
instance/
|
|
61
|
-
.webassets-cache
|
|
62
|
-
|
|
63
|
-
# Scrapy stuff:
|
|
64
|
-
.scrapy
|
|
65
|
-
|
|
66
|
-
# Sphinx documentation
|
|
67
|
-
docs/_build/
|
|
68
|
-
|
|
69
|
-
# PyBuilder
|
|
70
|
-
target/
|
|
71
|
-
|
|
72
|
-
# Jupyter Notebook
|
|
73
|
-
.ipynb_checkpoints
|
|
74
|
-
|
|
75
|
-
# pyenv
|
|
76
|
-
.python-version
|
|
77
|
-
|
|
78
|
-
# celery beat schedule file
|
|
79
|
-
celerybeat-schedule
|
|
80
|
-
|
|
81
|
-
# SageMath parsed files
|
|
82
|
-
*.sage.py
|
|
83
|
-
|
|
84
|
-
# Environments
|
|
85
|
-
.env
|
|
86
|
-
.venv
|
|
87
|
-
env/
|
|
88
|
-
venv/
|
|
89
|
-
ENV/
|
|
90
|
-
env.bak/
|
|
91
|
-
venv.bak/
|
|
92
|
-
|
|
93
|
-
# Spyder project settings
|
|
94
|
-
.spyderproject
|
|
95
|
-
.spyproject
|
|
96
|
-
|
|
97
|
-
# Rope project settings
|
|
98
|
-
.ropeproject
|
|
99
|
-
|
|
100
|
-
# mkdocs documentation
|
|
101
|
-
/site
|
|
102
|
-
|
|
103
|
-
# mypy
|
|
104
|
-
.mypy_cache/
|
|
105
|
-
|
|
106
|
-
#IDE
|
|
107
|
-
.idea
|
|
108
|
-
|
|
109
|
-
# others
|
|
110
|
-
.DS_Store
|
|
111
|
-
.sass-cache
|
|
112
|
-
bin
|
|
113
|
-
node_modules/
|
mantis-cli-14.5.0/MANIFEST.in
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
include README.md
|
mantis-cli-14.5.0/TODO
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = '14.5.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|