Edgewall Software
Modify

Opened 19 years ago

Last modified 17 years ago

#110 new enhancement

More criteria needed for when to run recipies (such as check in user)

Reported by: matt.c.hughes@… Owned by: cmlenz
Priority: minor Milestone:
Component: Build master Version: dev
Keywords: Cc:
Operating System:

Description

We have a script which runs nightly to increment the version number of our software. That change is committed by a user which generally doesn't commit any other changes. It would be nice to be able to check who committed a change and run a build recipie only for that user. In this case, we'd like to run unittests which take a long time to run.

Attachments (2)

username-rev.patch (20.4 KB) - added by matt.hughes@… 19 years ago.
author-criteria.patch (16.0 KB) - added by matt.hughes@… 19 years ago.
Adds author criteria to build configurations

Download all attachments as: .zip

Change History (4)

comment:1 Changed 19 years ago by matt.c.hughes@…

The attached patch adds a username file to the buildconfig database. The queue checks this username, if it is not empty, against the changeset author and only allows the build if they matches.

This patch also adds an error if the user specifies a minimum revision number that is greater than the max revision number. The revision numbers are converted to ints in the database, so that it is possible to delete pending builds using SQL when the revision range changes.

Unittests are included.

Changed 19 years ago by matt.hughes@…

comment:2 Changed 19 years ago by matt.hughes@…

The above patch doesn't seem to work on windows; it throws an error while upgrading the database. I'm going to seperate the username and revision number stuff into seperate patches and add a field that allows one to exclude checkins by username.

The revision number part of the patch will be seperate and may address #104.

Changed 19 years ago by matt.hughes@…

Adds author criteria to build configurations

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.