Giter Site home page Giter Site logo

ghs's Issues

Feature Request: Associate roles with each duration for better context of summary

For the --summary tag, we provide 3 options. The 3rd option is to provide custom durations for which the summary needs to be generated. We can compliment this feature by also taking the roles associated with each duration as input.

This would provide better context to the summary. For eg: it's expected that when you move to a leadership role in engineering, you tend to do more code reviews.

Bug: Unable to update token

Hi, earlier I used the cli to generate the summary. Today I updated my token and tried to refresh/insert the new token but seems like the cli isn't accepting it. As a result the summary isn't generated
backstage_bug

Also is the token stored as a variable ? I don't see any .env file here even to manually update my token ๐Ÿค”

`ghs` not working

Running ghs -u ratika-12 throws:

Error: Query failed with status code: 401
Traceback: 
  File "/Users/ratikaswami/ghs/venv/lib/python3.8/site-packages/ghs/ghs.py", line 293, in main_proxy
    main()
  File "/Users/ratikaswami/ghs/venv/lib/python3.8/site-packages/ghs/ghs.py", line 267, in main
    verify_github_username(args.username)
  File "/Users/ratikaswami/ghs/venv/lib/python3.8/site-packages/ghs/ghs.py", line 33, in verify_github_username
    if fetch_user_id(username) is None:
  File "/Users/ratikaswami/ghs/venv/lib/python3.8/site-packages/ghs/fetchers.py", line 129, in fetch_user_id
    raise Exception(f"Query failed with status code: {request.status_code}")

Documentation error for Windows

The admin,
Your documentation for Windows Users for activating the virtual environment contains an error that doesn't allow the user to run this

Step 3 . Activate the virtual environment

For windows, run .\venv\Scripts\activate // error

It should be source venv/Scripts/activate
for Windows user
Allow me to change it in your documentation so that next time no one faces the issue that I faced today.

There is no options to fill the Required scopes

Hi

ghs -t 


Creating config file
please enter your github pat: [ghp_xxxxxxxxxxxxxxxxxxxx]
Error: The token does not have valid scopes.
 Required scopes: ['read:user', 'repo', 'read:packages'].
 Provided token scopes: ['repo']

I have granted the permission to the repo, however, on the GitHub setting page, there is not an option to make a read, how can I set this?

A suggestion is that, may you delete the judgment of read:* or make this optional

Error: __enter__- Checking if the token is valid

Hey , whenever I try to enter my PAT key I always run into this error , I have ticked all required scopes while generating key
and also added C:\Users\mahim\Appdata\Local\Programs\Python\Python39\lib\site-packages to the PATH
image

Error: Query failed with status code: 401

I'm using this in Ubuntu 20.04
I've installed ghs using pip install ghs command and it's showing this error. I also tried using the source code and still shows the same error.
I used this last month and it worked fine, maybe it's because of the Github Personal Access Token expired or something else. Is there a way to forget the user so it asks for new Access Token (It didn't ask for it this time)

Screenshot from 2022-05-02 20-59-30

`ghs` command not working

Hey, I tried using the command but I always ran into this particular problem everytime I ran ghs any-command

image

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.