galaxy-update 1.1.0__py3-none-win_amd64.whl
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.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import stat
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def main():
|
|
9
|
+
binary = Path(__file__).parent / "bin" / "galaxy-update.exe"
|
|
10
|
+
|
|
11
|
+
if sys.platform != "win32":
|
|
12
|
+
m = binary.stat().st_mode
|
|
13
|
+
if not (m & stat.S_IXUSR):
|
|
14
|
+
binary.chmod(m | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
|
|
15
|
+
|
|
16
|
+
b = str(binary)
|
|
17
|
+
|
|
18
|
+
if sys.platform == "win32":
|
|
19
|
+
sys.exit(subprocess.call([b, *sys.argv[1:]]))
|
|
20
|
+
else:
|
|
21
|
+
os.execvp(b, [b, *sys.argv[1:]])
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from . import main; main()
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: galaxy-update
|
|
3
|
+
Version: 1.1.0
|
|
4
|
+
Summary: Update Ansible collection and role versions to latest
|
|
5
|
+
Project-URL: Repository, https://github.com/deadnews/galaxy-update
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
|
|
10
|
+
# galaxy-update
|
|
11
|
+
|
|
12
|
+
> Update Ansible collection and role versions to latest
|
|
13
|
+
|
|
14
|
+
[](https://pypi.org/project/galaxy-update)
|
|
15
|
+
[](https://github.com/deadnews/galaxy-update/releases/latest)
|
|
16
|
+
[](https://github.com/deadnews/galaxy-update)
|
|
17
|
+
[](https://github.com/deadnews/galaxy-update)
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
uv tool install galaxy-update
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
Usage: galaxy-update [<files> ...] [flags]
|
|
29
|
+
|
|
30
|
+
Update Ansible collection and role versions to latest.
|
|
31
|
+
|
|
32
|
+
Flags:
|
|
33
|
+
-v, --verbose Show all entries, including current.
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
- When no files are given, `galaxy-update` auto-discovers
|
|
37
|
+
`requirements.{yaml,yml}` under the current directory, recursively.
|
|
38
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
galaxy_update-1.1.0.dist-info/METADATA,sha256=DIq0glitiPuiAsdhdDCQxm3wnwBxeGT9pMP5hDOhxag,1406
|
|
2
|
+
galaxy_update-1.1.0.dist-info/WHEEL,sha256=SrRcevwbMY8MubxiwenUmHLq9xU4WFOzwbh_hgQRJF8,66
|
|
3
|
+
galaxy_update-1.1.0.dist-info/entry_points.txt,sha256=zLkJWY3iOWmxQp44KDcUBwinpjBwg8KxvxfrlVLADhw,53
|
|
4
|
+
galaxy_update/__init__.py,sha256=rEev5MfcDhVldowG5SrG2UFx0sZE4o1CXFOV6air9P8,489
|
|
5
|
+
galaxy_update/__main__.py,sha256=REDYM-zO7Vxn6eacYdVvRWyHoRcf_-pqxazPU68nL6M,27
|
|
6
|
+
galaxy_update/bin/galaxy-update.exe,sha256=WfjTwAdK7bfMDtYvQ2dPmmbd6-UiKQs7Oe42IhJCUpk,8814080
|
|
7
|
+
galaxy_update-1.1.0.dist-info/RECORD,,
|