CA-355182: Removed obsolete RPU hotfixes.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2021-06-01 23:28:19 +01:00 committed by Mihaela Stoica
parent 57a3ce823a
commit 70af65e446
3 changed files with 0 additions and 34 deletions

View File

@ -123,8 +123,6 @@
</ProgId>
</Component>
<Component Id="UpdateFiles" Guid="$(var.UpdateFilesGuid)">
<File Id="hotfixDundee" Source="$(env.RepoRoot)\Branding\Hotfixes\RPU003.$(var.FileExtUpdate)" />
<File Id="hotfixEly" Source="$(env.RepoRoot)\Branding\Hotfixes\RPU004.iso" />
<File Id="hotfixStockholm" Source="$(env.RepoRoot)\Branding\Hotfixes\RPU005.iso" />
</Component>
<Directory Id="ja" Name="ja">

View File

@ -39,23 +39,9 @@ namespace XenAdmin.Diagnostics.Hotfixing
{
public enum HotfixableServerVersion
{
Dundee,
ElyLima,
Stockholm
}
private static readonly Hotfix dundeeHotfix = new SingleHotfix
{
Filename = "RPU003",
UUID = "b651dd22-df7d-45a4-8c0a-6be037bc1714"
};
private static readonly Hotfix elyLimaHotfix = new SingleHotfix
{
Filename = "RPU004",
UUID = "1821854d-0171-4696-a9c4-01daf75a45a0"
};
private static readonly Hotfix stockholmHotfix = new SingleHotfix
{
Filename = "RPU005",
@ -66,10 +52,6 @@ namespace XenAdmin.Diagnostics.Hotfixing
{
if (Helpers.StockholmOrGreater(host) && !Helpers.PostStockholm(host))
return Hotfix(HotfixableServerVersion.Stockholm);
if (Helpers.ElyOrGreater(host) && !Helpers.NaplesOrGreater(host))
return Hotfix(HotfixableServerVersion.ElyLima);
if (Helpers.DundeeOrGreater(host) && !Helpers.ElyOrGreater(host))
return Hotfix(HotfixableServerVersion.Dundee);
return null;
}
@ -77,10 +59,6 @@ namespace XenAdmin.Diagnostics.Hotfixing
{
if (version == HotfixableServerVersion.Stockholm)
return stockholmHotfix;
if (version == HotfixableServerVersion.ElyLima)
return elyLimaHotfix;
if (version == HotfixableServerVersion.Dundee)
return dundeeHotfix;
throw new ArgumentException("A version was provided for which there is no hotfix filename");
}

View File

@ -1,15 +1,5 @@
{
"files": [
{
"pattern": "builds/xs/hotfixes/trunk/RPU003/9.0/RPU003.xsupdate",
"target": "xenadmin.git/Branding/Hotfixes/RPU003.xsupdate",
"flat": "true"
},
{
"pattern": "builds/xs/hotfixes/trunk/RPU004/8.0/RPU004.iso",
"target": "xenadmin.git/Branding/Hotfixes/RPU004.iso",
"flat": "true"
},
{
"pattern": "builds/xs/hotfixes/trunk/RPU005/2.0/RPU005.iso",
"target": "xenadmin.git/Branding/Hotfixes/RPU005.iso",