You are not logged in.

#1 2016-04-17 09:53:20

jsoy9pQbYVNu5nfU
Member
Registered: 2013-04-19
Posts: 108

gien: export Github issue tracker contents to local email storage

gien is a tool for exporting the contents of any Github issue tracker to a local mbox file as email, thereby mapping all issues and comments to email threads.

The structure of the exported email threads mimics Github's email notifications: There is a root message for every issue, and all comments on that issue reply to the root.

I wrote this tool to help with getting my private Github repositories completely -- including the issue tracker -- off Github.

Usage example:

 $ ./gien --user 2ion --password $password -o out.mbox -r 2ion/forecast -i all
Rate limit: 4726/5000, reset @ 2016-04-17 09:36:38
Threading: 2ion/forecast/125592926: Unit choice should be in config file
         => <2ion/forecast/issues/125592926/169996686@github.com>
         => <2ion/forecast/issues/125592926/170544701@github.com>
Threading: 2ion/forecast/125583130: Labels in print modes should be translated too
         => <2ion/forecast/issues/125583130/169962105@github.com>
         => <2ion/forecast/issues/125583130/170545000@github.com>
         => <2ion/forecast/issues/125583130/170550657@github.com>
Threading: 2ion/forecast/113885741: Impossibile to build without GNU C libs
         => <2ion/forecast/issues/113885741/151942432@github.com>
         => <2ion/forecast/issues/113885741/151948964@github.com>
         => <2ion/forecast/issues/113885741/168606665@github.com>
         => <2ion/forecast/issues/113885741/168627482@github.com>
Threading: 2ion/forecast/110502529: Additional demo pic
         => <2ion/forecast/issues/110502529/146646581@github.com>
Threading: 2ion/forecast/110502292: arch pkgbuild dependencies incomplete
         => <2ion/forecast/issues/110502292/146648027@github.com>
Threading: 2ion/forecast/88021513: README.mkd: Put screenshots in correct order

yields a mailbox with the following contents:

2016-04-17-183219_1918x1078_scrot.th.png
2016-04-17-183608_1918x1078_scrot.th.png

Here is another example, a copy of all open issues in the mpv-player/mpv repository.

The program and  more details are availble here.

Offline

Board footer

Powered by FluxBB