Commit Graph

27 Commits

Author SHA1 Message Date
Richard Purdie
b8233ec109 yocto_console_view: Rebuild with recent changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 11:48:40 +01:00
Richard Purdie
2e1aaeede7 yocto_console_view: Fix releaseselector for missing repos
If a field doesn't exist in the current build, allow the selector to still work
(e.g. meta-arm branch in a-quick).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 10:50:58 +01:00
Richard Purdie
31013d5d65 yocto_console_view: Rebuild compiled plugin
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
e878e85d5c yocto_console_view: Add link to output directory in summary
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
c31ca19a34 yocto_console_view: Merge all unresolved revisions into one entry
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
8d95b24b8b yocto_console_view: Drop debug output
This was accidentally left enabled.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
a232d2c032 yocto_console_view: Fix mystery performance problem
We were pushing duplicate builder values into changes list which was causing
angular to get rather upset, triggering console warnings and heavy CPU usage.
Stop doing that. Also drop the pointless return value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
eacbfed5b4 yocto_console_view: Fix onNew update logic and drop pointless return values
The logic in the function was odd, we need to trigger onChange if we update
any values. The return values are also pointless. Fix and clean up the code
logic accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:36:14 +00:00
Richard Purdie
9562761148 yocto_console_view: Merge in upstream improvements
Merge in various tweaks made to the upstream console_view plugin.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:35:54 +00:00
Richard Purdie
36ae2de715 yocto_console_view: Convert to new plugin standards to match upstream buildbot
Our plugin is based on upstream buildbot's console plugin. Upstream moved
away from coffescript and made a number of other fixes and improvements.

Run decaffeinate on the coffeescript to translate to angularjs and then
convert to the new build environment and standards.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 18:33:03 +00:00
Richard Purdie
3fdc7d9c0d yocto_console_view: Drop yarn.lock
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-04 10:44:20 +01:00
Richard Purdie
a60c841a49 yocto_console_view: Only request properties for running builds which don't have them
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-16 13:51:10 +00:00
Richard Purdie
394e6929d8 yocto_console_vew: Add link to wiki log
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-26 15:00:26 +01:00
Richard Purdie
50e72e78c3 yocto_console_view: Also ensure yp_build_branch property is handled
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-13 10:24:28 +01:00
Richard Purdie
c4b8a6ea0e yocto_console_view: Handle change notification performance issues
The previous approach was basically repeatedly adding change nofification
calls recursively which could lock up the browser. It turns out nofitications
are not being generated properly in upstream buildbot.

https://github.com/buildbot/buildbot/issues/4321
https://github.com/buildbot/buildbot/pull/4323

For now accept a UI regression which will get fixed when the above is
fixed. Avoid the current performance problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-13 10:13:07 +01:00
Richard Purdie
681db49a98 yocto_console_view: Add code to update UI when yp_build_revision changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-12 16:22:27 +01:00
Richard Purdie
6d2568c69c yocto_console_view: Fix delete syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-11 10:26:03 +01:00
Richard Purdie
ba6fe2cbc0 Revert "yocto_console_view: Run populateChange after modifying the change entries in matchBuildWithChange"
This reverts commit 3aa6beb7a7.

This change was incorrect and doesn't help the problems being seen.
2018-09-11 10:20:19 +01:00
Richard Purdie
3aa6beb7a7 yocto_console_view: Run populateChange after modifying the change entries in matchBuildWithChange
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 13:34:53 +01:00
Richard Purdie
bda30c6f4f yocto_conole_view: Ensure unresolved changes are deleted when we resolve
This should stop the UI looking as confused as builds resolve the build
revisions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-10 11:13:25 +01:00
Richard Purdie
4fbcd0a395 yocto_console_view: Tweak error reporting link
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-06 23:21:58 +01:00
Richard Purdie
92bcd50cce yocto_console_view: Show build reason in console display
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 14:29:48 +01:00
Richard Purdie
b972e58722 builders/yocto_console_view: Add yp_build_branch property
This corresponds to the poky branch being used by default so its easier
for users to tell the builds apart and know which ones they are.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-05 11:50:56 +01:00
Richard Purdie
9ddf0f5613 yocto_console_view: Tidy up release selector format
We just want a selector box which isn't editable so tweak the code
to achieve this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 14:18:25 +01:00
Richard Purdie
c6f1133ef8 yocto_console_view: Ensure parent_buildid changesets aren't overwritten
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-04 12:15:24 +01:00
Richard Purdie
8cf7aa7adf yocto_console_view: Use parent_buildid as the key to unresolved build entries to clean up console display
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-04 12:01:43 +01:00
Richard Purdie
02bcaeb027 yocto_console_view: Add initial version of our customisation buildbot plugin 2018-06-10 17:17:30 +01:00