[pve-devel] [PATCH manager 2/5] Do not display the abbreviated commit SHA-1 in the workspace version string

Emmanuel Kasper e.kasper at proxmox.com
Thu Jul 6 14:01:28 CEST 2017


This string is ugly and unfit for human consumption for 99% of our users.
The same information is available in a number of place in the GUI via Node
Summary, Package Versions, Subscription (Report)
---
 www/manager6/Workspace.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index 74c67652..9376cea5 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -179,8 +179,7 @@ Ext.define('PVE.StdWorkspace', {
 	var ui = me.query('#versioninfo')[0];
 
 	if (PVE.VersionInfo) {
-	    var version = PVE.VersionInfo.version + '-' + PVE.VersionInfo.release + '/' +
-		PVE.VersionInfo.repoid;
+	    var version = PVE.VersionInfo.version + '-' + PVE.VersionInfo.release;
 	    ui.update('Virtual Environment ' + version);
 	} else {
 	    ui.update('Virtual Environment');
-- 
2.11.0





More information about the pve-devel mailing list