Giter Club home page Giter Club logo

git-summary's People

Contributors

gaige avatar khumba avatar lordadamson avatar mirkoledda avatar petrisch avatar pigsflew avatar pontuspih avatar renozao avatar romainreignier avatar ruricolist avatar schnoop avatar sllau avatar stdedos avatar timendum 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

git-summary's Issues

Does NOT report all the repos in the current directory

I have a directory with 154 repos in it.
git-summery only outputs around 55 of those repos (random set)
This is without arguments.
With arguments (like -q) it is hit or miss if it actually finds the repos that have differences.

Here for example I did two runs immediately after each other.
one run it finds the two repos that are out of sync, and in another it does not find them.

> git-summary -q

Repository                              Branch  State
======================================  ======  =====
Checked 154 repositories.
>

> git-summary -q

Repository                              Branch  State
======================================  ======  =====
./fsyslog                               master     v 
./vault                                 master     v 
Checked 154 repositories.
>

With -s (sort) all the repos does seem to be found successfully.
So it is likely something to do with the race condition you mentioned as part of this option.

Relative paths and the 'python' executable

Hey,

Debian no longer provides an executable named python by default[1][2], so relative repo paths don't work out of the box. Is this something you'd want to handle? Some options could be:

  • If you want to keep the code as is, then Debian users can install the python-is-python3 package to create the python -> python3 symlink, but this is a manual step that they have to know about.
  • The code could check for the existence of either python3 or python2 executables (...or just python3 if py2 compatibility isn't a concern).
  • I see there is a realpath --relative-to= option, I'm not sure if it this is equivalent to Python's os.path.relpath() but maybe the dependency on Python isn't needed.

[1] https://wiki.debian.org/Python
[2] https://www.debian.org/doc/packaging-manuals/python-policy/#unversioned-python-commands

Relative Paths, and directory argument

It would be a lot better if the git-summery did NOT list the full path to the repository, but one relative to the current directory, or the directory given as an argument
Much like 'ls' and 'find' would.

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.