Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude user(s) from statistics #547

Closed
gitblit opened this issue Aug 12, 2015 · 5 comments
Closed

Exclude user(s) from statistics #547

gitblit opened this issue Aug 12, 2015 · 5 comments

Comments

@gitblit
Copy link
Collaborator

gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 251

Right now, we've got some automated commit bots that end up polluting our statistics.
It'd be nice if there was a way to exclude user(s) from being included in like the
percentage breakdown by authors.

Reported by chorohoe@wikimedia.org on 2013-06-05 21:14:47

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

We can do something about that.  A global setting and a repo setting, I think.

I see the temptation of building from master was too great for you.  :)  It's not quite
finished, but let me know if you run into any regressions.

BTW, you have Gitblit's git servlet enabled but you are not specifying access restrictions
- in Gitblit.  Are you controlling that with Groovy push hooks?

At a quick glance,  it looks like I can rewind any repo I choose as anonymous by pushing
to your Gitblit.  Perhaps you should set git.enableGitServlet = false and let Gerrit
do all the work or you could set git.defaultAccessRestriction = PUSH, and any repo
that is using the current default access restriction (NONE) _should_ automatically
use PUSH instead.  I haven't tested that combination with the new URL panel.  I'll
do that today.

Reported by James.Moger on 2013-06-07 13:12:37

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Things seem mostly fine with 1.3.0-SNAPSHOT. I'll file separate bugs if I hit anything.

I basically want gitblit to act as a dumb repo viewer. Everything should be viewable
(and preferably fetchable) via
anonymous access, and no write actions should happen ever.

Reported by innocentkiller on 2013-06-08 01:20:56

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Looks like git. defaultAccessRestriction = PUSH seems to work. Looks good in the UI
and prevents pushing.

Reported by chorohoe@wikimedia.org on 2013-06-08 01:26:43

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Reported by James.Moger on 2013-06-12 19:06:50

  • Status changed: Queued
  • Labels added: Milestone-1.3.0

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Fix or enhancement released in v1.3.0

Reported by James.Moger on 2013-07-14 16:52:58

  • Status changed: Fixed

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix modified the milestone: 1.3.0 Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants