Fixes; add Update Layer button; expose branch mapping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | requirements.txt: bump all to latestrequirements.txt | +20 | 0 replies | |
| 2/7 | layerindex/views.py: fix parse_view typolayerindex/ | +1 | 0 replies | |
| 3/7 | docker/settings.py: fix RABBIT_BROKER TypeErrordocker/ | +1 | 0 replies | |
| 4/7 | dockersetup.py: enable production Let's Encryptdockersetup.py | +5 | 0 replies | |
| 5/7 | layerindex: Add actual_branch to forms and viewslayerindex/ layerindex/ | +20 | 0 replies | |
| 6/7 | layerindex: add Update Layer UI featurelayerindex/ layerindex/ layerindex/ +3 more | +163 | 0 replies | |
| 7/7 | layerindex: improve updates for actual_branchlayerindex/ layerindex/ layerindex/ | +42 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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