google / gitiles

A simple browser for Git repositories.
https://gerrit.googlesource.com/gitiles/
Other
582 stars 174 forks source link

Feature request: Paginate the list of repositories #78

Open spearce opened 7 years ago

spearce commented 7 years ago

Originally reported on Google Code with ID 84

What steps will reproduce the problem?
1. Run gitiles on a server that has 6000+ gits
2. Open the repository list
3.

What is the expected output? What do you see instead?

It lists all the repositories on a single page. On a server that has so many repos,
this causes quite long load time.

It would be nice if the index page could be paginated.  Looking at the implementation
though, it looks like it scans the whole list of repos for each request.  Would it
be possible to cache the list?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Reported by None on 2015-08-25 20:24:28

spearce commented 7 years ago
What steps will reproduce the problem?
1. Run gitiles on a server that has 6000+ gits
2. Open the repository list
3.

What is the expected output? What do you see instead?

It lists all the repositories on a single page. On a server that has so many repos,
this causes quite long load time.

It would be nice if the index page could be paginated.  Looking at the implementation
though, it looks like it scans the whole list of repos for each request.  Would it
be possible to cache the list?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Reported by None on 2015-08-25 20:24:28