Some layers have branches which match the stable release branch names, but fail to update for some reason. Rather than completely disable updates for a LayerItem, allow for a LayerBranch to have updates disabled.
Before this change, we only had the option to completely disable updates for a layer (Change from "Published" to "No Update" state) or completely disable a Branch for all layers. These hammers are too heavy and needed a little nuance. Tim Orling (2): models.py: add updates_enabled to LayerBranch update.py: skip unless layerbranch.updates_enabled .../0047_layerbranch_updates_enabled.py | 18 ++++++++++++++++++ layerindex/models.py | 2 +- layerindex/update.py | 5 +++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 layerindex/migrations/0047_layerbranch_updates_enabled.py -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61355): https://lists.yoctoproject.org/g/yocto/message/61355 Mute This Topic: https://lists.yoctoproject.org/mt/102009647/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-