pygitpub 0.0.51__tar.gz → 0.0.52__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygitpub
3
- Version: 0.0.51
3
+ Version: 0.0.52
4
4
  Summary: Pygitpub will help you work with github
5
5
  Home-page: https://veltzer.github.io/pygitpub
6
6
  Download-URL: https://github.com/veltzer/pygitpub
@@ -17,9 +17,7 @@ Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.8
21
- Classifier: Programming Language :: Python :: 3.9
22
- Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
23
21
  Classifier: Topic :: Utilities
24
22
  Classifier: License :: OSI Approved :: MIT License
25
23
  Description-Content-Type: text/x-rst
@@ -42,6 +40,6 @@ project website: https://veltzer.github.io/pygitpub
42
40
 
43
41
  author: Mark Veltzer
44
42
 
45
- version: 0.0.51
43
+ version: 0.0.52
46
44
 
47
- Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023
45
+ Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023, 2024
@@ -12,6 +12,6 @@ project website: https://veltzer.github.io/pygitpub
12
12
 
13
13
  author: Mark Veltzer
14
14
 
15
- version: 0.0.51
15
+ version: 0.0.52
16
16
 
17
- Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023
17
+ Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023, 2024
@@ -147,13 +147,16 @@ def runs_cleanup() -> None:
147
147
  # if it's a pages build delete it unless it's in mid work (run.conclusion is None)
148
148
  if workflow.name == "pages-build-deployment" and run.conclusion is not None:
149
149
  delete_it = True
150
+ # if it's not on the master branch, delete it
151
+ if run.head_branch != "master":
152
+ delete_it = True
150
153
  # if it's not a paged build and it failed then delete it
151
154
  if workflow.name != "pages-build-deployment" and run.conclusion == "failure":
152
155
  delete_it = True
153
156
  if existing >= 4:
154
157
  delete_it = True
155
158
  if delete_it:
156
- print(f"deleting {repo.name} {workflow.name} {run.conclusion} {run.url}")
159
+ print(f"deleting {repo.name} {workflow.name} {run.head_branch} {run.conclusion} {run.url}")
157
160
  delete(run)
158
161
  else:
159
162
  existing += 1
@@ -1,5 +1,5 @@
1
1
  """ version which can be consumed from within the module """
2
- VERSION_STR = "0.0.51"
2
+ VERSION_STR = "0.0.52"
3
3
  DESCRIPTION = "Pygitpub will help you work with github"
4
4
  APP_NAME = "pygitpub"
5
5
  LOGGER_NAME = "pygitpub"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygitpub
3
- Version: 0.0.51
3
+ Version: 0.0.52
4
4
  Summary: Pygitpub will help you work with github
5
5
  Home-page: https://veltzer.github.io/pygitpub
6
6
  Download-URL: https://github.com/veltzer/pygitpub
@@ -17,9 +17,7 @@ Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.8
21
- Classifier: Programming Language :: Python :: 3.9
22
- Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
23
21
  Classifier: Topic :: Utilities
24
22
  Classifier: License :: OSI Approved :: MIT License
25
23
  Description-Content-Type: text/x-rst
@@ -42,6 +40,6 @@ project website: https://veltzer.github.io/pygitpub
42
40
 
43
41
  author: Mark Veltzer
44
42
 
45
- version: 0.0.51
43
+ version: 0.0.52
46
44
 
47
- Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023
45
+ Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023, 2024
@@ -9,7 +9,7 @@ def get_readme():
9
9
  setuptools.setup(
10
10
  # the first three fields are a must according to the documentation
11
11
  name="pygitpub",
12
- version="0.0.51",
12
+ version="0.0.52",
13
13
  packages=[
14
14
  "pygitpub",
15
15
  "pygitpub.utils",
@@ -44,9 +44,7 @@ setuptools.setup(
44
44
  "Programming Language :: Python",
45
45
  "Programming Language :: Python :: 3",
46
46
  "Programming Language :: Python :: 3 :: Only",
47
- "Programming Language :: Python :: 3.8",
48
- "Programming Language :: Python :: 3.9",
49
- "Programming Language :: Python :: 3.10",
47
+ "Programming Language :: Python :: 3.11",
50
48
  "Topic :: Utilities",
51
49
  "License :: OSI Approved :: MIT License",
52
50
  ],
File without changes
File without changes
File without changes