wiki repositories don't refresh because they're not part of the API
See original GitHub issueDescription
While we can now clone wiki repositories in Desktop, there are some other corner cases (and console errors) that light up as a result of this.
Version
GitHub Desktop version: master
- e.g. 77c2146e4094ed50904ecb0c378f245a000e6686
OS version: macOS Sierra 10.12.5
Steps to Reproduce
- Launch the app
- Add an existing GitHub wiki repository to the app via drag and drop
- Confirm it appears as a GitHub repository
- Peep the dev console, see the errors for all the nonexistent endpoints:
- fetching issues
- fetching mentionable users
- fetching repository details
- fetching the refresh interval from
/repos/{owner}/{name}.wiki/git
This is using https://github.com/aspnet/Home/wiki
Expected behaviour: avoid fetching these endpoints for known cases Actual behaviour: lots of errors
Reproduces how often: I only tested this a couple of times, but I’m pretty sure it’s 100%
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Wiki pages in subdirectories fail to render - Issues - GitLab
Have a project wiki, with pages under subdirectories. ... Debian 9 instance, but not on the Debian 11 instance which is due to...
Read more >GitHub wiki managed by the main repository - Stack Overflow
Ideally, I'd like the wiki to be contained in a subfolder (e.g. /wiki) of the project. Then when I'm making changes to the...
Read more >Activity: Manage content in a GitHub wiki | Documenting APIs
Now verify that your changes took effect. Browse to your GitHub wiki repository, refresh the page, and look to see the changes.
Read more >Publish Git repo to wiki - Azure DevOps - Microsoft Learn
Create a new Git repo, and then return and refresh this page. If you've already provisioned a team project wiki, select Publish code...
Read more >SVN/Git/Hg repository? on Project:Support desk - MediaWiki
Is it possible to export MediaWiki history into Subversion (Git, Hg, whatever) so ... (it may be one of possible usages), not the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Related to this change, #4092 reports that wiki repositories are categorized as “Other”
Yeah, that’s a good shout. I knew this was a problem but didn’t document it.