Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Order of scm update! and has_changes?

#2

We have encountered a problem that cerberus does not know that the build gets fixed even if it does get fixed.

This is due to the fact that cerberus performs an scm update and then checks the status resulting from the update. The correct way to do it would be to check if there are modifications, and if there are, then perform the update.

Attached is a patch that fixes this issue regarding svn.

I don't have any experience on the other scm implementations so I don't know how to check for modifications without doing the update on those systems.

Reported by Niklas Koponen · February 26th, 2009 @ 04:58 AM

State: invalid
Milestone: none
Assigned to: Craig Craig

Activity

  1. Craig
    Craig
    • Assigned user set to Craig
    • State changed from new to accepted

    March 10th, 2009 @ 04:38 PM

  2. Craig
    Craig

    I guess I'm not following exactly what is happening that is wrong?

    Cerberus would have run the test suite and entered a failing state and marked that currently checked out revision as failing.

    The next time Cerberus runs, it see's that it is in a failed state and does the scm update to pull in any new changes if they have been committed. If there are new changed that were pulled down from the scm update, then the test suite is run again and checked for pass fail.

    What issues exactly where you seeing by running the scm update where it originally was? I'm not understanding how you were getting into a use-case where Cerberus didn't recognize the codebase had been fixed?

    March 10th, 2009 @ 04:46 PM

  3. Craig
    Craig
    • State changed from accepted to invalid

    March 11th, 2009 @ 09:20 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.