Comments (6)
Think #63 closes this issue.
It only logs cli interactions, but I think this is where 99.99% of the issues with gh.nvim creep up. Closing for now.
from gh.nvim.
@bradsherman failing to fetch remote branch has typically been:
- the wrong git protocol (sshs vs https) is being used. The latest commit by @dlvhdr should help fix this.
- if youre using SSH keys, make sure ssh-agent is running and the keys are properly added to the agent.
Lmk if either of these two help.
from gh.nvim.
Ah, I assumed my gh config
was correctly set to ssh. Setting that value correctly fixes the issues. Is there somewhere I can inspect the output of the commands? That would be helpful for debugging issues like this
from gh.nvim.
@bradsherman completely agree, debugging needs an overhaul. I'm working on other larger features at the moment.
I think most of the clues would come from dumping the command arguments and the outputs of the commands from
gh.nvim/lua/litee/gh/ghcli/init.lua
Line 1 in 7ce678b
Sound like something you're willing to take on? In theory, we could add a "debug" flag, which dumps every gh
and git
cli command that's ran and its output into a text file somewhere? What ya think?
from gh.nvim.
yeah I think I could look into that. My first thought is to doing something like what null-ls does https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/logger.lua. I've flipped the debug
flag on to diagnose issues with null-ls in the past
from gh.nvim.
Looks cool. Im down for whatever. My only request is try to build something into litee.nvim or gh.nvim directly.
I have no problems with planetary, but we already require litee.nvim, and i dont want the depedencies to grow even further.
from gh.nvim.
Related Issues (20)
- Failed to determine if remote branch exists - auth problem
- When toggling a thread the diff view lost colors
- Original side of diff is empty HOT 1
- Hostname is not respected in all calls.
- Failed if determine if remote branch exists HOT 1
- Comments appear on the wrong lines HOT 1
- not defaulting to telescope with lazy.nvim HOT 3
- UI/Rendering Questions HOT 1
- left side of diff always blank HOT 1
- Is this unavailable with vimScript and plug-vim? HOT 1
- [+] icon of column sign is not showing, randomly.
- [Question] what is the 'select' option for?
- Failed to list PRs HOT 1
- Pull requests with force pushes can't be opened
- windows support
- when submitting a review (comment/request changes) comment can only be one line HOT 1
- Have the ability to start a thread on the file not just the lines HOT 3
- Close all tmp buffers when closing prs HOT 1
- Error when opening a PR HOT 2
- Manage file viewed state in PR HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gh.nvim.