diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-02-25 19:36:23 +0000 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2025-05-08 17:11:07 +0100 |
| commit | f59ee044067a2eeff0d53c7e87b8295835ac190a (patch) | |
| tree | 9f421971e6213426c740cc7657e11d8a2dafe9f4 /docs/conf.py | |
| parent | 3dfa5a5c71cd67712b301db19ecc96118ceb10a5 (diff) | |
| download | focaccia-qemu-f59ee044067a2eeff0d53c7e87b8295835ac190a.tar.gz focaccia-qemu-f59ee044067a2eeff0d53c7e87b8295835ac190a.zip | |
include/hw/boards: cope with dev/rc versions in deprecation checks
When VERSION is set to a development snapshot (micro >= 50), or a release candidate (micro >= 90) we have an off-by-1 in determining deprecation and deletion thresholds for versioned machine types. In such cases we need to use the next major/minor version in threshold checks. This adapts the deprecation macros to do "next version" prediction when seeing a dev/rc version number. This ensures users of release candidates get an accurate view of machines that will be deprecated/deleted in the final release. This requires hardcoding our current release policy of 3 releases per year, with a major bump at the start of each year, and that dev/rc versions have micro >= 50. Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions