Same as 622ba1f ("apt repositoires: allow major upgrade") in the
stable-bullseye branch.

Currently, all this does is silence warnings when the suite after the
current one is configured as well as enabling the check for mixed
repositiories.

Since there is no API call as mentioned in the comment yet, just set
it manually.

Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---
 src/node/APTRepositories.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
index 5d4b03b..7e784c3 100644
--- a/src/node/APTRepositories.js
+++ b/src/node/APTRepositories.js
@@ -631,7 +631,7 @@ Ext.define('Proxmox.node.APTRepositories', {
                 nodename: '{nodename}',
                 onlineHelp: '{onlineHelp}',
             },
-            majorUpgradeAllowed: false, // TODO get release information from 
an API call?
+            majorUpgradeAllowed: true, // TODO get release information from an 
API call?
             listeners: {
                 selectionchange: 'selectionChange',
             },
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to