topaxi/pipeline.nvim

Can you add support for Windows?

Closed this issue · 3 comments

Error executing luv callback:
...a/Local/nvim-data/lazy/plenary.nvim/lua/plenary/curl.lua:274: get https://api.github.com/repos/AdeptMind/dlp-ml-pipeline/actions/workflows - curl error exit_code=2 stderr={ "curl: option --compressed: the installed libcurl version doesn't support this", "curl: try 'curl --help' for more information" }
stack traceback:
        [C]: in function 'error'
        ...a/Local/nvim-data/lazy/plenary.nvim/lua/plenary/curl.lua:274: in function '_user_on_exit'
        ...ta/Local/nvim-data/lazy/plenary.nvim/lua/plenary/job.lua:240: in function '_shutdown'
        ...ta/Local/nvim-data/lazy/plenary.nvim/lua/plenary/job.lua:47: in function <...ta/Local/nvim-data/lazy/plenary.nvim/lua/plenary/job.lua:38>
        [C]: in function 'system'
        ...nvim-data/lazy/gh-actions.nvim/lua/gh-actions/github.lua:46: in function 'get_token_from_gh_cli'
        ...nvim-data/lazy/gh-actions.nvim/lua/gh-actions/github.lua:62: in function 'get_github_token'
        ...nvim-data/lazy/gh-actions.nvim/lua/gh-actions/github.lua:77: in function 'get_repository_workflow_runs'
        ...l/nvim-data/lazy/gh-actions.nvim/lua/gh-actions/init.lua:53: in function 'cb'
        vim/_editor.lua:263: in function <vim/_editor.lua:262>
topaxi commented

Hi there, thanks for reporting this, I don't have a windows system at hand, from the error message this seems to be related to how plenary calls curl. This might not be an issue here but how plenary calls curl 🤔

Alternatively you could check whether you can install a newer/different version of curl.

topaxi commented

Thanks again for your report, without any more information on the issue, I'll not be able to fix this.

Please provide the used/installed versions of windows, curl and plenary.nvim and I'll take a look.

Best case, I'd be very happy to accept PRs 😉

topaxi commented

Hey there :)

The issue got fixed in plenary: nvim-lua/plenary.nvim#527

Once you update, hopefully everything should work :)