Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#353 closed enhancement (duplicate)

[PATCH] Make slave quit if there is no pending build

Reported by: Jarda Grešula Owned by: cmlenz
Priority: major Milestone:
Component: General Version: 0.5.3
Keywords: Cc:
Operating System: BSD

Description

The attached patch allows a slave to quit immediately if there is no pending build.

Usage:
bitten-slave --interval=-1 <other options>

related mailing list topic

Attachments (1)

slave.py.diff (439 bytes) - added by Jarda Grešula 15 years ago.
slave.py patch

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Jarda Grešula

slave.py patch

comment:1 Changed 15 years ago by mgood

Sounds ok, though there are a couple changes I'd like to see:

  • Use an explicit option, e.g. "--no-wait" instead of a "magic" value for --interval
  • If there are multiple URLs provided it should probably still loop through all of them before quitting

comment:2 Changed 15 years ago by anonymous

  • Summary changed from Make slave quit if there is no pending build to [PATCH] Make slave quit if there is no pending build

comment:3 Changed 15 years ago by osimons

  • Milestone 0.6 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

When running bitten-slave --help on latest trunk, I see option:

--no-loop           exit after completing a single check and running the
                        required builds

That seems to be added in [599] as part of #371. As far as I can tell these tickets requests the same feature, so closing this ticket as a duplicate of #371.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.