Re: [tsc-devel] Self-hosting the project
Lauri Ojansivu |
Fri, 11 Sep 2015 21:07:33 UTC
Hi,
status update about Gogs:
- I installed Gogs to my laptop, using Ubuntu 14.04 package. There's
packages also for Debian 7 and 8. I used postgres 9.4. On Linux, when
installing Gogs, it creates new Linux user gogs and has repository as
files at /home/gogs/gogs-repositories/secretchronicles/tsc.git . Other
settings are saved to postgres database.
- mirroring repos, creating Secretchronicles organization went ok
- when setting up Secretchronicles organization avatar, transparent
image shows black background, not white as at GitHub
- GitHub issues were not mirrored. There is issue on Gogs at
https://github.com/gogits/gogs/issues/63 that is closed, so I asked
about that at Gogs Google+ community at
https://plus.google.com/communities/115599856376145964459 , but have
not yet received reply. To download issues, I used
https://github.com/piwik/github-issues-mirror PHP Symfony command-line
based project that uses GitHub API to download issues as JSON files,
and has PHP-based viewer that has option to show for example 100
issues per page, number 100 is configurable setting. PHP viewer did
not show issue images, but JSON source code seems to have image URLs
pointing to GitHub under https://cloud.githubusercontent.com domain,
so with some script images could be downloaded and changed at source
code. Next steps would be to download images based on info from JSON
files, figure out in what format issues are at Gogs (probably look at
postgres database), and generate script to insert JSON and images as
Gogs repo issues.
- pull requests were not mirrored. I have not yet searched for
software that would mirror pull requests.
- Gogs did not seem to have wiki feature.
I don't know is there any other OpenSource software that has already
features to import issues and pull requests from GitHub.
BR,
xet7