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

activity limited by number of commits #469

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

activity limited by number of commits #469

gitblit opened this issue Aug 12, 2015 · 4 comments

Comments

@gitblit
Copy link
Owner

gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 173

Activity can be filtered only by the number of days, having two consequences:
- it can lead to huge memory consumption for high traffic repos (tried with the linux
kernel one)
- it can show nothing for abandoned repos unless you select a wide filter (say 180
days), leading to the first problem

Two alternative proposal:

== Filters by number of commits
It would be nice to have a view of the activity filtered by a maximum number of commits,
regardless of when they've occurred.
That will contain the first problem and solve the second

If you think the LOG view can be an answer, mind that log view is not cross repo.

== Limit the number of commits and add a "next page" link
Alternatively, limit the number of entries displayed in the activity view by a fixed
number, regardless of the selected time interval, and add a "next page" link to the
bottom of the page.

Reported by federico.fissore on 2012-11-28 14:14:49

@gitblit
Copy link
Owner Author

gitblit commented Aug 12, 2015

I can see that a commit limit on an extremely active repo would be useful for throttling
the Activity page.  I'll probably add a setting for that - either global or per-repo,
not sure yet - for the upcoming release.

The Activity page was not meant to be a replacement for the Log pages and as such I
am not particularly interested in displaying repos that are not active by requiring
a minimum commit count.  The Activity page was written for displaying "recent activity",
something like Trac's Timeline.

Revising the filtering is not something I intend to address for the next release, but
I wanted to give you some feedback so you didn't think your request fell on deaf ears.

Reported by James.Moger on 2012-12-04 14:24:26

@gitblit
Copy link
Owner Author

gitblit commented Aug 12, 2015

Commit throttling is implemented on master.

Reported by James.Moger on 2012-12-06 00:40:41

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

@gitblit
Copy link
Owner Author

gitblit commented Aug 12, 2015

v1.2.0 has been deployed.

Reported by James.Moger on 2013-01-01 01:06:26

  • Status changed: Fixed

@gitblit
Copy link
Owner Author

gitblit commented Aug 12, 2015

thank you very much :)

Reported by federico.fissore on 2013-01-01 12:18:54

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix modified the milestone: 1.2.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