Currently I have more than 20 repositories in one of the Stash's projects. When the page loads initially in the project, only 10 repositories are shown and only when the user scrolls down to the bottom of the page, he can see the remaining 10 ten repositories.
How can I configure stash to load all repositories in a Stash project when the page loads initially?
I don't think this is a configuration option (I don't see anything like that in https://confluence.atlassian.com/display/STASH/Stash+config+properties#Stashconfigproperties-Paging besides the max per page overall).
Looking at the release notes for the developer API, this stands out: https://developer.atlassian.com/stash/docs/latest/reference/api-changelog.html#Page_limit
I think they do it for performance reasons, to avoid putting undue strain on the server.
Thank you Larry for your response. I updated the stash-config.properties file with page.max.repositories=1000 and restarted stash. But the page still loads just first 10 repositories initially. Am I missing something here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is all that will show up on one page before you have to actually navigate to another page. It does not handle the inpage ajax calls to populate up to that 1000. Like I said, I don't think it is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
Thanks Larry. In Stash we try to have limits on everything. The max limit is how many you are allowed to ask for in a single request, which is mainly required for the REST endpoints which people use for various reasons. We wouldn't want to allow REST clients to be able to cause Stash performance problems if they started asking for thousands of entities.
The actual defaults for the project listing are hard-coded in both the Java (for the first 25 projects) and JS (for everything loaded when scrolling after that), and they aren't (currently) configurable.
Cheers,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Larry. I will arrange the repos in different projects then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.