Skip to content

Commit

Permalink
Reintroduce Domino 12.0.1
Browse files Browse the repository at this point in the history
- Adding versions major/minor to Hosts.template.yml
- Add hashes for Domino 12.0.1 (reference #103)
  • Loading branch information
piotrzarzycki21 committed Jan 23, 2024
1 parent e5c11f4 commit 92932e8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ hosts:
# Domino Variables
#domino_hash: ::DOMINO_HASH:: # "4153dfbb571b1284ac424824aa0e25e4"
domino_server_installer_tar: ::DOMINO_INSTALLER:: # "Domino_12.0.2_Linux_English.tar"
domino_major_version: ::DOMINO_INSTALLER_MAJOR_VERSION::
domino_patch_version: ::DOMINO_INSTALLER_MINOR_VERSION::

# Domino fixpack Variables
#domino_fp_hash: ::DOMINO_FP_HASH:: # "124153dfbb571b1284ac4248"
Expand Down
6 changes: 4 additions & 2 deletions Source/superhuman/config/SuperHumanHashes.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ class SuperHumanHashes
{
public static final validHashes:Map<String, Map<String, Array<{}>>> = [

"domino" => [ "installers" => [ { hash: "4153dfbb571b1284ac424824aa0e25e4", version: {majorVersion: "12", minorVersion: "02", fullVersion: "12.02"} } ],
"domino" => [ "installers" => [ { hash: "4153dfbb571b1284ac424824aa0e25e4", version: {majorVersion: "12", minorVersion: "2", fullVersion: "12.0.2"} },
{ hash: "ee9dd49653d4e4352cf23d0ae59936c8", version: {majorVersion: "12", minorVersion: "1", fullVersion: "12.0.1"}} ],
"hotfixes" => [],
"fixpacks" => [ {hash: "30803d849e3eb46f35242a72372548fd", version: { fullVersion: "FP1"}} ]],
"fixpacks" => [ {hash: "30803d849e3eb46f35242a72372548fd", version: { fullVersion: "FP1"}},
{hash: "f7753e4a0d80c64ecf15f781e8ea920a", version: { fullVersion: "FP2"}} ]],
"appdevpack" => [ "installers" => [ { hash: "b84248ae22a57efe19dac360bd2aafc2", version: { majorVersion: "1", minorVersion: "0", patch: "15", fullVersion: "1.0.15"} }]],
"leap" => [ "installers" => [ { hash: "080235c0f0cce7cc3446e01ffccf0046", version: { majorVersion: "1", minorVersion: "0", patch: "5", fullVersion: "1.0.5" } } ]],
"nomadweb" => [ "installers" => [ { hash: "044c7a71598f41cd3ddb88c5b4c9b403" },
Expand Down
25 changes: 23 additions & 2 deletions Source/superhuman/server/provisioners/DemoTasks.hx
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,10 @@ class HostsFileGenerator {

//Domino Variables
DOMINO_INSTALLER: "",

DOMINO_INSTALLER_VERSION: "",
DOMINO_INSTALLER_MAJOR_VERSION: "",
DOMINO_INSTALLER_MINOR_VERSION: "",

//Domino fixpack Variables
DOMINO_INSTALLER_FIXPACK_INSTALL: false,
DOMINO_INSTALLER_FIXPACK_VERSION: "",
Expand Down Expand Up @@ -593,7 +596,25 @@ class HostsFileGenerator {
if (r.value == "domino")
{
replace.DOMINO_INSTALLER = installerName;


if (installerVersion != null)
{
if (installerVersion.fullVersion != null)
{
replace.DOMINO_INSTALLER_VERSION = installerVersion.fullVersion;
}

if (installerVersion.majorVersion != null)
{
replace.DOMINO_INSTALLER_MAJOR_VERSION = installerVersion.majorVersion;
}

if (installerVersion.minorVersion != null)
{
replace.DOMINO_INSTALLER_MINOR_VERSION = installerVersion.minorVersion;
}
}

if (r.files.hotfixes != null && r.files.hotfixes.length > 0)
{
var hotfixesPath = new Path(r.files.hotfixes[0]);
Expand Down

0 comments on commit 92932e8

Please sign in to comment.