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
ops_py_github_tools-1.1.4.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for ops_py_github_tools-1.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e16af2efcf90437036c8916fcae71dc5fecef3e742262b9d5a1bb69d25887b68 |
|
MD5 | 1c25b19490dd8e9d502ad497bb91769c |
|
BLAKE2b-256 | bd142fdc9653273cad1f54a636fefa7b3dc66ab475317973f73c6f3be9257645 |
Close
Hashes for ops_py_github_tools-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b597bff939eb3a2aaa571bdc76ad0d9cd9328437e1861f55cd3963cfe6adbc |
|
MD5 | 889d3a3e8f8a2c55bfb3a4f6037aa9e1 |
|
BLAKE2b-256 | 4c2cefe04072c16016c0df5e7bb8e33ffd722e94e987e629f69670f00b440a43 |