Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Aug 7, 2024
2 parents 6868c15 + 80820ef commit f6b8f18
Show file tree
Hide file tree
Showing 1,144 changed files with 14,391 additions and 10,429 deletions.
37 changes: 26 additions & 11 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '{build}'
pull_requests:
do_not_increment_build_number: true
max_jobs: 1
#build_cloud: D-W-CLERF
#build_cloud: V-10-MAYNV
image: Visual Studio 2022
# History plugin requires complete log
#clone_depth: 5
Expand All @@ -30,6 +30,9 @@ environment:
gitter_webhook:
secure: SuvLP4KrBXFvRRG7tcBiTUJvh8urQl3gOu4WYjLO9ZEXX0wZB3CwmIx1VnoA4I009yKsuPdPZ1P6NTuE7Vt9Cg==

# Hash
hash_algo: sha256

# VT API Key
VT_APIKEY:
secure: L/54pv851SIun4fRQsrx3kbmvBjuPRYE0bwuH/tDwSZCDbqSsHFE2udKIXnGLNL9AFRz9bBLJmVPUqXabn3tBqO45DJpCq0XjUSDDseoBCg=
Expand All @@ -53,14 +56,14 @@ environment:
secure: aXQkG8BvsO7/zFDzAb7ADCdvottWbXf1sRoC34DUk9RIvzOiIdjprfw39CvNT4WK

#Chocolatey version we want to use when checking for updates (usually latest).
choco_version: '2.2.2'
choco_version_pr: '2.1.0' # Should be kept to the version available one year ago
choco_version: '2.3.0'
choco_version_pr: '2.2.0' # Should be kept to the version available one year ago
nupkg_cache_path: C:\packages

#Gitlab informations
gitlab_user: tunisiano187 # GitLab username to use for the push
gitlab_api_key:
secure: xn8YPH4im1DX1Fu4IsaT+16dMibfpbkfNM8Llj9q2mA= # GitLab API key associated with gitlab_user
secure: /Y5grZ+4FFm0+dOyuSD9zBah6vtE26U/505yI3Vnw4Y= # GitLab API key associated with gitlab_user
gitlab_PushURL: https://gitlab.com/chocolatey-packages/automatic-updating.git # GitLab URL to push to. Must be HTTP or HTTPS. e.g. https://git.example.org/jekotia/au.git
gitlab_commit_strategy: atomictag

Expand All @@ -74,17 +77,20 @@ install:
$chocoVersion = if (($Env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null) -or ($ENV:APPVEYOR_PULL_REQUEST_NUMBER -eq '')) { $Env:choco_version } else { $Env:choco_version_pr }
if (!(Test-Path "$env:nupkg_cache_path")) { mkdir -Force "$env:nupkg_cache_path" }
@{
'7zip.install' = '24.7.0'
'chocolatey' = $chocoVersion
'wormies-au-helpers' = '0.4.1'
'checksum' = '0.3.1'
'keepass.install' = '2.56.0'
'keepass.install' = '2.57.0'
'vt-cli' = '1.0.0'
'autohotkey' = '1.1.37.1'
'pngquant' = '3.0.3'
'jpegoptim' = '1.5.5.1'
}.GetEnumerator() | % {
if (!(Test-Path "${env:nupkg_cache_path}\$($_.Key).$($_.Value).nupkg")) { rm "${env:nupkg_cache_path}\$($_.Key).*.nupkg" ; iwr "https://chocolatey.org/api/v2/package/$($_.Key)/$($_.Value)" -OutFile "${env:nupkg_cache_path}\$($_.Key).$($_.Value).nupkg" }
if ($_.Key -eq 'chocolatey') { choco update $_.Key --version $_.Value --source ${env:nupkg_cache_path} --allow-downgrade --pre }
else { choco install $_.Key --version $_.Value --source ${env:nupkg_cache_path} --ignore-dependencies }
else { choco install -y $_.Key --version $_.Value --source ${env:nupkg_cache_path} --ignore-dependencies }
}
choco upgrade -y chocolatey
rm "$env:ChocolateyInstall\logs\*.log"
Expand Down Expand Up @@ -146,6 +152,7 @@ build_script:
}
$lastupdated=git log -1 --stat | Where-Object {$_ -match "automatic"} | Where-Object {$_ -notmatch "'automatic"}
if($lastupdated.Count -ne 0 -and ($Env:APPVEYOR_SCHEDULED_BUILD -ne 'true')) {
$Env:au_Push = "false"
$packages = $lastupdated.split('/').split(' ')
Write-Host "PUSHING PACKAGES: $packages"
foreach ($line in $packages) {
Expand All @@ -166,13 +173,17 @@ build_script:
write-host "None Forced"
}
}
git remote set-url origin https://$($env:gitlab_user):$($env:gitlab_api_key)@gitlab.com/chocolatey-packages/automatic-updating.git
#git remote set-url origin https://$($env:gitlab_user):$($env:gitlab_api_key)@gitlab.com/chocolatey-packages/automatic-updating.git
git remote set-url origin https://$($env:github_api_key):[email protected]/tunisiano187/Chocolatey-packages.git
git config --global user.email "[email protected]"
git config --global user.name "$env:gitlab_user"
git checkout master
cd scripts
Import-Module .\au_extensions.psm1
cd ..
$moduleWormiesPath = "$Env:ProgramFiles\WindowsPowerShell\Modules\Wormies-AU-Helpers\public\Update-Metadata.ps1"
$moduleWormiesPath = Resolve-Path $moduleWormiesPath
Copy-Item scripts/Update-Metadata.ps1 $moduleWormiesPath
Write-Host "Checking nuspec errors"
scripts/Find-NuspecError.ps1
git commit -am "Nuspec errors"
Expand All @@ -183,7 +194,7 @@ build_script:
scripts/Update-Variables.ps1
git commit -am "ps1 vars"
Write-Host "updating IconUrl in nuspec"
scripts/Update-IconUrl.ps1 -Quiet -GithubRepository "tunisiano187/Chocolatey-packages" -UseStopwatch -Optimize
scripts/Update-IconUrl.ps1 -Quiet -GithubRepository "tunisiano187/Chocolatey-packages" -UseStopwatch
git commit -am "Updating icons"
Write-Host "updating owners in nuspec"
import-module Wormies-AU-Helpers
Expand All @@ -192,12 +203,15 @@ build_script:
Write-Host "Updating Packages.md"
scripts/ListPackages.ps1
git commit -am "List packages"
Write-host "Check broken package"
tools/looknewer.ps1
git commit -am "Broken packages"
Write-Host "Downloading next issue's package"
scripts/Find-nextissue.ps1
git commit -am "next issue"
Write-host "Check broken package"
tools/looknewer.ps1
git commit -am "Broken packages"
Write-host "Remove NoCheckChocoVersion"
scripts/Remove-Nocheck.ps1
git commit -am "Remove NoCheckChocoVersion"
Write-Host "updating packages"
au/update_all.ps1 -ForcedPackages $forced
Get-EventLogs * | ? Source -eq 'Schannel' | fl * | out-file eventlogs.txt
Expand All @@ -214,6 +228,7 @@ on_finish:
'eventlogs.txt'
)
$paths | ? { Test-Path $_ } | % { Push-AppveyorArtifact $_ }
Remove-Item -Path $env:TEMP -Recurse -Force -ErrorAction SilentlyContinue
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

notifications:
Expand Down
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "nuget" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

30 changes: 30 additions & 0 deletions .github/workflows/closed-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Get new request

on:
workflow_dispatch:
issues:
types: [closed]

jobs:
search:
runs-on: windows-latest
env:
Github_personal_token: ${{ secrets.AU_GITHUB_API_KEY }}

steps:
- uses: actions/[email protected]
- name: Authenticate with GitHub
run: |
Install-Module PowerShellForGitHub -Force -ErrorAction SilentlyContinue
Import-Module PowerShellForGitHub
$tokenEncrypted = ConvertTo-SecureString -String ${{ secrets.AU_GITHUB_API_KEY }} -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential "anything", $tokenEncrypted
Set-GitHubAuthentication -Credential $cred
$cred = $null
shell: pwsh
- name: Check requests
run: |
Import-Module PowerShellForGitHub
Set-GitHubConfiguration -DisableTelemetry
Set-Location ${{ github.workspace }}
& ".\tools\looknewer.ps1"
19 changes: 19 additions & 0 deletions .github/workflows/edited-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check exception

on:
issues:
types: [edited]

jobs:
validation:
if: ${{ github.event.issue.state == 'open' }}
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/[email protected]
- name: Check exception
run: |
Import-Module "${{ github.workspace }}\scripts\edit.psm1"
Block-package -title "${{ github.event.issue.title }}" -issueNumber ${{ github.event.issue.number }} -repository "${{ github.event.repository.full_name }}" -actor "${{ github.event.issue.user.login }}"
19 changes: 19 additions & 0 deletions .github/workflows/new-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Get new package

on:
issues:
types: [opened]

jobs:
CheckpackageRequest:
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/[email protected]
- name: Get new package
run: |
Import-Module "${{ github.workspace }}\scripts\new.psm1"
Set-Location ${{ github.workspace }}
Find-nextissueGH -packageName "${{ github.event.issue.title }}" -actor "${{ github.event.issue.user.login }}"
11 changes: 11 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on:
pull_request:
types: [opened, reopened]
name: Pull Request
jobs:
assignAuthor:
name: Assign author to PR
runs-on: ubuntu-latest
steps:
- name: Assign author to PR
uses: technote-space/assign-author@v1
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@
- upload/
expire_in: 1 week
tags:
- shared-windows
- windows
- saas-windows-medium-amd64
Binary file added Help/broken.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>amazon-chime</id>
<version>5.23.31831</version>
<version>5.23.31911</version>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/amazon-chime</packageSourceUrl>
<owners>tunisiano</owners>
<title>amazon-chime (Install)</title>
<authors>Amazon</authors>
<projectUrl>https://aws.amazon.com/chime/</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@7cc8d197a0daa3297060d92a75902352d1cce156/icons/amazon-chime.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@0dc5f283c0b6fc9d9096a55ee3efb08e01ef1f2c/icons/amazon-chime.png</iconUrl>
<copyright>Amazon</copyright>
<licenseUrl>https://aws.amazon.com/service-terms/</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
Expand All @@ -28,9 +28,9 @@ inbound calling, outbound calling, or both. Developers can also use Voice Connec
applications using the Amazon Chime SDK or stream audio for phone call analytics and machine learning.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<releaseNotes>### Package

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

$ErrorActionPreference = 'Stop';
$url = 'https://clients.chime.aws/win/latest'
$checksum = '8a742887272b76bf810a59a16343e2f3bfc9b11bd9e6f92a70138fe5da9eae65'
$checksum = 'b31ef8f7e131c9de5141c0e4f991d4b1fbd5520be630446c372fcc7563685d7d'
$checksumType = 'sha256'

$packageArgs = @{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$ErrorActionPreference = 'Stop'
import-module au
import-module AU
Import-Module ..\..\scripts\au_extensions.psm1

$release = 'https://clients.chime.aws/win/latest'

Expand Down Expand Up @@ -28,4 +29,4 @@ function global:au_GetLatest {
return $Latest
}

update -ChecksumFor 32 -NoCheckChocoVersion
update -ChecksumFor 32 -NoCheckChocoVersion
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions Notupdatedanymore/dotnet-verification-tool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[![](https://img.shields.io/chocolatey/v/dotnet-verification-tool?color=green&label=dotnet-verification-tool)](https://chocolatey.org/packages/dotnet-verification-tool) [![](https://img.shields.io/chocolatey/dt/dotnet-verification-tool)](https://chocolatey.org/packages/dotnet-verification-tool)

## .NET Framework Setup Verification Tool (Portable)

##.NET Framework Setup Verification Tool User’s Guide

###Introduction

This .NET Framework setup verification tool is designed to automatically perform a set of steps to verify the installation state of one or more versions of the .NET Framework on a computer. It will verify the presence of files, directories, registry keys and values for the .NET Framework. It will also verify that simple applications that use the .NET Framework can be run correctly.

If the verification tool finds any issues, there is a .NET Framework Repair Tool that can be found at the following locations:

http://support.microsoft.com/kb/2698555
http://go.microsoft.com/fwlink/?LinkID=246062
Additional support can be obtained by visiting the .NET Framework setup forum at http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads.

By default, the .NET Framework setup verification tool will only list versions of the .NET Framework that it detects are installed on the computer that it is being run on. As a result, the tool will not list all of the above versions of the .NET Framework. This product filtering can be overridden by running the .NET Framework setup verification tool with the following command line switch:

netfx_setupverifier.exe /q:a /c:”setupverifier2.exe /a”

#### [choco://dotnet-verification-tool](choco://dotnet-verification-tool)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>dotnet-verification-tool</id>
<version>4.6.01528.0</version>
<title>.NET Framework Setup Verification Tool (Portable)</title>
<authors>Microsoft</authors>
<owners>tunisiano</owners>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/dotnet-verification-tool</packageSourceUrl>
<projectUrl>https://blogs.msdn.microsoft.com/astebner/2008/10/13/net-framework-setup-verification-tool-users-guide/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>##.NET Framework Setup Verification Tool User’s Guide

###Introduction

This .NET Framework setup verification tool is designed to automatically perform a set of steps to verify the installation state of one or more versions of the .NET Framework on a computer. It will verify the presence of files, directories, registry keys and values for the .NET Framework. It will also verify that simple applications that use the .NET Framework can be run correctly.

If the verification tool finds any issues, there is a .NET Framework Repair Tool that can be found at the following locations:

http://support.microsoft.com/kb/2698555
http://go.microsoft.com/fwlink/?LinkID=246062
Additional support can be obtained by visiting the .NET Framework setup forum at http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads.

Supported products

The .NET Framework setup verification tool supports verifying the following products:

.NET Framework 1.0
.NET Framework 1.1
.NET Framework 1.1 SP1
.NET Framework 2.0
.NET Framework 2.0 SP1
.NET Framework 2.0 SP2
.NET Framework 3.0
.NET Framework 3.0 SP1
.NET Framework 3.0 SP2
.NET Framework 3.5
.NET Framework 3.5 SP1
.NET Framework 4 Client
.NET Framework 4 Full
.NET Framework 4.5
.NET Framework 4.5.1
.NET Framework 4.5.2
.NET Framework 4.6
.NET Framework 4.6.1
By default, the .NET Framework setup verification tool will only list versions of the .NET Framework that it detects are installed on the computer that it is being run on. As a result, the tool will not list all of the above versions of the .NET Framework. This product filtering can be overridden by running the .NET Framework setup verification tool with the following command line switch:

netfx_setupverifier.exe /q:a /c:”setupverifier2.exe /a”</description>
<summary>This .NET Framework setup verification tool is designed to automatically perform a set of steps to verify the installation state of one or more versions of the .NET Framework on a computer.</summary>
<releaseNotes />
<tags>.NET Framework setup and deployment Diagnosing Essentials for troubleshooting Pages Setup Issues admin</tags>
<docsUrl>https://blogs.msdn.microsoft.com/astebner/2008/10/13/net-framework-setup-verification-tool-users-guide/</docsUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$ErrorActionPreference = 'Stop'
$packageName = 'dotnet-verification-tool'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/08/99/90/04/netfx_setupverifier_new_2015_12_18.zip'
$checksum = '360D78D359F54C09A87CBB044D83E6ADD256AFD14DA278FE023BE59237F9486C'
$checksumType = 'sha256'

$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'ZIP'
url = $url
checksum = $checksum
checksumType = $checksumType
}

Install-ChocolateyZipPackage @packageArgs
Install-ChocolateyShortcut -shortcutFilePath "$env:Public\Desktop\dotNET Framework Setup Verification Tool.lnk" -targetPath "$toolsDir\netfx_setupverifier.exe" -WorkingDirectory "$toolsDir"
Install-ChocolateyShortcut -shortcutFilePath "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\dotNET Framework Setup Verification Tool.lnk" -targetPath "$toolsDir\netfx_setupverifier.exe" -WorkingDirectory "$toolsDir"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$packageName = 'dotnet-verification-tool'

remove-item "$env:Public\Desktop\dotNET Framework Setup Verification Tool.lnk" -Force -ErrorAction 'SilentlyContinue'
remove-item "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\dotNET Framework Setup Verification Tool.lnk" -Force -ErrorAction 'SilentlyContinue'

Loading

0 comments on commit f6b8f18

Please sign in to comment.