GitHub wiki repos not detected correctly, asks user to publish again
See original GitHub issueDescription
After clone a wiki repository and close GithubDesktop can no longer identify the origin.
Version
GitHub Desktop version: 1.0.12 and 1.0.13
git rev-parse HEAD
: 372c2548553eac84ceef398fa0326c5815c919cc
OS version: Microsoft Windows [version 6.3.9600]
Steps to Reproduce
- Clone a wiki repository
- Close and reopen GithubDesktop
- Edit any file
- Commit
- Click in “Push origin”
Expected behavior: push to origin
Actual behavior: after close and reopen settings are losing, but after click in “push to origin” is failed and is showed this window:
Reproduces how often: Whenever the GithubDesktop is closed.
Logs
2018-01-22T02:23:25.457Z - info: [ui] [AppStore] loading 15 repositories from store
2018-01-22T02:23:25.509Z - info: [ui] [AppStore] found account: brcontainer (Guilherme Nascimento)
2018-01-22T02:23:29.801Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.434s)
2018-01-22T02:23:29.851Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 4.319s)
2018-01-22T02:23:29.851Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 4.325s)
2018-01-22T02:23:30.975Z - info: [ui] launching: 1.0.12 (Windows 6.3.9600)
2018-01-22T02:23:36.013Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 5.319s)
2018-01-22T02:23:46.656Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.006s)
2018-01-22T02:29:46.275Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.870s)
2018-01-22T02:31:55.916Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:35:28.062Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:35:28.065Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
2018-01-22T02:41:10.556Z - info: [main] Received possible protocol arguments: 4
2018-01-22T02:41:10.561Z - info: [main] Processing protocol url
2018-01-22T02:41:24.390Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:41:24.392Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/inphinit/inphinit.wiki.git - brcontainer (has token)
2018-01-22T02:41:28.905Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/inphinit/inphinit.wiki.git C:\Users\Latitude E6410\Documents\GitHub\inphinit.wiki (took 4.355s)
2018-01-22T02:41:28.952Z - info: [ui] [AppStore] adding repository at C:\Users\Latitude E6410\Documents\GitHub\inphinit.wiki to store
2018-01-22T02:41:29.637Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:41:30.064Z - info: [ui] Executing isUsingLFS: git lfs track (took 1.036s)
2018-01-22T02:41:30.998Z - warn: [ui] Unable to fetch issues for inphinit/inphinit.wiki
Error: Cannot get issues for a repository that hasn't been inserted into the database!
at Object.n [as fatalError] (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\external "path":1:1)
at t.IssuesStore.getLatestUpdatedAt (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\app\src\lib\stores\issues-store.ts:29:24)
at t.IssuesStore.fetchIssues (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\app\src\lib\stores\issues-store.ts:66:5)
at oe._updateIssues (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\app\src\lib\stores\app-store.ts:830:6)
at oe._selectRepository (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\app\src\lib\stores\app-store.ts:799:5)
at t.Dispatcher.selectRepository (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\app\src\lib\dispatcher\dispatcher.ts:167:4)
at appStore._completeOpenInDesktop (C:\Users\Latitude E6410\AppData\Local\GitHubDesktop\app-1.0.12\webpack:\app\src\lib\dispatcher\dispatcher.ts:390:13)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:109:7)
2018-01-22T02:41:31.389Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:42:13.909Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
2018-01-22T02:42:17.395Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 3.459s)
2018-01-22T02:42:24.142Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:42:27.256Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:42:27.256Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
2018-01-22T02:42:28.791Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:42:28.791Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
2018-01-22T02:42:29.326Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:42:29.327Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
2018-01-22T02:42:29.827Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:42:29.827Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
2018-01-22T02:50:16.035Z - info: [ui] [AppStore] loading 15 repositories from store
2018-01-22T02:50:16.040Z - info: [ui] [AppStore] found account: brcontainer (Guilherme Nascimento)
2018-01-22T02:50:16.873Z - info: [ui] launching: 1.0.12 (Windows 6.3.9600)
2018-01-22T02:50:17.609Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:58:33.848Z - warn: [ui] fetchRepository: 'inphinit/inphinit.wiki' returned a 404
2018-01-22T02:58:33.852Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: inphinit.wiki - brcontainer (has token)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:14
- Comments:46 (3 by maintainers)
Top Results From Across the Web
GitHub - Wikipedia
GitHub, Inc is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git...
Read more >Publish Git repo to wiki - Azure DevOps - Microsoft Learn
Maintain Markdown files in a Git code repository and publish them to your team project wiki in Azure DevOps.
Read more >Import your project from GitHub to GitLab - GitLab Docs
Git repository data. Branch protection rules. Introduced in GitLab 15.4. Issues. Pull requests. Wiki pages. Milestones. Labels. Release note ...
Read more >Git Workflow | Atlassian Git Tutorial
A Git workflow is a recipe or recommendation for how to use Git to ... feature after John has successfully published his changes...
Read more >Automatically update GitHub wiki based on repository ...
I am not sure where to ask this question so I came to the trusted ... I've also tried to use a GitHub...
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
sad that this has been in backlog for 4 years
same issue here - don’t want to move to another application etc… any hope this will be fixed?