You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 month ago | |
---|---|---|
LICENSE | 1 year ago | |
main.py | 1 month ago | |
readme.md | 1 year ago |
readme.md
Gitea Issues Exporter
A small python program that fetches Gitea issues (from a given organization/repo) and exports to CSV (Excel).
Currently, only issue title is exported. This can be easily adjusted, though (in dump_to_csv
method).
How to run
- Install python if not yet installed. I'm using
python3.9
. - Prepare Gitea access token. This be easily obtained in your Gitea Settings >> Applications >> Manage Access Tokens section.
- Make sure you have
giteapy
pip package installed (if not, just go to https://pypi.org/project/giteapy/ and easily install this great python lib). - Modify the
main.py
top part of the code with basic config variables, such as Gitea access token, repo name, organization name and Gitea URL. - Just run the python program from command line (or IDE if you use) -
python3.9 main.py
. - The program will generate
open_issues.csv
andclosed_issues.csv
in the same directory as main.py.
Enjoy. Hope it helps someone.