Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-builds-dev] Ken's suggestions as well as questions about Mylyn Builds Connector

Hi all,

Sorry that I have to start asking questions already...

I've been reading source code of Mylyn Builds and Hudson Connector,
so I kind of have some idea about what should I be doing.  However,
I think I am still stuck because I have to figure out how to handle
the difference between Hudson and Koji.

First of all, I noticed that there is a getter/setter pair method for
culprit in the IBuild interface and I am not sure what that is.  My first
guess is, its a blame list to store the users who caused a build/test fail?

I also found that there is a list of status code defined in the Mylyn Builds core
Eclipse project.  I believe I will have some problem translating them to Koji
because some of them are not applicable to Koji and at the same time, Koji has a 
few status codes that are not defined in Mylyn Builds.  My suggestion to this situation
is, it might be better if we can move the responsibility of providing status code
as class constants (instead of enum), as well as the corresponding icon for each of 
the status codes to the connector project (instead of embedding the status codes into the 
core of Mylyn Builds).  This way, I think developers should feel much comfortable.

Also, I think the way Koji handles its tasks is very different than Hudson.  In Koji,
there is no build numbers because all builds and their subsequent builds will be treated
as unrelated tasks.  This will translate into a situation where Mylyn Builds expects certain
data (like IArtifact, build number, culprit, etc.) that the developer is fill in to provide because his/her
target build system web service is unable to provide.  So I wonder if there is anyway we can detect
the existence of the data defined by Mylyn Builds?  If the data is not available, certain type of
exception (maybe FeatureUnsupportedException?) will be thrown so Mylyn Builds can ignore those fields?

Finally, I just want to say thank you very much in advance for the help and sorry for throw such a long email 
on the first day I start using the mailing list.

Ken Leung

  


Back to the top