Difference between revisions of "PyOpenSourceProjects"

From BITPlan Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
|title=pyOpenSourceProjects
 
|title=pyOpenSourceProjects
 
|url=https://github.com/WolfgangFahl/pyOpenSourceProjects
 
|url=https://github.com/WolfgangFahl/pyOpenSourceProjects
|version=0.1.0
+
|version=0.1.2
|date=2024-06-19
+
|date=2024-06-20
 
|since=2022-01-24
 
|since=2022-01-24
 
}}
 
}}

Revision as of 23:28, 20 June 2024

OsProject

OsProject
id  PyOpenSourceProjects
state  active
owner  WolfgangFahl
title  pyOpenSourceProjects
url  https://github.com/WolfgangFahl/pyOpenSourceProjects
version  0.1.2
description  
date  2024-06-20
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
}}
...
  1. Issue 1 - OsProject, Ticket and commit as base entities
  2. Issue 2 - Get Tickets in Wiki notation from github API
  3. Issue 4 - Autodetection of repo and owner
  4. Issue 5 - closedAt and createdAt instead of closed_at and created_at
  5. Issue 6 - gitlog2wiki bash replacement