cooperspencer / gickup

https://cooperspencer.github.io/gickup-documentation/
Apache License 2.0
962 stars 34 forks source link

Exporting Starred Repo + Wiki: invalid hash text #92

Closed pew closed 2 years ago

pew commented 2 years ago

I just enabled the new feature to back up starred repos, and turned the wiki functionality on as well, gickup crashed with one repo:

2022-02-24T04:30:03Z WRN retry 1 from 5 path=/backup stage=locally
2022-02-24T04:30:08Z WRN retry 2 from 5 path=/backup stage=locally
2022-02-24T04:30:13Z WRN retry 3 from 5 path=/backup stage=locally
2022-02-24T04:30:18Z WRN retry 4 from 5 path=/backup stage=locally
2022-02-24T04:30:24Z FTL pkt-line 3: invalid hash text: encoding/hex: invalid byte: U+0052 'R' (ERR access denied or repository not exported: /1/nw/19/f2/ec/160428151/109343098.wiki.git) path=/backup repo=github.com/serhii-londar/open-source-mac-os-apps.wiki stage=locally

This is a starred repo, so I don't have any controls over the settings there. When I want to open the wiki manually, it redirects me back to the main page. I don't know if this is a special GitHub feature, haven't seen this yet.

cooperspencer commented 2 years ago

thank you for the example. I will have a look at it

cooperspencer commented 2 years ago

I just checked the bug, and the problem is that the github api reports that the repo has a wiki and that the wiki has pages. Now I have to think of another way to go around that like maybe checking if the wiki site exists or not...

pew commented 2 years ago

Cool, looks good. I just see warnings for empty wikis now. Thank you!