Skip to contentSkip to conversation

michaelw/submit/elliot/9475-9631-9836-9952_combined

pull-request Michael Wood 1 participant 2 messages Aug 2, 2016 – Aug 4, 2016

lore
Share & tools
lore
#0 lore raw

This is a pull request for a branch which combines all of Elliot Smith's recent Toaster work.

bitbake based branch on poky-contrib michaelw/submit/elliot/9475-9631-9836-9952_combined

Note that because this branch includes a commit of a JS file with very long lines, it is upstreamed to bitbake-devel as a pull request, rather than individual patches.

Summary:

Elliot Smith (17):
cooker: add BuildInit event
toaster: move most recent builds templating to client
toaster: show progress of recipe parsing in recent builds area
toaster: show "Tasks starting..." until the first task completes
toaster: tweak styling and typos in recent builds area
toaster: remove links from time field on failed builds
toaster: add started property to Build
toaster: adjust build dashboard for failed builds
toaster-tests: add tests for build time links in the all builds page
toaster-tests: add tests for build dashboard menu and summary
visibility
toaster-tests: add tests for most recent builds state changes
toaster-tests: fix erroneous message when test fails
toaster: show loading spinner after creating custom image
toaster: reset table to default orderby when orderby column is hidden
toaster-tests: add tests for reverting to default sort
toaster: prevent infinite loop when finding task dependencies
toaster-tests: add test for showing self-dependent task

 LICENSE                                            |   2 +
 lib/bb/cooker.py                                   |   4 +
 lib/bb/event.py                                    |   6 +-
 lib/bb/ui/buildinfohelper.py                       | 118 ++++---
 lib/bb/ui/toasterui.py                             |  31 +-
 .../migrations/0005_reorder_buildrequest_states.py |  19 ++
 lib/toaster/bldcontrol/models.py                   |  12 +-
 .../0013_recipe_parse_progress_fields.py           |  24 ++
 .../orm/migrations/0014_allow_empty_buildname.py   |  19 ++
 lib/toaster/orm/models.py                          |  87 ++++-
 lib/toaster/tests/browser/test_all_builds_page.py  |  93 +++++-
 .../tests/browser/test_builddashboard_page.py      | 127 +++++--
 .../browser/test_builddashboard_page_artifacts.py  |   7 +-
 .../tests/browser/test_layerdetails_page.py        |   8 +-
 .../browser/test_most_recent_builds_states.py      | 211 ++++++++++++
 lib/toaster/tests/browser/test_task_page.py        |  76 +++++
 lib/toaster/tests/browser/test_toastertable_ui.py  | 160 +++++++++
 lib/toaster/toastergui/api.py                      | 115 ++++++-
 lib/toaster/toastergui/static/css/default.css      |  13 +
 lib/toaster/toastergui/static/js/jsrender.min.js   |   4 +
 lib/toaster/toastergui/static/js/libtoaster.js     |  36 +-
 lib/toaster/toastergui/static/js/mrbsection.js     | 180 ++++++----
 .../toastergui/static/js/newcustomimage_modal.js   |  33 +-
 lib/toaster/toastergui/static/js/table.js          |  78 ++++-
 lib/toaster/toastergui/tables.py                   |   8 +-
 lib/toaster/toastergui/templates/base.html         |   6 +
 .../toastergui/templates/basebuildpage.html        | 176 +++++-----
 .../toastergui/templates/builddashboard.html       | 158 +++++----
 .../toastergui/templates/buildrequestdetails.html  |  64 ----
 lib/toaster/toastergui/templates/mrb_section.html  | 371 
+++++++++++++--------
 .../toastergui/templates/newcustomimage_modal.html |   7 +-
 .../templates/projectbuilds-toastertable.html      |   2 +-
 lib/toaster/toastergui/templatetags/projecttags.py |   8 -
 lib/toaster/toastergui/urls.py                     |   3 +
 lib/toaster/toastergui/views.py                    |  10 +
 35 files changed, 1701 insertions(+), 575 deletions(-)
 create mode 100644 
lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
 create mode 100644 
lib/toaster/orm/migrations/0013_recipe_parse_progress_fields.py
 create mode 100644 
lib/toaster/orm/migrations/0014_allow_empty_buildname.py
 create mode 100644 
lib/toaster/tests/browser/test_most_recent_builds_states.py
 create mode 100644 lib/toaster/tests/browser/test_task_page.py
 create mode 100644 lib/toaster/tests/browser/test_toastertable_ui.py
 create mode 100644 lib/toaster/toastergui/static/js/jsrender.min.js
 delete mode 100644 

lib/toaster/toastergui/templates/buildrequestdetails.html

Thanks,

Michael

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

#1 lore raw
Quoted 77 lines · Michael Wood

This is a pull request for a branch which combines all of Elliot Smith's recent Toaster work.

bitbake based branch on poky-contrib michaelw/submit/elliot/9475-9631-9836-9952_combined

Note that because this branch includes a commit of a JS file with very long lines, it is upstreamed to bitbake-devel as a pull request, rather than individual patches.

Summary:

Elliot Smith (17):
cooker: add BuildInit event
toaster: move most recent builds templating to client
toaster: show progress of recipe parsing in recent builds area
toaster: show "Tasks starting..." until the first task completes
toaster: tweak styling and typos in recent builds area
toaster: remove links from time field on failed builds
toaster: add started property to Build
toaster: adjust build dashboard for failed builds
toaster-tests: add tests for build time links in the all builds page
toaster-tests: add tests for build dashboard menu and summary
visibility
toaster-tests: add tests for most recent builds state changes
toaster-tests: fix erroneous message when test fails
toaster: show loading spinner after creating custom image
toaster: reset table to default orderby when orderby column is hidden
toaster-tests: add tests for reverting to default sort
toaster: prevent infinite loop when finding task dependencies
toaster-tests: add test for showing self-dependent task

 LICENSE                                            |   2 +
 lib/bb/cooker.py                                   |   4 +
 lib/bb/event.py                                    |   6 +-
 lib/bb/ui/buildinfohelper.py                       | 118 ++++---
 lib/bb/ui/toasterui.py                             |  31 +-
 .../migrations/0005_reorder_buildrequest_states.py |  19 ++
 lib/toaster/bldcontrol/models.py                   |  12 +-
 .../0013_recipe_parse_progress_fields.py           |  24 ++
 .../orm/migrations/0014_allow_empty_buildname.py   |  19 ++
 lib/toaster/orm/models.py                          |  87 ++++-
 lib/toaster/tests/browser/test_all_builds_page.py  |  93 +++++-
 .../tests/browser/test_builddashboard_page.py      | 127 +++++--
 .../browser/test_builddashboard_page_artifacts.py  |   7 +-
 .../tests/browser/test_layerdetails_page.py        |   8 +-
 .../browser/test_most_recent_builds_states.py      | 211 ++++++++++++
 lib/toaster/tests/browser/test_task_page.py        |  76 +++++
 lib/toaster/tests/browser/test_toastertable_ui.py  | 160 +++++++++
 lib/toaster/toastergui/api.py                      | 115 ++++++-
 lib/toaster/toastergui/static/css/default.css      |  13 +
 lib/toaster/toastergui/static/js/jsrender.min.js   |   4 +
 lib/toaster/toastergui/static/js/libtoaster.js     |  36 +-
 lib/toaster/toastergui/static/js/mrbsection.js     | 180 ++++++----
 .../toastergui/static/js/newcustomimage_modal.js   |  33 +-
 lib/toaster/toastergui/static/js/table.js          |  78 ++++-
 lib/toaster/toastergui/tables.py                   |   8 +-
 lib/toaster/toastergui/templates/base.html         |   6 +
 .../toastergui/templates/basebuildpage.html        | 176 +++++-----
 .../toastergui/templates/builddashboard.html       | 158 +++++----
 .../toastergui/templates/buildrequestdetails.html  |  64 ----
 lib/toaster/toastergui/templates/mrb_section.html  | 371 
+++++++++++++--------
 .../toastergui/templates/newcustomimage_modal.html |   7 +-
 .../templates/projectbuilds-toastertable.html      |   2 +-
 lib/toaster/toastergui/templatetags/projecttags.py |   8 -
 lib/toaster/toastergui/urls.py                     |   3 +
 lib/toaster/toastergui/views.py                    |  10 +
 35 files changed, 1701 insertions(+), 575 deletions(-)
 create mode 100644 
lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
 create mode 100644 
lib/toaster/orm/migrations/0013_recipe_parse_progress_fields.py
 create mode 100644 
lib/toaster/orm/migrations/0014_allow_empty_buildname.py
 create mode 100644 
lib/toaster/tests/browser/test_most_recent_builds_states.py
 create mode 100644 lib/toaster/tests/browser/test_task_page.py
 create mode 100644 lib/toaster/tests/browser/test_toastertable_ui.py
 create mode 100644 lib/toaster/toastergui/static/js/jsrender.min.js
 delete mode 100644 
Quoted 6 lines

lib/toaster/toastergui/templates/buildrequestdetails.html

Thanks,

Michael

Please pause this pull request. We're currently investigating some issues with builds getting stuck after an initial build which may or may not be related to these changes.

Thanks,

Michael

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.