Github Issue Exporter
Do you want a backup of your Github export?
This is your chance to do it!
Installation
Dependencies
Only dependency is the python library requests
Either clone the repo and install with pip install . or wait for me to publish it on pypi.
Local install
- Clone repo
python3 -m virtualenv venv+source venv/bin/activate- pip install .
Usage
Use the handy CLI provided by GH Issue Export.
Exporting issues from a Github repository
gh-issue-exporter export <REPO_URL>
ex.
gh-issue-exporter export https://github.com/mal-lang/mal-toolbox/
This creates a JSON file with issues called 'mal-toolbox.json' in the same directory as it was run.
To select outfile name, use the o-flag: -o <outfile>
To export pull requests as well:
gh-issue-exporter export https://github.com/mal-lang/mal-toolbox/ --pull_requests [-p]
Importing issues from an issue file to a repository
Preparation
- For gh-issue-exporter to be able to create issues, you need to use a Github Token.
- Visit: https://github.com/settings/tokens
- Click 'Generate New Token'
- Authenticate if needed
- Give the token access to the repository you want to import TO
- Give read and write access to 'Issues'
To import issues from an existing issues file, run:
gh-issue-exporter import <REPO_URL> <ISSUE_FILE> <TOKEN>
ex.
gh-issue-exporter import https://github.com/mrkickling/github-issue-exporter mal-toolbox.json github_[redacted]
Release files for gh-issue-exporter 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gh_issue_exporter-0.0.2.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gh_issue_exporter-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:13.4 kB
Release files / gh_issue_exporter-0.0.2.tar.gz
| Download URL | gh_issue_exporter-0.0.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36569b0f730df61adf317029114282742726676a0d62c1f27e0da39aecf24641
|
|
BLAKE2b-256 checksum How to use checksums |
f073fec9d48e24ef2dc5b1611c8cf5de74ce0c7269cbd3549d4a633e04b01e56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / gh_issue_exporter-0.0.2-py3-none-any.whl
| Download URL | gh_issue_exporter-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c9a11b023743aa65b6649a21d3ba16f6f50097b63b2402a563471519be357f1
|
|
BLAKE2b-256 checksum How to use checksums |
0a4d96863f38dad2718f2755cc0a92060c39e2ae7b7784f8e94c7edcd8044f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|