We just upgraded to Stash 3.0.4. We have a repository that contains ~45000 files and it would be very nice to compare its branches. However, the diff shows the above message and only shows the first 1000 files. Which config parameter do I need to set to increase this limit?
I tried page.max.changes=50000, but this does not seem to be the right one.
(I know this can increase the RAM usage, the server should be able to handle it.)
I found a document describing this behavior and presenting a resolution to it: https://confluence.atlassian.com/display/STASHKB/Pull+request+is+too+large+to+render
It contains an additional step to be done for Stash 1.3.0 or older. Please check if this is your case and if this document is helpful.
I am going to try soon.
Side note: this is a bug that should be fixed. I should never need to modify .js files because they are overwritten every time Stash is updated. (The config parameter should work by itself and the .js file should use the value from here instead of redefining it.)
There's nothing you can do locally (except modify the js file). I would raise a bug - although it make take a few releases to trickle through to the public.
EDIT: Actually looking at it further I think you can blame me - the value is not being passed from (the correct) global setting 'page.max.changes' to the compare-diff.js JS file (which I wrote). I'll try to ping someone on the Stash team - it's a trivial fix.
Sadly (for us), Charles doesn't work on Stash anymore. He's just such a good engineer and a great guy that he's still taking ownership of his features. :)
I've created https://jira.atlassian.com/browse/STASH-5079for us to look at it. It should indeed be a trivial fix.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot