Git Product home page Git Product logo

Comments (5)

russellbanks avatar russellbanks commented on May 24, 2024

Thanks for spotting! Komac gets the token asynchronously in the background (the main amount of time is taken by checking if it's still valid) and if there isn't one, it will prompt for it as soon as it can. This was a recent change and I hadn't considered the use of komac token on first-run so I will push a commit to change this :)

from komac.

vedantmgoyal9 avatar vedantmgoyal9 commented on May 24, 2024

It is still not fixed.

image

from komac.

russellbanks avatar russellbanks commented on May 24, 2024

Sorry, I hadn't tested it if you had a token stored but it wasn't valid. I've made some more changes to it and tested it without a token stored, with a token stored and it's invalid, and with a valid token, and they all work. For komac token, so that there's no hanging or waiting, it will ask the user if they want to change the currently stored token if there is one stored, without checking whether the currently stored one is invalid. It will check if it's valid before it's needed in any of the other commands.

Let me know if you still have the issue.

from komac.

vedantmgoyal9 avatar vedantmgoyal9 commented on May 24, 2024

I haven't stored any token yet, still this prompt. It should directly ask for Enter a GitHub token:.
image

from komac.

russellbanks avatar russellbanks commented on May 24, 2024

Could you check you have a build of the latest commit and that you don't have an entry in Windows Credentials? When I delete Komac's entry in Windows Credentials, I get the prompt Please enter your GitHub personal access token: when using java -jar Komac-0.9.0-all.jar token.

You can access Windows Credentials by searching Credential Manager > Windows Credentials > Look for komac/github-access-token

from komac.

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.