Skip to content

Commit

Permalink
Added ssis-vs2022
Browse files Browse the repository at this point in the history
icon
  • Loading branch information
Mcapo0802 committed Apr 18, 2024
1 parent 9c19be0 commit 58c2f83
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 0 deletions.
14 changes: 14 additions & 0 deletions automatic/ssis-vs2022/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# [<img src="https://cdn.jsdelivr.net/gh/bbtsoftware/chocolatey-packages@74b0a3c4fe3e5ad5b896dd63f99a4edb346f8e21/icons/ssis-vs2022.png" height="48" width="48" />Microsoft SQL Server Integration Services Projects](https://community.chocolatey.org/packages/ssis-vs2022)

Extension for Visual Studio 2022 to build high performance data integration and workflow solutions, including extraction, transformation, and loading (ETL) operations for data warehousing.

Visit https://techcommunity.microsoft.com/t5/SQL-Server-Integration-Services/bg-p/SSIS for the latest information, tips, news, and announcements about SSIS directly from the product team.

## Notes

This package has the following additional requirements:

* Visual Studio core editor
* SQL Server Data Tools
* .NET Framework 4 targeting pack
* .NET Framework 4.5 targeting pack
36 changes: 36 additions & 0 deletions automatic/ssis-vs2022/ssis-vs2022.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>ssis-vs2022</id>
<title>Microsoft SQL Server Integration Services Projects for Visual Studio 2022</title>
<version>1.3.2</version>
<authors>Microsoft</authors>
<owners>BBT Software AG</owners>
<projectUrl>https://marketplace.visualstudio.com/items?itemName=SSIS.MicrosoftDataToolsIntegrationServices</projectUrl>
<docsUrl>https://docs.microsoft.com/en-us/sql/ssdt/</docsUrl>
<packageSourceUrl>https://github.com/bbtsoftware/chocolatey-packages/tree/master/automatic/ssis-vs2022</packageSourceUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/bbtsoftware/chocolatey-packages@74b0a3c4fe3e5ad5b896dd63f99a4edb346f8e21/icons/ssis-vs2022.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Extension for Visual Studio 2022 to build high performance data integration and workflow solutions, including extraction, transformation, and loading (ETL) operations for data warehousing.</summary>
<description><![CDATA[Extension for Visual Studio 2022 to build high performance data integration and workflow solutions, including extraction, transformation, and loading (ETL) operations for data warehousing.
Visit https://techcommunity.microsoft.com/t5/SQL-Server-Integration-Services/bg-p/SSIS for the latest information, tips, news, and announcements about SSIS directly from the product team.
## Notes
This package has the following additional requirements:
* Visual Studio core editor
* SQL Server Data Tools
* .NET Framework 4 targeting pack
* .NET Framework 4.5 targeting pack
]]></description>
<tags>microsoft integration integration-services sql ssis ssis-vs2022 ssdt sql-server data-tools</tags>
<dependencies>
<dependency id="DotNet4.6-TargetPack" />
</dependencies>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
14 changes: 14 additions & 0 deletions automatic/ssis-vs2022/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$ErrorActionPreference = 'Stop';

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'Microsoft.DataTools.IntegrationServices*'
fileType = 'exe'
silentArgs = "/quiet /log `"$env:TEMP\$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.log`""
validExitCodes= @(0)
url = "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/SSIS/vsextensions/MicrosoftDataToolsIntegrationServices/1.3.2/vspackage"
checksum = "63F5DA2B6391E5326F76E6B0589EFE119AAD2D067D6B283D67C3E22CB0062FBE"
checksumType = "sha256"
}

Install-ChocolateyPackage @packageArgs
33 changes: 33 additions & 0 deletions automatic/ssis-vs2022/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import-module au

$releases = 'https://marketplace.visualstudio.com/items?itemName=SSIS.MicrosoftDataToolsIntegrationServices'

function global:au_BeforeUpdate {
$Latest.Checksum = Get-RemoteChecksum $Latest.Url32
$Latest.ChecksumType = "sha256"
}

function global:au_SearchReplace {
@{
'tools\ChocolateyInstall.ps1' = @{
"(\s*url\s*=\s*)`"([^*]+)`"" = "`$1`"$($Latest.URL32)`""
"(\s*checksum\s*=\s*)`"([^*]+)`"" = "`$1`"$($Latest.Checksum)`""
"(\s*checksumType\s*=\s*)`"([^*]+)`"" = "`$1`"$($Latest.ChecksumType)`""
}
}
}

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$re = 'SqlServerIntegrationServicesProjects/.+?/vspackage$'
$url = $download_page.links | Where-Object href -match $re | ForEach-Object { "https://marketplace.visualstudio.com" + $_.href }
$version = $url -split '/' | Select-Object -Last 1 -Skip 1

@{
Version = $version
URL32 = $url
}
}

update -ChecksumFor none
Binary file added icons/ssis-vs2022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 58c2f83

Please sign in to comment.