Giter Site home page Giter Site logo

Comments (4)

savq avatar savq commented on July 17, 2024

Paq clones packages via HTTPS (instead of SSH or some other protocol) , since you don't really need write permissions. Still, if you haven't set up git to cache your credentials, it'll complain when you try to clone a repo from github.

See Why is Git always asking for my password? and Caching your GitHub credentials in Git

Also see #4

from paq-nvim.

karbica avatar karbica commented on July 17, 2024

That all makes sense. But that's not what this issue is addressing.

This issue is about the buffer getting mutated where the cursor is when a non existent package is attempted to be installed. On line 28 you can see the text about the username. Why is it writing text to my buffer? It should have asked as that a prompt in the command line.

from paq-nvim.

savq avatar savq commented on July 17, 2024

I haven't been able to reproduce the buffer changing. Paq doesn't write to buffers, it always write to stdin.

Paq does assume git processes won't wait for user input, that's what credentials must be set before using it. And if that condition is met, it'll just write paq [n/n] failed to install foo.

from paq-nvim.

DFreds avatar DFreds commented on July 17, 2024

I was also able to reproduce this. In a buffer, I did a PaqInstall and accidentally had 'nvim-lua/plenary'; instead of 'nvim-lua/plenary.nvim';. Wherever my cursor was in the buffer, it put in Username for https://github.com': text and locked up the instance of neovim. Not a huge deal.... but I could see it tripping up people if they make any minor mistakes on the plugins.

from paq-nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.