Edgewall Software
Modify

Opened 19 years ago

Last modified 15 years ago

#60 new enhancement

Mass invalidate UI

Reported by: Chandler Carruth <chandlerc@…> Owned by: cmlenz
Priority: minor Milestone:
Component: Trac plugin Version: dev
Keywords: Cc:
Operating System:

Description

Could the page for a particular build configuration include check boxes for each individual build, and a button at the bottom to invalidate checked builds? Perhaps also, something to select all builds? Would be useful when you update your recipe to include unit-test collection, or SLOC, and want to re-do older builds with the new configuration.

Attachments (0)

Change History (4)

comment:1 Changed 19 years ago by cmlenz

  • Milestone set to 0.6

comment:2 Changed 17 years ago by olle.jonsson@…

(Small-time hints, to help anyone who wants to fix this.) I found that:

In templates/bitten_build.cs, under view_inprogress, there is a TD element that could have the new button. It is the TD with "View build results" in it.

To create the new button's logic, see templates/bitten_config.cs. This piece of code takes care of the "Invalidate build" button:

<?cs 
  if:build.can_delete ?>
   <div class="buttons">
    <form method="post" action=""><div>
     <input type="hidden" name="action" value="invalidate" />
     <input type="submit" value="Invalidate build" />
    </div></form>
   </div><?cs
  /if ?>

The can_build attribute is needed, to avoid showing it to those without permissions.

comment:3 Changed 15 years ago by osimons

#224 closed as duplicate.

comment:4 Changed 15 years ago by osimons

  • Milestone 0.6 deleted

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain cmlenz.
Author


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

 
Note: See TracTickets for help on using tickets.