snapctl 1.0.0__tar.gz → 1.0.3__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.
Potentially problematic release.
This version of snapctl might be problematic. Click here for more details.
- {snapctl-1.0.0 → snapctl-1.0.3}/PKG-INFO +7 -6
- {snapctl-1.0.0 → snapctl-1.0.3}/pyproject.toml +16 -5
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/byogs.py +2 -2
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/byosnap.py +2 -2
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/config/constants.py +1 -1
- snapctl-1.0.3/snapctl/data/releases/1.0.2.mdx +5 -0
- snapctl-1.0.3/snapctl/data/releases/1.0.3.mdx +5 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/LICENSE +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/README.md +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/__main__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/byows.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/game.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/generate.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/release_notes.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/commands/snapend.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/config/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/config/app.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/config/endpoints.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/config/hashes.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/profiles/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/profiles/snapser-byosnap-profile.json +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/profiles/snapser-byosnap-profile.yaml +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/profiles/snapser-byosnap-profile.yml +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/1.0.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.46.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.46.4.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.47.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.47.1.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.47.2.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.48.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.49.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.49.1.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.49.2.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.49.3.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.50.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.51.0.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/data/releases/beta-0.53.1.mdx +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/main.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/types/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/types/definitions.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/utils/__init__.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/utils/echo.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/utils/helper.py +0 -0
- {snapctl-1.0.0 → snapctl-1.0.3}/snapctl/utils/telemetry.py +0 -0
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snapctl
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Snapser CLI Tool
|
|
5
5
|
Author: Ajinkya Apte
|
|
6
6
|
Author-email: aj@snapser.com
|
|
7
|
-
Requires-Python: >=3.10,<
|
|
7
|
+
Requires-Python: >=3.10,<3.13
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
-
|
|
12
|
+
Provides-Extra: all
|
|
13
|
+
Requires-Dist: configparser (>=6,<7)
|
|
13
14
|
Requires-Dist: pyfiglet (>=1.0.2,<2.0.0)
|
|
14
|
-
Requires-Dist: pytest (>=8.2.2,<9.0.0)
|
|
15
|
-
Requires-Dist: pytest-mock (>=3.14.0,<4.0.0)
|
|
16
15
|
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
|
|
17
16
|
Requires-Dist: requests (>=2.28.2,<3.0.0)
|
|
18
|
-
Requires-Dist:
|
|
17
|
+
Requires-Dist: rich (>=13) ; extra == "all"
|
|
18
|
+
Requires-Dist: shellingham (>=1.5) ; extra == "all"
|
|
19
|
+
Requires-Dist: typer (>=0.18,<1.0)
|
|
19
20
|
Description-Content-Type: text/markdown
|
|
20
21
|
|
|
21
22
|
export const description = 'CLI'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "snapctl"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.3"
|
|
4
4
|
description = "Snapser CLI Tool"
|
|
5
5
|
authors = ["Ajinkya Apte <aj@snapser.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -16,14 +16,25 @@ include = [
|
|
|
16
16
|
snapctl = "snapctl.main:app"
|
|
17
17
|
|
|
18
18
|
[tool.poetry.dependencies]
|
|
19
|
-
python = "
|
|
20
|
-
typer =
|
|
19
|
+
python = ">=3.10,<3.13"
|
|
20
|
+
typer = ">=0.18,<1.0"
|
|
21
21
|
requests = "^2.28.2"
|
|
22
|
-
configparser = "
|
|
22
|
+
configparser = ">=6,<7"
|
|
23
23
|
pyfiglet = "^1.0.2"
|
|
24
|
+
pyyaml = "^6.0.2"
|
|
25
|
+
|
|
26
|
+
# Mark optional deps here…
|
|
27
|
+
rich = { version = ">=13", optional = true }
|
|
28
|
+
shellingham = { version = ">=1.5", optional = true }
|
|
29
|
+
|
|
30
|
+
# …and reference them by name in an extras group
|
|
31
|
+
[tool.poetry.extras]
|
|
32
|
+
all = ["rich", "shellingham"]
|
|
33
|
+
|
|
34
|
+
# keep test-only deps out of runtime
|
|
35
|
+
[tool.poetry.group.dev.dependencies]
|
|
24
36
|
pytest = "^8.2.2"
|
|
25
37
|
pytest-mock = "^3.14.0"
|
|
26
|
-
pyyaml = "^6.0.2"
|
|
27
38
|
|
|
28
39
|
[build-system]
|
|
29
40
|
requires = ["poetry-core"]
|
|
@@ -229,14 +229,14 @@ class ByoGs:
|
|
|
229
229
|
if platform == "win32":
|
|
230
230
|
response = subprocess.run([
|
|
231
231
|
# f"docker build --no-cache -t {tag} {path}"
|
|
232
|
-
'docker', 'build', '--platform', build_platform, '-t', self.tag,
|
|
232
|
+
'docker', 'build', '--load', '--platform', build_platform, '-t', self.tag,
|
|
233
233
|
'-f', self.docker_path_filename, self.path
|
|
234
234
|
], shell=True, check=False, env=env)
|
|
235
235
|
# stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
|
|
236
236
|
else:
|
|
237
237
|
response = subprocess.run([
|
|
238
238
|
# f"docker build --no-cache -t {tag} {path}"
|
|
239
|
-
"docker build --platform " +
|
|
239
|
+
"docker build --load --platform " +
|
|
240
240
|
f"{build_platform} -t {self.tag} " +
|
|
241
241
|
f"-f {self.docker_path_filename} {self.path}"
|
|
242
242
|
], shell=True, check=False, env=env)
|
|
@@ -748,14 +748,14 @@ class ByoSnap:
|
|
|
748
748
|
if platform == "win32":
|
|
749
749
|
response = subprocess.run([
|
|
750
750
|
# f"docker build --no-cache -t {remote_tag} {path}"
|
|
751
|
-
'docker', 'build', '--platform', build_platform, '-t', self.remote_tag,
|
|
751
|
+
'docker', 'build', '--load', '--platform', build_platform, '-t', self.remote_tag,
|
|
752
752
|
'-f', self.docker_path_filename, self.path
|
|
753
753
|
], shell=True, check=False, env=env)
|
|
754
754
|
# stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
|
|
755
755
|
else:
|
|
756
756
|
response = subprocess.run([
|
|
757
757
|
# f"docker build --no-cache -t {remote_tag} {path}"
|
|
758
|
-
"docker build --platform " +
|
|
758
|
+
"docker build --load --platform " +
|
|
759
759
|
f"{build_platform} -t {self.remote_tag} " +
|
|
760
760
|
f"-f {self.docker_path_filename} {self.path}"
|
|
761
761
|
], shell=True, check=False, env=env)
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|