Commit 1e279eae authored by Pierre-Yves Gibello's avatar Pierre-Yves Gibello
Browse files

Fixed test config for seedstack + minor fix in Github handler (can affect...

Fixed test config for seedstack + minor fix in Github handler (can affect slightly active users count)
parent 1613dccc
Pipeline #15396 passed with stages
in 2 minutes and 36 seconds
......@@ -86,6 +86,7 @@ public class GithubHandler extends JsonDataHandler {
]
*/
if(! this.assignee) this.assignee = "assignees".equals(key) || "user".equals(key);
else if("creator".equals(key)) this.assignee = false; // Filter out "milestone" objects whose creators are no assignees
this.lastKey = key;
}
......@@ -137,7 +138,7 @@ public class GithubHandler extends JsonDataHandler {
public double getBugOpenTime() {
return (this.avgOpenTime > 0 ? this.avgOpenTime : -1D);
}
/**
* Retrieves average bug response time
* Response time is number of minutes between bug creation and update
......@@ -146,14 +147,14 @@ public class GithubHandler extends JsonDataHandler {
public double getBugResponseTime() {
return this.avgUpdateTime;
}
/**
* Retrieves bug tracker active users
* Active users are users with bug(s) assigned
* @return list of bug tracker active users
*/
public Set<String> getBugTrackerActiveUsers() {
//for(String assignee : assignees) { System.out.println(assignee); }
//for(String assignee : assignees) { System.out.println(getProject() + " Github: assignee=[" + assignee + "]"); }
return this.assignees;
}
......
......@@ -165,7 +165,7 @@ sat4j.mkt: https://projects.ow2.org/rest/wikis/projects/spaces/sat4j/pages/MKTFo
seedstack.repo: https://github.com/seedstack/seed
seedstack.issues.endpoint: https://api.github.com/repos/seedstack/seed
seedstack.sonarqube: org.seedstack.seed:seed
seedstack.scancode: https://gitlab.ow2.org/ow2/oscar/seedstack/-/jobs/artifacts/master/raw/scancode-seed.json?job=scancode
seedstack.scancode: https://gitlab.ow2.org/ow2/oscar/seedstack/-/jobs/artifacts/master/raw/scancode-seedstack.json?job=scancode
seedstack.omm: https://projects.ow2.org/rest/wikis/projects/spaces/seedstack/pages/omm3/objects/ow2.Omm3/0/properties
seedstack.mkt: https://projects.ow2.org/rest/wikis/projects/spaces/seedstack/pages/MKTForm/objects/ow2.MKTFormClass/0/properties
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment