Selection of tools to use with GitHub
Project description
ops-py-github-tools
Description
A collection of various GitHub Tools:
- Create or get GitHub Repo Milestones
- Get GitHub repo Pull Requests info
- Create GitHub repo issue templates
- Perform requests to GitHub
Installation pip install ops-py-github-tools
Usage
Please refer to github_tools_examples.py
Create desired template based on the title of the GitHub Issue
Example:
python3 -m github_tools.github_issue_templates --title "📇 mc-isb: Monitoring documentation" --templates_dir .github/ISSUE_TEMPLATE \
--template_filenames c_epic.md c_epic_maintenance.md d_collection.md d_collection_maintenance.md e_task.md --team_alias myt --team_name "My Team" \
--team_alias_placeholder "<team_alias>" --team_name_placeholder "<team_name>" \
--write_templates "" --templates_version v2.0.1 > template.md
Example output:
cat template.md
---
name: "\U0001f4c7 Collection"
about: "Group(s) of tasks"
title: "\U0001f4c7 c-myt:"
version: "v2.0.1"
---
## Purpose
> Remember the goal type of your tasks here. If any existing tasks are related to another :trophy: Goal type, they should be moved to respective :crown: Epic -> inside that specific :card_index: collection.
### Summary
DevOps link: `none` / AB#ticketNumber
This collection includes tasks related to..... <!-- Summarise overall reason for tasks in this collection -->
#### Acceptance Criteria
- None
#### Task(s)
- [ ] None
#### Pull Requests
- [ ] None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ops_py_github_tools-1.1.5.tar.gz.
File metadata
- Download URL: ops_py_github_tools-1.1.5.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12365ae9b198464efdb4af7a44b471febe6f77f1d553555f6e7fdcc9e058d5ee
|
|
| MD5 |
73bf8858f59ed88346628594477198e5
|
|
| BLAKE2b-256 |
c571bb8b687d80588eaa1c2181fe275fb57688e9b279e3e2f12019424f91ad1f
|
Provenance
The following attestation bundles were made for ops_py_github_tools-1.1.5.tar.gz:
Publisher:
build_pypi.yml on equinor/ops-py-github-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ops_py_github_tools-1.1.5.tar.gz -
Subject digest:
12365ae9b198464efdb4af7a44b471febe6f77f1d553555f6e7fdcc9e058d5ee - Sigstore transparency entry: 149497211
- Sigstore integration time:
-
Permalink:
equinor/ops-py-github-tools@30bcbe70bdb7fa95681f5d7d11dd7ac7a5b6148d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/equinor
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_pypi.yml@30bcbe70bdb7fa95681f5d7d11dd7ac7a5b6148d -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file ops_py_github_tools-1.1.5-py3-none-any.whl.
File metadata
- Download URL: ops_py_github_tools-1.1.5-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af997663052f2cfb542781487ad245fc41b83c70ef29b9fa5192619a629fa227
|
|
| MD5 |
9d54f788c9001690a778462e3d150c05
|
|
| BLAKE2b-256 |
df554f75c7d000f9ddfc93cfee1f311e612ce85a2d1a0d08a435d2a20417598d
|
Provenance
The following attestation bundles were made for ops_py_github_tools-1.1.5-py3-none-any.whl:
Publisher:
build_pypi.yml on equinor/ops-py-github-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ops_py_github_tools-1.1.5-py3-none-any.whl -
Subject digest:
af997663052f2cfb542781487ad245fc41b83c70ef29b9fa5192619a629fa227 - Sigstore transparency entry: 149497217
- Sigstore integration time:
-
Permalink:
equinor/ops-py-github-tools@30bcbe70bdb7fa95681f5d7d11dd7ac7a5b6148d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/equinor
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_pypi.yml@30bcbe70bdb7fa95681f5d7d11dd7ac7a5b6148d -
Trigger Event:
pull_request
-
Statement type: