Difference between revisions of "PyOpenSourceProjects"
Jump to navigation
Jump to search
(Created page with "{{OsProject }}") |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | =OsProject= | ||
+ | |||
{{OsProject | {{OsProject | ||
+ | |id=PyOpenSourceProjects | ||
+ | |state=active | ||
+ | |owner=WolfgangFahl | ||
+ | |title=pyOpenSourceProjects | ||
+ | |url=https://github.com/WolfgangFahl/pyOpenSourceProjects | ||
+ | |version=0.0.9 | ||
+ | |date=2023-03-08 | ||
+ | |since=2022-01-24 | ||
+ | }} | ||
+ | {{pip|pyOpenSourceProjects}} | ||
+ | |||
+ | = Scripts = | ||
+ | == issue2ticket == | ||
+ | <source lang='bash'> | ||
+ | issue2ticket -h | ||
+ | usage: issue2ticket [-h] [-o OWNER] [-p PROJECT] [--repo] [-ts {github,jira}] | ||
+ | [-s {open,closed,all}] | ||
+ | |||
+ | Issue2ticket | ||
+ | |||
+ | optional arguments: | ||
+ | -h, --help show this help message and exit | ||
+ | -o OWNER, --owner OWNER | ||
+ | project owner or organization | ||
+ | -p PROJECT, --project PROJECT | ||
+ | name of the project | ||
+ | --repo get needed information form repository of current | ||
+ | location | ||
+ | -ts {github,jira}, --ticketsystem {github,jira} | ||
+ | platform the project is hosted | ||
+ | -s {open,closed,all}, --state {open,closed,all} | ||
+ | only issues with the given state | ||
+ | |||
+ | </source> | ||
+ | === Examples === | ||
+ | <source lang='bash' highlight='1'> | ||
+ | issue2ticket -o WolfgangFahl -p pyOpenSourceProjects -ts github | ||
+ | # {{Ticket | ||
+ | |number=1 | ||
+ | |title=OsProject, Ticket and commit as base entities | ||
+ | |project=pyOpenSourceProjects | ||
+ | |createdAt=2022-01-24 07:40:51+00:00 | ||
+ | |closedAt= | ||
+ | |state=open | ||
+ | }} | ||
+ | ... | ||
+ | </source> | ||
+ | # {{Ticket | ||
+ | |number=1 | ||
+ | |title=OsProject, Ticket and commit as base entities | ||
+ | |project=pyOpenSourceProjects | ||
+ | |createdAt=2022-01-24 07:40:51+00:00 | ||
+ | |closedAt= | ||
+ | |state=open | ||
+ | }} | ||
+ | # {{Ticket | ||
+ | |number=2 | ||
+ | |title=Get Tickets in Wiki notation from github API | ||
+ | |project=pyOpenSourceProjects | ||
+ | |createdAt=2022-01-24 07:41:29+00:00 | ||
+ | |closedAt=2022-01-25 07:43:04+00:00 | ||
+ | |state=closed | ||
+ | }} | ||
+ | # {{Ticket | ||
+ | |number=4 | ||
+ | |title=Autodetection of repo and owner | ||
+ | |project=pyOpenSourceProjects | ||
+ | |createdAt=2022-01-25 07:45:35+00:00 | ||
+ | |closedAt=2022-01-29 08:29:11+00:00 | ||
+ | |state=closed | ||
+ | }} | ||
+ | # {{Ticket | ||
+ | |number=5 | ||
+ | |title=closedAt and createdAt instead of closed_at and created_at | ||
+ | |project=pyOpenSourceProjects | ||
+ | |createdAt=2022-01-29 08:25:55+00:00 | ||
+ | |closedAt=2022-01-29 08:28:56+00:00 | ||
+ | |state=closed | ||
+ | }} | ||
+ | # {{Ticket | ||
+ | |number=6 | ||
+ | |title=gitlog2wiki bash replacement | ||
+ | |project=pyOpenSourceProjects | ||
+ | |createdAt=2022-01-29 08:31:18+00:00 | ||
+ | |closedAt= | ||
+ | |state=open | ||
}} | }} |
Latest revision as of 08:38, 8 April 2023
OsProject
OsProject | |
---|---|
id | PyOpenSourceProjects |
state | active |
owner | WolfgangFahl |
title | pyOpenSourceProjects |
url | https://github.com/WolfgangFahl/pyOpenSourceProjects |
version | 0.0.9 |
description | |
date | 2023-03-08 |
since | 2022-01-24 |
until |
Installation
pip install pyOpenSourceProjects
# alternatively if your pip is not a python3 pip
pip3 install pyOpenSourceProjects
# local install from source directory of pyOpenSourceProjects
pip install .
upgrade
pip install pyOpenSourceProjects -U
# alternatively if your pip is not a python3 pip
pip3 install pyOpenSourceProjects -U
Scripts
issue2ticket
issue2ticket -h
usage: issue2ticket [-h] [-o OWNER] [-p PROJECT] [--repo] [-ts {github,jira}]
[-s {open,closed,all}]
Issue2ticket
optional arguments:
-h, --help show this help message and exit
-o OWNER, --owner OWNER
project owner or organization
-p PROJECT, --project PROJECT
name of the project
--repo get needed information form repository of current
location
-ts {github,jira}, --ticketsystem {github,jira}
platform the project is hosted
-s {open,closed,all}, --state {open,closed,all}
only issues with the given state
Examples
issue2ticket -o WolfgangFahl -p pyOpenSourceProjects -ts github
# {{Ticket
|number=1
|title=OsProject, Ticket and commit as base entities
|project=pyOpenSourceProjects
|createdAt=2022-01-24 07:40:51+00:00
|closedAt=
|state=open
}}
...