snapctl 0.41.3__tar.gz → 0.42.1__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-0.41.3 → snapctl-0.42.1}/PKG-INFO +15 -6
- {snapctl-0.41.3 → snapctl-0.42.1}/README.md +14 -5
- {snapctl-0.41.3 → snapctl-0.42.1}/pyproject.toml +1 -1
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/config/constants.py +1 -1
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/utils/helper.py +2 -2
- {snapctl-0.41.3 → snapctl-0.42.1}/LICENSE +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/__init__.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/__main__.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/commands/__init__.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/commands/byogs.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/commands/byosnap.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/commands/game.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/commands/generate.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/commands/snapend.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/config/__init__.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/config/endpoints.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/config/hashes.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/main.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/types/__init__.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/types/definitions.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/utils/__init__.py +0 -0
- {snapctl-0.41.3 → snapctl-0.42.1}/snapctl/utils/echo.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snapctl
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.42.1
|
|
4
4
|
Summary: Snapser CLI Tool
|
|
5
5
|
Author: Ajinkya Apte
|
|
6
6
|
Author-email: aj@snapser.com
|
|
@@ -22,11 +22,19 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
Snapser has developed a CLI tool called **snapctl** that can be used on MaxOSX, Linux and Windows machines.
|
|
23
23
|
Snapctl will be the best way for game studios to integrate Snapser into their build pipelines.
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
### Python 3.X and Pip
|
|
27
26
|
The Snapser CLI tool depends on Python 3.X and Pip. MacOS comes pre installed with Python. But
|
|
28
27
|
please make sure you are running Python 3.X. On Windows, you can download Python 3.X from the
|
|
29
|
-
Windows store.
|
|
28
|
+
Windows store.
|
|
29
|
+
|
|
30
|
+
### Docker
|
|
31
|
+
Some of the commands also need docker. You can download the latest version of Docker from the
|
|
32
|
+
[Docker website](https://www.docker.com/products/docker-desktop).
|
|
33
|
+
|
|
34
|
+
**IMPORTANT**: Open up Docker desktop and settings. Make sure this setting is disabled
|
|
35
|
+
**Use containerd for pulling and storing images**. This is because Snapser uses Docker
|
|
36
|
+
to build and push images to the Snapser registry. Having this setting enabled will
|
|
37
|
+
cause issues with the Snapser CLI tool.
|
|
30
38
|
|
|
31
39
|
## Installation
|
|
32
40
|
|
|
@@ -132,10 +140,11 @@ SNAPSER_API_KEY=$your_api_key" | Out-File -encoding utf8 ~\.snapser\config
|
|
|
132
140
|
## Verify Snapctl installation
|
|
133
141
|
|
|
134
142
|
```
|
|
135
|
-
snapctl
|
|
143
|
+
snapctl validate
|
|
136
144
|
```
|
|
137
145
|
|
|
138
|
-
|
|
146
|
+
Output will tell you if the Snapctl was able successfully validate your setup with the remote Snapser server
|
|
147
|
+
or not.
|
|
139
148
|
|
|
140
149
|
## Advanced Setup
|
|
141
150
|
|
|
@@ -3,11 +3,19 @@
|
|
|
3
3
|
Snapser has developed a CLI tool called **snapctl** that can be used on MaxOSX, Linux and Windows machines.
|
|
4
4
|
Snapctl will be the best way for game studios to integrate Snapser into their build pipelines.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
### Python 3.X and Pip
|
|
8
7
|
The Snapser CLI tool depends on Python 3.X and Pip. MacOS comes pre installed with Python. But
|
|
9
8
|
please make sure you are running Python 3.X. On Windows, you can download Python 3.X from the
|
|
10
|
-
Windows store.
|
|
9
|
+
Windows store.
|
|
10
|
+
|
|
11
|
+
### Docker
|
|
12
|
+
Some of the commands also need docker. You can download the latest version of Docker from the
|
|
13
|
+
[Docker website](https://www.docker.com/products/docker-desktop).
|
|
14
|
+
|
|
15
|
+
**IMPORTANT**: Open up Docker desktop and settings. Make sure this setting is disabled
|
|
16
|
+
**Use containerd for pulling and storing images**. This is because Snapser uses Docker
|
|
17
|
+
to build and push images to the Snapser registry. Having this setting enabled will
|
|
18
|
+
cause issues with the Snapser CLI tool.
|
|
11
19
|
|
|
12
20
|
## Installation
|
|
13
21
|
|
|
@@ -113,10 +121,11 @@ SNAPSER_API_KEY=$your_api_key" | Out-File -encoding utf8 ~\.snapser\config
|
|
|
113
121
|
## Verify Snapctl installation
|
|
114
122
|
|
|
115
123
|
```
|
|
116
|
-
snapctl
|
|
124
|
+
snapctl validate
|
|
117
125
|
```
|
|
118
126
|
|
|
119
|
-
|
|
127
|
+
Output will tell you if the Snapctl was able successfully validate your setup with the remote Snapser server
|
|
128
|
+
or not.
|
|
120
129
|
|
|
121
130
|
## Advanced Setup
|
|
122
131
|
|
|
@@ -19,8 +19,8 @@ def validate_api_key(base_url: str, api_key: Union[str, None]) -> bool:
|
|
|
19
19
|
"""
|
|
20
20
|
try:
|
|
21
21
|
url = f"{base_url}/v1/snapser-api/validate"
|
|
22
|
-
res = requests.
|
|
23
|
-
url,
|
|
22
|
+
res = requests.post(
|
|
23
|
+
url, json={'api_key': api_key},
|
|
24
24
|
timeout=SERVER_CALL_TIMEOUT
|
|
25
25
|
)
|
|
26
26
|
if res.ok:
|
|
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
|