[pbs-devel] [RFC v6 proxmox-backup 6/6] enable release upgrade for package repositories
Fabian Ebner
f.ebner at proxmox.com
Fri Jun 11 13:44:09 CEST 2021
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
New in v6.
Intended for the stable branch.
I didn't insert a link yet since the site doesn't exist yet.
Cargo.toml | 2 +-
debian/control | 2 +-
www/ServerAdministration.js | 8 +++++---
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 9556ece8..74a31600 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -56,7 +56,7 @@ pathpatterns = "0.1.2"
proxmox = { version = "0.11.5", features = [ "sortable-macro", "api-macro" ] }
#proxmox = { git = "git://git.proxmox.com/git/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro" ] }
#proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro" ] }
-proxmox-apt = "0.1.1"
+proxmox-apt = "0.2.0"
proxmox-fuse = "0.1.1"
proxmox-http = { version = "0.2.1", features = [ "client", "http-helpers", "websocket" ] }
#proxmox-http = { version = "0.2.0", path = "../proxmox/proxmox-http", features = [ "client", "http-helpers", "websocket" ] }
diff --git a/debian/control b/debian/control
index a9f235b4..89b0de40 100644
--- a/debian/control
+++ b/debian/control
@@ -43,7 +43,7 @@ Build-Depends: debhelper (>= 11),
librust-proxmox-0.11+default-dev (>= 0.11.5-~~),
librust-proxmox-0.11+sortable-macro-dev (>= 0.11.5-~~),
librust-proxmox-acme-rs-0.2+default-dev (>= 0.2.1-~~),
- librust-proxmox-apt-0.1+default-dev (>= 0.1.1-~~),
+ librust-proxmox-apt-0.2+default-dev,
librust-proxmox-fuse-0.1+default-dev (>= 0.1.1-~~),
librust-proxmox-http-0.2+client-dev (>= 0.2.1-~~),
librust-proxmox-http-0.2+default-dev (>= 0.2.1-~~),
diff --git a/www/ServerAdministration.js b/www/ServerAdministration.js
index 4ea6b275..531d8379 100644
--- a/www/ServerAdministration.js
+++ b/www/ServerAdministration.js
@@ -1,6 +1,7 @@
Ext.define('PBS.ServerAdministration', {
extend: 'Ext.tab.Panel',
alias: 'widget.pbsServerAdministration',
+ mixins: ['Proxmox.Mixin.CBind'],
title: gettext('Server Administration'),
@@ -59,9 +60,10 @@ Ext.define('PBS.ServerAdministration', {
iconCls: 'fa fa-files-o',
itemId: 'aptrepositories',
nodename: 'localhost',
- // FIXME enable for the stable branch, once the release is available
- // and insert the link to the upgrade article
- majorUpgradeAllowed: false,
+ cbind: {
+ majorUpgradeAllowed: () => Proxmox.UserName === 'root at pam',
+ },
+ // FIXME insert link to the upgrade article
majorUpgradeLink: "FIXME",
},
{
--
2.20.1
More information about the pbs-devel
mailing list