continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marica Tan" <c...@exist.com>
Subject Re: refactoring the SCM
Date Wed, 30 Jul 2008 02:06:30 GMT
Hi All,

I would like to work on the transient state.

Here's what I'm proposing to do:

1. Add two new states: SVN_FAILURE and BAD_POM
   * thought of adding just one state: TRANSIENT_ERROR but it's not
descriptive

2. When an error occur due to svn failure or bad pom configuration then
    a. create a build result and set the state to #1
    b. retain the old state and latestBuildId of the project ( before
building / updating )

3. Add a new status icon for transient errors. ( No idea yet how it will
look like. Any suggestions? )

4. In the ProjectGroupAction#summary class:
    a. check if there is a build result having SVN_FAILURE or BAD_POM state
    b. if exists, put it in the session for 5 mins and delete the build
result from the database.
    c. if not, check if it's still in the session
    d. set project state = build result state
    e. display the state and associated error message


WDYT?

Thanks,
Marica

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message