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

[Feature request] Allow configuration of bot limitPatches #27

Open
sebastien-hertz opened this issue Jan 24, 2018 · 1 comment
Open

Comments

@sebastien-hertz
Copy link

In dana-bot/src/bot.js, the globalBot.limitPatches is the maximum number of CLs to put in the queue when browsing the git log from ToT (HEAD) to the task's base. It is set to 10.

It means that if there are 100 commits between the ToT and the task's base, only the 10 most recent commits will be pushed into the queue (ToT->ToT~9). The 90 other commits (starting from the base) won't be executed.

It would be better to configure this value in dana-bot/configs/bot.js. This way, each bot can set it limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@sebastien-hertz and others