pygitpub 0.0.62__tar.gz → 0.0.63__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.
- {pygitpub-0.0.62 → pygitpub-0.0.63}/.gitignore +4 -0
- {pygitpub-0.0.62 → pygitpub-0.0.63}/PKG-INFO +3 -5
- {pygitpub-0.0.62 → pygitpub-0.0.63}/README.md +2 -4
- {pygitpub-0.0.62 → pygitpub-0.0.63}/pyproject.toml +1 -1
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/main.py +4 -4
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/static.py +1 -1
- {pygitpub-0.0.62 → pygitpub-0.0.63}/LICENSE +0 -0
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/__init__.py +0 -0
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/configs.py +0 -0
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/utils/__init__.py +0 -0
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/utils/lua.py +0 -0
- {pygitpub-0.0.62 → pygitpub-0.0.63}/src/pygitpub/utils/misc.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pygitpub
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.63
|
|
4
4
|
Summary: Pygitpub will help you work with github
|
|
5
5
|
Project-URL: Homepage, https://github.com/veltzer/pygitpub
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/veltzer/pygitpub/issues
|
|
@@ -41,7 +41,7 @@ project website: https://veltzer.github.io/pygitpub
|
|
|
41
41
|
|
|
42
42
|
author: Mark Veltzer
|
|
43
43
|
|
|
44
|
-
version: 0.0.
|
|
44
|
+
version: 0.0.63
|
|
45
45
|
|
|
46
46
|

|
|
47
47
|
|
|
@@ -69,8 +69,6 @@ version: 0.0.62
|
|
|
69
69
|
|
|
70
70
|
## contact me
|
|
71
71
|
|
|
72
|
-
[
|
|
73
|
-

|
|
74
|
-

|
|
72
|
+
[mark.veltzer@gmail.com](mailto:mark.veltzer@gmail.com)
|
|
75
73
|
|
|
76
74
|
Mark Veltzer, Copyright © 2022, 2023, 2024, 2025, 2026
|
|
@@ -9,7 +9,7 @@ project website: https://veltzer.github.io/pygitpub
|
|
|
9
9
|
|
|
10
10
|
author: Mark Veltzer
|
|
11
11
|
|
|
12
|
-
version: 0.0.
|
|
12
|
+
version: 0.0.63
|
|
13
13
|
|
|
14
14
|

|
|
15
15
|
|
|
@@ -37,8 +37,6 @@ version: 0.0.62
|
|
|
37
37
|
|
|
38
38
|
## contact me
|
|
39
39
|
|
|
40
|
-
[
|
|
41
|
-

|
|
42
|
-

|
|
40
|
+
[mark.veltzer@gmail.com](mailto:mark.veltzer@gmail.com)
|
|
43
41
|
|
|
44
42
|
Mark Veltzer, Copyright © 2022, 2023, 2024, 2025, 2026
|
|
@@ -202,7 +202,7 @@ def cleanup() -> None:
|
|
|
202
202
|
existing = 0
|
|
203
203
|
for run in workflow.get_runs():
|
|
204
204
|
if ConfigOutput.verbose:
|
|
205
|
-
print(f"inspecting {repo.name} {workflow.name} {run.conclusion}")
|
|
205
|
+
print(f"inspecting [workflow run] {repo.name} {workflow.name} {run.conclusion}")
|
|
206
206
|
delete_it = False
|
|
207
207
|
# if its a pages build delete it unless its in mid work (run.conclusion is None)
|
|
208
208
|
if workflow.name == "pages-build-deployment" and run.conclusion is not None:
|
|
@@ -218,7 +218,7 @@ def cleanup() -> None:
|
|
|
218
218
|
if existing >= 4:
|
|
219
219
|
delete_it = True
|
|
220
220
|
if delete_it:
|
|
221
|
-
print(f"deleting {repo.name} {workflow.name} {run.head_branch} {run.conclusion} {run.url}")
|
|
221
|
+
print(f"deleting [workflow run] {repo.name} {workflow.name} {run.head_branch} {run.conclusion} {run.url}")
|
|
222
222
|
try:
|
|
223
223
|
run.delete()
|
|
224
224
|
except github.GithubException as e:
|
|
@@ -241,7 +241,7 @@ def cleanup() -> None:
|
|
|
241
241
|
existing_deployments += 1
|
|
242
242
|
|
|
243
243
|
if delete_it:
|
|
244
|
-
print(f"deleting deployment {repo.name} {deployment.id}")
|
|
244
|
+
print(f"deleting [deployment] {repo.name} {deployment.id}")
|
|
245
245
|
try:
|
|
246
246
|
deployment.create_status("inactive")
|
|
247
247
|
except github.GithubException as e:
|
|
@@ -258,7 +258,7 @@ def cleanup() -> None:
|
|
|
258
258
|
existing_releases = 0
|
|
259
259
|
for release in repo.get_releases():
|
|
260
260
|
if existing_releases >= 4:
|
|
261
|
-
print(f"deleting release {repo.name} {release.title}")
|
|
261
|
+
print(f"deleting [release] {repo.name} {release.title}")
|
|
262
262
|
try:
|
|
263
263
|
release.delete_release()
|
|
264
264
|
except github.GithubException as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|