Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

madappa-sharath
Copy link

Fixes #89

Proposed Changes

Stash compare changes rest api is paginated and only returns first 25 paths changed. In monorepos change set can be over 25 and the pipelines evaluated with partial change set can be inaccurate.

Provide a configuration to set higher page size limit.

Description

Added an environment config to specify page size and pass it onto GetStashFilesChanged if configured

Checklist

  • Read the CONTRIBUTING document.
  • Read the CODE OF CONDUCT document.
  • Add tests to cover changes.
  • Ensure your code follows the code style of this project.
  • Ensure CI and all other PR checks are green OR
    • Code compiles correctly.
    • Created tests which fail without the change (if possible).
    • All new and existing tests passed.
  • Add your changes to Unreleased section of CHANGELOG.
  • Improve and update the README (if necessary).

…size when comparing changes for change set
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Stash users to specify Size parameter of scm.ListOptions, by default only picks up first 25 paths in diff

1 participant