rtems-proxy 0.5.1__tar.gz → 0.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.
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/PKG-INFO +2 -18
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/README.md +1 -17
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/pyproject.toml +1 -1
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/__main__.py +1 -2
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/_version.py +2 -2
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/rsync.sh.jinja +0 -1
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/utils.py +2 -3
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/PKG-INFO +2 -18
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.copier-answers.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.devcontainer/devcontainer.json +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/CONTRIBUTING.md +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/ISSUE_TEMPLATE/issue.md +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/actions/install_requirements/action.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/dependabot.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/pages/index.html +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/pages/make_switcher.py +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_check.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_dist.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_pypi.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_release.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_test.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_tox.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/ci.yml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.gitignore +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.pre-commit-config.yaml +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/extensions.json +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/launch.json +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/settings.json +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/tasks.json +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/Dockerfile +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/LICENSE +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/proxy-start.sh +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/requirements.txt +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/setup.cfg +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/__init__.py +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/copy.py +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/globals.py +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/telnet.py +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/SOURCES.txt +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/dependency_links.txt +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/entry_points.txt +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/requires.txt +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/top_level.txt +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/tests/conftest.py +0 -0
- {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/tests/test_cli.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: rtems-proxy
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
|
|
5
5
|
Author-email: Giles Knap <giles.knap@diamond.ac.uk>
|
|
6
6
|
License: Apache License
|
|
@@ -239,28 +239,12 @@ Requires-Dist: types-mock; extra == "dev"
|
|
|
239
239
|
|
|
240
240
|
Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
|
|
241
241
|
|
|
242
|
-
This is where you should write a short paragraph that describes what your module does,
|
|
243
|
-
how it does it, and why people should use it.
|
|
244
242
|
|
|
245
243
|
Source | <https://github.com/epics-containers/rtems-proxy>
|
|
246
244
|
:---: | :---:
|
|
247
245
|
PyPI | `pip install rtems-proxy`
|
|
248
246
|
Releases | <https://github.com/epics-containers/rtems-proxy/releases>
|
|
249
247
|
|
|
250
|
-
This is where you should put some images or code snippets that illustrate
|
|
251
|
-
some relevant examples. If it is a library then you might put some
|
|
252
|
-
introductory code here:
|
|
253
|
-
|
|
254
|
-
```python
|
|
255
|
-
from rtems_proxy import __version__
|
|
256
|
-
|
|
257
|
-
print(f"Hello rtems_proxy {__version__}")
|
|
258
248
|
```
|
|
259
|
-
|
|
260
|
-
Or if it is a commandline tool then you might put some example commands here:
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
```
|
|
264
|
-
python -m rtems_proxy --version
|
|
249
|
+
rtems_proxy --help
|
|
265
250
|
```
|
|
266
|
-
|
|
@@ -7,28 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
|
|
9
9
|
|
|
10
|
-
This is where you should write a short paragraph that describes what your module does,
|
|
11
|
-
how it does it, and why people should use it.
|
|
12
10
|
|
|
13
11
|
Source | <https://github.com/epics-containers/rtems-proxy>
|
|
14
12
|
:---: | :---:
|
|
15
13
|
PyPI | `pip install rtems-proxy`
|
|
16
14
|
Releases | <https://github.com/epics-containers/rtems-proxy/releases>
|
|
17
15
|
|
|
18
|
-
This is where you should put some images or code snippets that illustrate
|
|
19
|
-
some relevant examples. If it is a library then you might put some
|
|
20
|
-
introductory code here:
|
|
21
|
-
|
|
22
|
-
```python
|
|
23
|
-
from rtems_proxy import __version__
|
|
24
|
-
|
|
25
|
-
print(f"Hello rtems_proxy {__version__}")
|
|
26
16
|
```
|
|
27
|
-
|
|
28
|
-
Or if it is a commandline tool then you might put some example commands here:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
python -m rtems_proxy --version
|
|
17
|
+
rtems_proxy --help
|
|
33
18
|
```
|
|
34
|
-
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
|
-
from typing import Optional
|
|
3
2
|
|
|
4
3
|
import typer
|
|
5
4
|
from jinja2 import Template
|
|
@@ -23,7 +22,7 @@ def version_callback(value: bool):
|
|
|
23
22
|
|
|
24
23
|
@cli.callback()
|
|
25
24
|
def main(
|
|
26
|
-
version:
|
|
25
|
+
version: bool | None = typer.Option(
|
|
27
26
|
None,
|
|
28
27
|
"--version",
|
|
29
28
|
callback=version_callback,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import subprocess
|
|
2
|
-
from typing import Union
|
|
3
2
|
|
|
4
3
|
import typer
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
def run_command(
|
|
8
7
|
command: str, interactive=True, error_OK=False, show=False
|
|
9
|
-
) ->
|
|
8
|
+
) -> str | bool:
|
|
10
9
|
"""
|
|
11
10
|
Run a command and return the output
|
|
12
11
|
|
|
@@ -30,7 +29,7 @@ def run_command(
|
|
|
30
29
|
error_out = p_result.stderr.decode()
|
|
31
30
|
|
|
32
31
|
if interactive:
|
|
33
|
-
result:
|
|
32
|
+
result: str | bool = p_result.returncode == 0
|
|
34
33
|
else:
|
|
35
34
|
result = output + error_out
|
|
36
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: rtems-proxy
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
|
|
5
5
|
Author-email: Giles Knap <giles.knap@diamond.ac.uk>
|
|
6
6
|
License: Apache License
|
|
@@ -239,28 +239,12 @@ Requires-Dist: types-mock; extra == "dev"
|
|
|
239
239
|
|
|
240
240
|
Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
|
|
241
241
|
|
|
242
|
-
This is where you should write a short paragraph that describes what your module does,
|
|
243
|
-
how it does it, and why people should use it.
|
|
244
242
|
|
|
245
243
|
Source | <https://github.com/epics-containers/rtems-proxy>
|
|
246
244
|
:---: | :---:
|
|
247
245
|
PyPI | `pip install rtems-proxy`
|
|
248
246
|
Releases | <https://github.com/epics-containers/rtems-proxy/releases>
|
|
249
247
|
|
|
250
|
-
This is where you should put some images or code snippets that illustrate
|
|
251
|
-
some relevant examples. If it is a library then you might put some
|
|
252
|
-
introductory code here:
|
|
253
|
-
|
|
254
|
-
```python
|
|
255
|
-
from rtems_proxy import __version__
|
|
256
|
-
|
|
257
|
-
print(f"Hello rtems_proxy {__version__}")
|
|
258
248
|
```
|
|
259
|
-
|
|
260
|
-
Or if it is a commandline tool then you might put some example commands here:
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
```
|
|
264
|
-
python -m rtems_proxy --version
|
|
249
|
+
rtems_proxy --help
|
|
265
250
|
```
|
|
266
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
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
|
|
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
|