Skip to content

Update / error handling fixes

Paul Eggleton yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5update: avoid errors if values could not be found in initial outputlayerindex/update.py+16 -40 replies
2/5update_layer: improve exception handlinglayerindex/update_layer.py+2 -10 replies
3/5Improve collection/display of LayerUpdate recordsTODO layerindex/admin.py layerindex/migrations/0021_layerupdate_add_layer_branch.py +10 more+249 -280 replies
4/5update: ensure that exceptions during the update process are loggedlayerindex/update.py+4 -00 replies
5/5Include errors/warnings in main log in error/warning counts for updateslayerindex/models.py layerindex/views.py templates/layerindex/updatelist.html+13 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [layerindex-web][PATCH 0/5] Update / error handling fixes

The layer index has recently been failing to update, and that wasn't picked up earlier as the errors weren't actually being collected in the update records. Makesure they are collected and sufficiently highlighted in the UI.

The following changes since commit d17080d325b9b82e8b844c207053eb2b3ac111ad:

Show links to include files on recipe detail (2018-08-13 16:04:16 +0200)

are available in the Git repository at:

git://git.yoctoproject.org/layerindex-web paule/layerupdate
http://git.yoctoproject.org/cgit.cgi/layerindex-web/log/?h=paule/layerupdate

Paul Eggleton (5):
update: avoid errors if values could not be found in initial output
update_layer: improve exception handling
Improve collection/display of LayerUpdate records
update: ensure that exceptions during the update process are logged Include errors/warnings in main log in error/warning counts for
updates

 TODO                                          |  1 -
 layerindex/admin.py                           |  2 +-
 .../0021_layerupdate_add_layer_branch.py      | 26 +++++++
 .../0022_layerupdate_set_layer_branch.py      | 41 +++++++++++
 .../0023_layerupdate_layer_branch_finalise.py | 29 ++++++++
 .../migrations/0024_layerupdate_vcs_revs.py   | 35 ++++++++++
 layerindex/models.py                          | 36 +++++++++-
 layerindex/static/css/additional.css          | 10 +++
 layerindex/templatetags/extrafilters.py       |  4 ++
 layerindex/update.py                          | 68 +++++++++++++------
 layerindex/update_layer.py                    |  3 +-
 layerindex/views.py                           |  6 +-
 templates/layerindex/layerupdate.html         | 19 +++++-
 templates/layerindex/updatedetail.html        | 34 ++++++++--
 templates/layerindex/updatelist.html          |  6 +-
 15 files changed, 284 insertions(+), 36 deletions(-)
 create mode 100644 layerindex/migrations/0021_layerupdate_add_layer_branch.py
 create mode 100644 layerindex/migrations/0022_layerupdate_set_layer_branch.py
 create mode 100644 layerindex/migrations/0023_layerupdate_layer_branch_finalise.py
 create mode 100644 layerindex/migrations/0024_layerupdate_vcs_revs.py
Signature · 1 line
2.17.1