Show
added a comment - - edited
finished (need real test though) a method to return the list of packages that changed in a given job with respect to the previous one (check diffs in the git commit sha of each package) the measurements api returns the required info for those packages
{
"count": 6,
"next": null,
"previous": null,
"results": [
{
"value": 4.0,
"ci_id": "1",
"ci_url": "https://ci.lsst.codes/job/ci_cfht/1/",
"date": "2016-09-15T00:00:00.001Z",
"changed_packages": {
"previous_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "1",
"build_version": "b2000"
}
],
"current_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "1",
"build_version": "b2000"
}
]
}
},
{
"value": 6.0,
"ci_id": "2",
"ci_url": "https://ci.lsst.codes/job/ci_cfht/2/",
"date": "2016-09-15T08:00:00.001Z",
"changed_packages": {
"previous_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "1",
"build_version": "b2000"
}
],
"current_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "2",
"build_version": "b2000"
}
]
}
},
implemented bokeh data table to present the results (any suggestion here?)
still learning how to update the bokeh data table connected with the hover tool, that is possible using a custom JS callback as explained here http://bokeh.pydata.org/en/latest/docs/user_guide/interaction/callbacks.html#customjs-for-hover
updated bokeh to the newest version 0.12.3
there is a css issue with bootstrap and bokeh data tables (pending)
{
"count": 6,
"next": null,
"previous": null,
"results": [
{
"value": 4.0,
"ci_id": "1",
"ci_url": "https://ci.lsst.codes/job/ci_cfht/1/",
"date": "2016-09-15T00:00:00.001Z",
"changed_packages": {
"previous_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "1",
"build_version": "b2000"
}
],
"current_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "1",
"build_version": "b2000"
}
]
}
},
{
"value": 6.0,
"ci_id": "2",
"ci_url": "https://ci.lsst.codes/job/ci_cfht/2/",
"date": "2016-09-15T08:00:00.001Z",
"changed_packages": {
"previous_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "1",
"build_version": "b2000"
}
],
"current_job": [
{
"git_url": "https://github.com/lsst/afw.git",
"name": "afw",
"git_commit": "fc355a99abe3425003b0e5fbe1e13a39644b1e95",
"ci_id": "2",
"build_version": "b2000"
}
]
}
},