PyOpenSourceProjects

From BITPlan Wiki
Revision as of 19:25, 24 January 2022 by Wf (talk | contribs) (→‎issue2ticket)
Jump to navigation Jump to search

OsProject

OsProject
id  PyOpenSourceProjects
state  active
owner  WolfgangFahl
title  pyOpenSourceProjects
url  https://github.com/WolfgangFahl/pyOpenSourceProjects
version  0.0.1
description  
date  2022-01-24
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 -ts {github,jira}
                    [-s {open,closed,all}] [-w WIKI]

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
  -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
  -w WIKI, --wiki WIKI  results as WikiSon Ticket list

Examples

issue2ticket -o WolfgangFahl -p pyOpenSourceProjects -ts github 
* {{Ticket|number=2|title=Get Tickets in Wiki notation from github API|project=pyOpenSourceProjects|state=open}}
* {{Ticket|number=1|title=OsProject, Ticket and commit as base entities|project=pyOpenSourceProjects|state=open}}