Giter Site home page Giter Site logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
I like the idea and I think it would be a great feature to add.

Gitinspector already has the -x/--exclude flag for excluding files that match a 
certain string/name (it can be specified multiple times). How about expanding 
that so one could do something like this:

gitinspector.py -x="author:John Smith" -x "author:Robert Brown"

This way; -x could also be expanded in the future to include other types of 
exclusion patterns.

However, implementing it that way does bring up a conundrum; What happens with 
very big repositories that have many (for example 100) authors? Specifying it 
some ~100 times isn't my idea of a good time. Maybe it's time for a 
-i/--include flag also?  My thinking is that -i/-x could be specified multiple 
times in different variations to create different matching rules.

In that case it would be a matter of doing something like this:

gitinspector.py -x "author:*" -i "author:James Johnsson" -i "author:Michael 
Davids"

The idea is that the above would exclude all authors but include "James 
Johnsson" and "Michael Davids" in the statistics.

Maybe -x "author:*" should be the default behaviour if the first pattern 
matching rule is a -i "author:...", otherwise nothing would happen.

Tell me what you think and if you have any better ideas.

/Adam Waldenberg

Original comment by [email protected] on 20 Jun 2013 at 1:22

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
In any case, I will look into this eventually. However, I will put it on hold 
until some time after the 0.3.0 release.

/Adam Waldenberg

Original comment by [email protected] on 30 Jun 2013 at 4:43

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024

Original comment by [email protected] on 30 Jun 2013 at 6:44

  • Added labels: Milestone-Release0.4.0

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024

Original comment by [email protected] on 20 Jul 2013 at 8:31

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024

Original comment by [email protected] on 29 Jul 2013 at 10:46

  • Changed state: Started

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
This issue was closed by revision 1edae66fee4f.

Original comment by [email protected] on 30 Jul 2013 at 4:34

  • Changed state: Fixed

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Done. Please repport any problems you may encounter. For documentation on how 
to use this; see the revision referenced above

/Adam Waldenberg

Original comment by [email protected] on 30 Jul 2013 at 4:38

from gitinspector.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024

Original comment by [email protected] on 13 Jan 2014 at 11:00

  • Added labels: Milestone-Release0.3.2
  • Removed labels: Milestone-Release0.4.0

from gitinspector.

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.