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.3.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for ops_py_github_tools-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b8aa4c7517f15cf6c1fc4e295236f1ee149064f2dc00d09bd62bdc7a9ddf30 |
|
MD5 | 5dece0b819f1c8d35851d4e31d2d639e |
|
BLAKE2b-256 | 42d6949b490596b1ecb21e4181aa8719697fe2c70ba1bbb90a92c027b3d19769 |
Close
Hashes for ops_py_github_tools-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52748d322d8ca6e78d3d607371fe415d50485333e6bf2fdaacaa63e66bd440f1 |
|
MD5 | a5c836451e9bc08a1b0e12f7eaac1c3c |
|
BLAKE2b-256 | f1d7d83d4dd8d4e8c3ec475f64ac85c81861d67e658a6b80f185a6494426f832 |