qontract-development-cli 0.15.4__tar.gz → 0.15.6__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.
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/PKG-INFO +29 -5
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/README.md +24 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/pyproject.toml +4 -4
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/commands/profile.py +0 -1
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/models.py +2 -2
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/__init__.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/__main__.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/cli.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/commands/__init__.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/commands/config.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/commands/env.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/completions.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/config.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/shell.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/templates/compose.override.yml.j2 +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/templates/compose.yml.j2 +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/templates/prep-worktree.sh.j2 +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/templates.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/utils.py +0 -0
- {qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/watchdog.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: qontract-development-cli
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.6
|
|
4
4
|
Summary: Helper tool for qontract-reconcile development
|
|
5
5
|
Project-URL: homepage, http://github.com/chassing/qontract-development-cli
|
|
6
6
|
Project-URL: repository, http://github.com/chassing/qontract-development-cli
|
|
@@ -14,9 +14,9 @@ Requires-Dist: jinja2~=3.1
|
|
|
14
14
|
Requires-Dist: pydantic-settings~=2.6
|
|
15
15
|
Requires-Dist: pydantic~=2.9
|
|
16
16
|
Requires-Dist: pyyaml~=6.0.2
|
|
17
|
-
Requires-Dist: rich~=
|
|
18
|
-
Requires-Dist: typer~=0.
|
|
19
|
-
Requires-Dist: watchfiles~=1.
|
|
17
|
+
Requires-Dist: rich~=14.0
|
|
18
|
+
Requires-Dist: typer~=0.16.0
|
|
19
|
+
Requires-Dist: watchfiles~=1.1.0
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
|
|
22
22
|
# Qontract Development CLI
|
|
@@ -221,6 +221,30 @@ The command line flag takes precedence over any configuration you might have in
|
|
|
221
221
|
|
|
222
222
|
> :point_right: **Bold keys** are mandatory or should be customized.
|
|
223
223
|
|
|
224
|
+
### Connecting your IDE to QR
|
|
225
|
+
|
|
226
|
+
Note that the Qontract Reconcile container will not start running until it is connected to by a debugger. You can use a config like this for VSCode:
|
|
227
|
+
|
|
228
|
+
```json
|
|
229
|
+
{
|
|
230
|
+
"name": "Python: Docker Attach",
|
|
231
|
+
"type": "debugpy",
|
|
232
|
+
"request": "attach",
|
|
233
|
+
"connect": {
|
|
234
|
+
"host": "127.0.0.1",
|
|
235
|
+
"port": 5678
|
|
236
|
+
},
|
|
237
|
+
"pathMappings": [
|
|
238
|
+
{
|
|
239
|
+
"localRoot": "${workspaceFolder}",
|
|
240
|
+
"remoteRoot": "."
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
**Please note that development does not currently work with PyCharm as debugpy is not yet supported. [This issue is being tracked here](https://youtrack.jetbrains.com/issue/PY-63403/Support-debugpy)**
|
|
247
|
+
|
|
224
248
|
### PR/MR support
|
|
225
249
|
|
|
226
250
|
It's a pretty handy feature to create a profile from a pull request (merge request). E.g.:
|
|
@@ -200,6 +200,30 @@ The command line flag takes precedence over any configuration you might have in
|
|
|
200
200
|
|
|
201
201
|
> :point_right: **Bold keys** are mandatory or should be customized.
|
|
202
202
|
|
|
203
|
+
### Connecting your IDE to QR
|
|
204
|
+
|
|
205
|
+
Note that the Qontract Reconcile container will not start running until it is connected to by a debugger. You can use a config like this for VSCode:
|
|
206
|
+
|
|
207
|
+
```json
|
|
208
|
+
{
|
|
209
|
+
"name": "Python: Docker Attach",
|
|
210
|
+
"type": "debugpy",
|
|
211
|
+
"request": "attach",
|
|
212
|
+
"connect": {
|
|
213
|
+
"host": "127.0.0.1",
|
|
214
|
+
"port": 5678
|
|
215
|
+
},
|
|
216
|
+
"pathMappings": [
|
|
217
|
+
{
|
|
218
|
+
"localRoot": "${workspaceFolder}",
|
|
219
|
+
"remoteRoot": "."
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**Please note that development does not currently work with PyCharm as debugpy is not yet supported. [This issue is being tracked here](https://youtrack.jetbrains.com/issue/PY-63403/Support-debugpy)**
|
|
226
|
+
|
|
203
227
|
### PR/MR support
|
|
204
228
|
|
|
205
229
|
It's a pretty handy feature to create a profile from a pull request (merge request). E.g.:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "qontract-development-cli"
|
|
3
|
-
version = "0.15.
|
|
3
|
+
version = "0.15.6"
|
|
4
4
|
description = "Helper tool for qontract-reconcile development"
|
|
5
5
|
authors = [{ name = "Christian Assing", email = "cassing@redhat.com" }]
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -13,9 +13,9 @@ dependencies = [
|
|
|
13
13
|
"pydantic ~=2.9",
|
|
14
14
|
"pydantic-settings ~=2.6",
|
|
15
15
|
"pyyaml ~=6.0.2",
|
|
16
|
-
"rich ~=
|
|
17
|
-
"typer ~=0.
|
|
18
|
-
"watchfiles ~=1.
|
|
16
|
+
"rich ~=14.0",
|
|
17
|
+
"typer ~=0.16.0",
|
|
18
|
+
"watchfiles ~=1.1.0",
|
|
19
19
|
]
|
|
20
20
|
|
|
21
21
|
[dependency-groups]
|
|
@@ -34,12 +34,12 @@ class ProfileSettings(BaseModel):
|
|
|
34
34
|
app_interface_pr: int | None = None
|
|
35
35
|
app_interface_upstream: str = "upstream"
|
|
36
36
|
qontract_reconcile_build_image: bool = True
|
|
37
|
-
qontract_reconcile_image: str = "quay.io/app-sre/qontract-reconcile:latest"
|
|
37
|
+
qontract_reconcile_image: str = "quay.io/redhat-services-prod/app-sre-tenant/qontract-reconcile-master/qontract-reconcile-master:latest"
|
|
38
38
|
qontract_reconcile_path: Path = Path("~/workspace/qontract-reconcile")
|
|
39
39
|
qontract_reconcile_pr: int | None = None
|
|
40
40
|
qontract_reconcile_upstream: str = "upstream"
|
|
41
41
|
qontract_server_build_image: bool = True
|
|
42
|
-
qontract_server_image: str = "quay.io/app-sre/qontract-server:latest"
|
|
42
|
+
qontract_server_image: str = "quay.io/redhat-services-prod/app-sre-tenant/qontract-server-master/qontract-server-master:latest"
|
|
43
43
|
qontract_server_path: Path = Path("~/workspace/qontract-server")
|
|
44
44
|
qontract_schemas_path: Path = Path("~/workspace/qontract-schemas")
|
|
45
45
|
qontract_schemas_pr: int | None = None
|
|
File without changes
|
|
File without changes
|
{qontract_development_cli-0.15.4 → qontract_development_cli-0.15.6}/qontract_development_cli/cli.py
RENAMED
|
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
|