Comments (8)
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.
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.
Original comment by [email protected]
on 30 Jun 2013 at 6:44
- Added labels: Milestone-Release0.4.0
from gitinspector.
Original comment by [email protected]
on 20 Jul 2013 at 8:31
- Added labels: Priority-Low
- Removed labels: Priority-Medium
from gitinspector.
Original comment by [email protected]
on 29 Jul 2013 at 10:46
- Changed state: Started
from gitinspector.
This issue was closed by revision 1edae66fee4f.
Original comment by [email protected]
on 30 Jul 2013 at 4:34
- Changed state: Fixed
from gitinspector.
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.
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)
- Stability, Age, % in comments HOT 1
- AttributeError: 'Commit' object has no attribute 'timestamp' HOT 1
- Add Support for Dart HOT 3
- Ability to combine different names of the same author under the same person stats HOT 2
- Expand "Show" sections by default. HOT 1
- TypeError: 'bool' object is not iterable HOT 14
- AttributeError: 'NoneType' object has no attribute 'add_filediff' HOT 1
- Dockerfile and Dockerhub deployment for easy Windows execution HOT 2
- Authorless commits crash tool HOT 5
- Translation
- ModuleNotFoundError: No module named 'localization' (python 3.9) HOT 3
- AttributeError: 'Commit' object has no attribute 'sha' HOT 1
- Cannot use `gitinspector --help` outside of a repository HOT 1
- Specify which Python/gettext versions are currently supported
- Uncaught exception on unexisting folder
- Any interest for a gitinspector GUI with stand-alone Windows and Mac apps? HOT 2
- Gitinspector does not look at the css, fxml and csv files in the resource folder HOT 1
- How to use it on Win? HOT 1
- Add support for reStructuredText and Markdown
- gitinspector is not executing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitinspector.