Skip to content

Fixes; add Update Layer button; expose branch mapping

Tim Orling yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7requirements.txt: bump all to latestrequirements.txt+20 -200 replies
2/7layerindex/views.py: fix parse_view typolayerindex/views.py+1 -10 replies
3/7docker/settings.py: fix RABBIT_BROKER TypeErrordocker/settings.py+1 -10 replies
4/7dockersetup.py: enable production Let's Encryptdockersetup.py+5 -40 replies
5/7layerindex: Add actual_branch to forms and viewslayerindex/forms.py layerindex/views.py+20 -00 replies
6/7layerindex: add Update Layer UI featurelayerindex/urls.py layerindex/urls_branch.py layerindex/views.py +3 more+163 -20 replies
7/7layerindex: improve updates for actual_branchlayerindex/update.py layerindex/update_layer.py layerindex/utils.py+42 -120 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/7] Fixes; add Update Layer button; expose branch mapping

This series is the combination of several changes that are best done as a group because that is how they were developed and more importantly tested.

* Update requirements.txt to the "latest" versions
* Fix an annoyance in the docker/settings.py which caused the RABBIT_BROKER variable to be unparseable, since no default values where set and the environment variables do not always exist in the running container context (such as running updates)
* Enable production (trusted by browser) cert creation by dockersetup.py via Let's Encrypt. This should help publicly facing instances avoid unnecessary churn of the staging certs.
* Fix a typo that broke Branch Comparison
[YOCTO #15332]
* Expose the "actual_branch" branch mapping in the web UI (previously only available in the admin interface.
[YOCTO #8008]
* Add the ability to trigger a layer update from the web UI (is_staff users only).
[YOCTO #12484]
* Improve the handling of actual_branch by the update.py script (and friends) to allow scripted creation/updates of stable branches with actual_branch set. This should enable better utilization of LAYERSERIES_COMPAT in the future.

The following changes since commit 4712f00df73f86ab557cf499b6b20aac3f738535:

utils.py: fix unclosed ( (2023-11-22 11:06:10 -0800)

are available in the Git repository at:

https://github.com/moto-timo/layerindex-web timo/update-button-actual-branch
https://github.com/moto-timo/layerindex-web/tree/timo/update-button-actual-branch

Tim Orling (7):
requirements.txt: bump all to latest layerindex/views.py: fix parse_view typo docker/settings.py: fix RABBIT_BROKER TypeError dockersetup.py: enable production Let's Encrypt
layerindex: Add actual_branch to forms and views
layerindex: add Update Layer UI feature
layerindex: improve updates for actual_branch

 docker/settings.py                     |   2 +-
 dockersetup.py                         |   9 +-
 layerindex/forms.py                    |  15 ++++
 layerindex/update.py                   |  39 +++++---
 layerindex/update_layer.py             |   8 ++
 layerindex/urls.py                     |   2 +-
 layerindex/urls_branch.py              |   3 +-
 layerindex/utils.py                    |   7 +-
 layerindex/views.py                    |  42 ++++++++-
 requirements.txt                       |  40 ++++-----
 templates/layerindex/detail.html       |   3 +
 templates/layerindex/reviewdetail.html |   3 +
 templates/layerindex/updatelayer.html  | 119 +++++++++++++++++++++++++
 13 files changed, 252 insertions(+), 40 deletions(-)
 create mode 100644 templates/layerindex/updatelayer.html
Signature · 1 line
2.34.1