sclorg / rpm-list-builder

RPM List Builder helps you to build a list of defined RPM packages including Software Collection from the recipe file
GNU General Public License v2.0
4 stars 8 forks source link

Add CLI option to select number of retries #15

Closed khardix closed 7 years ago

khardix commented 7 years ago

Right now, the number of retries for failed build is hard-coded to 3. During the debugging of a recipe, disabling the retrying would be beneficial.

I would like to have the option to set the number of retries from the command line.

junaruga commented 7 years ago

I like it too.

ncoghlan commented 7 years ago

For sclo-python, I'd definitely like the ability to disable this behaviour - I'd prefer for an unreliable build to just fail outright, rather than for it to give the appearance of working even though some package builds aren't working first time every time.

junaruga commented 7 years ago

The option: default: 0 (disable retry) may be good, considering your opinion.