diff --git a/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 b/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 index 7d94facdc..25b93970e 100644 --- a/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 +++ b/images/ubuntu/scripts/docs-gen/SoftwareReport.Common.psm1 @@ -50,19 +50,6 @@ function Get-ClangTidyVersions { return $clangVersions } - -function Get-ErlangVersion { - $erlangVersion = (erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), ''OTP_VERSION''])), io:fwrite(Version), halt().' -noshell) - $shellVersion = (erl -eval 'erlang:display(erlang:system_info(version)), halt().' -noshell).Trim('"') - return "$erlangVersion (Eshell $shellVersion)" -} - -function Get-ErlangRebar3Version { - $result = Get-CommandResult "rebar3 --version" - $result.Output -match "rebar (?(\d+.){2}\d+)" | Out-Null - return $Matches.version -} - function Get-MonoVersion { $monoVersion = mono --version | Out-String | Get-StringPart -Part 4 return $monoVersion @@ -249,15 +236,6 @@ function Get-StackVersion { return $Matches.version } -function Get-AzModuleVersions { - $azModuleVersions = Get-ChildItem /usr/share | Where-Object { $_ -match "az_\d+" } | Foreach-Object { - $_.Name.Split("_")[1] - } - - $azModuleVersions = $azModuleVersions -join " " - return $azModuleVersions -} - function Get-PowerShellModules { [Array] $result = @() diff --git a/images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1 b/images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1 index 9adfa2f9b..879246097 100644 --- a/images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1 +++ b/images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1 @@ -3,11 +3,6 @@ function Get-PostgreSqlVersion { return $postgreSQLVersion } -function Get-MongoDbVersion { - $mongoDBVersion = mongod --version | Select-Object -First 1 | Get-StringPart -Part 2 -Delimiter "v" - return $mongoDBVersion -} - function Get-SqliteVersion { $sqliteVersion = sqlite3 --version | Get-StringPart -Part 0 return $sqliteVersion diff --git a/images/ubuntu/scripts/docs-gen/SoftwareReport.Tools.psm1 b/images/ubuntu/scripts/docs-gen/SoftwareReport.Tools.psm1 index 33f4306aa..9ea6c1f24 100644 --- a/images/ubuntu/scripts/docs-gen/SoftwareReport.Tools.psm1 +++ b/images/ubuntu/scripts/docs-gen/SoftwareReport.Tools.psm1 @@ -58,8 +58,6 @@ function Get-CMakeVersion { return $cmakeVersion } - - function Get-DockerComposeV2Version { $composeVersion = docker compose version | Get-StringPart -Part 3 | Get-StringPart -Part 0 -Delimiter "v" return $composeVersion @@ -115,11 +113,6 @@ function Get-HerokuVersion { return $herokuVersion } -function Get-HHVMVersion { - $hhvmVersion = hhvm --version | Select-Object -First 1 | Get-StringPart -Part 2 - return $hhvmVersion -} - function Get-SVNVersion { $svnVersion = svn --version | Select-Object -First 1 | Get-StringPart -Part 2 return $svnVersion @@ -178,11 +171,6 @@ function Get-PackerVersion { return $packerVersion } -function Get-PhantomJSVersion { - $env:OPENSSL_CONF="/etc/ssl"; phantomjs --version - return $(phantomjs --version) -} - function Get-TerraformVersion { return (terraform version | Select-String "^Terraform").Line.Replace('v','') | Get-StringPart -Part 1 }