Git Product home page Git Product logo

git-stalk-cli's Introduction

git-stalk-cli


A command line interface for checking your/peer's activity today.

Installation

 pip install git-stalk

Demo

Demo Gif

Limitations

Stalking too much might lead to "API Rate Limit Exceeded for your IP".

Releasing new version

 git checkout master
 git fetch
 git merge
 tox
 bumpversion minor --tag --commit
 git push origin master --tags

Author

Aashutosh Rathi

Made from scratch by Aashutosh Rathi

git-stalk-cli's People

Contributors

aashutoshrathi avatar ammarmallik avatar anarute avatar bossbossk20 avatar danhenriquesc avatar dependabot-preview[bot] avatar fossabot avatar gpetrousov avatar grokzen avatar hyunchel avatar jeffreyrack avatar kgalikgh avatar khukhunashvili avatar maximilia avatar merty avatar nefixestrada avatar nityanandagohain avatar noypearl avatar rods-honorio avatar sayanmondal2098 avatar stegschreck avatar vankineenitawrun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-stalk-cli's Issues

Fix linting for python2.7

Currently the linting tests complain about the usage of the 'print' statement as a function.

The command "pytest --mccabe -m mccabe" exited with 1. ... =================================== FAILURES =================================== _________________________ [pylint] git_stalk/stalk.py __________________________ C: 87, 0: Unnecessary parens after 'print' keyword (superfluous-parens) C: 88, 0: Unnecessary parens after 'print' keyword (superfluous-parens) C: 89, 0: Unnecessary parens after 'print' keyword (superfluous-parens) C: 90, 0: Unnecessary parens after 'print' keyword (superfluous-parens) ...

Suggestion(s):

Running without any arguments should show help

When i run the following

(git-stalk) ➜  git-stalk git:(master) ✗ stalk
User with username None does not exists, please check and try again

I would expect a help message same as running stalk --help and not that it would default to trying to query the None user as that user would never exist or make sense to query the server for.

Arguments to screen date ranges

Add two command line arguments:

--since MM-DD-YYYY and --until MM-DD-YYYY, and allow them to be used in conjunction or separately to screen for certain date ranges

Handle error

star_table.add_row([starred_repo.name, starred_repo.language, starred_repo.time])
AttributeError: 'dict' object has no attribute 'name'

Fix function too complex

Functions have too much complexity, they are needed to be resolved.
Refrences: https://lintlyci.github.io/Flake8Rules/rules/C901.html

Log:

/home/travis/build/aashutoshrathi/git-stalk-cli/git_stalk/stalk.py:34: C901 'get_details' is too complex (10)
/home/travis/build/aashutoshrathi/git-stalk-cli/git_stalk/stalk.py:232: C901 'filter_since_until_dates' is too complex (10)
/home/travis/build/aashutoshrathi/git-stalk-cli/git_stalk/stalk.py:259: C901 'show_contri' is too complex (11)

Fix Timezone

GitHub API uses UTC, switch to local or UTC+5:30

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.