Skip to content

Commit

Permalink
AU: 2 updated - cloc vscode-java
Browse files Browse the repository at this point in the history
  • Loading branch information
dgalbraith committed Feb 18, 2024
1 parent 80496ec commit 726d6db
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion automatic/cloc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Software license](https://img.shields.io/badge/License-GPLv2-blue.svg)](https://github.com/AlDanial/cloc/blob/master/LICENSE)
[![Maintenance status](https://img.shields.io/badge/maintained%3F-yes-green.svg)](https://gitHub.com/dgalbraith/chocolatey-packages/graphs/commit-activity)
[![AppVeyor build](https://img.shields.io/appveyor/ci/dgalbraith/chocolatey-packages)](https://ci.appveyor.com/project/dgalbraith/chocolatey-packages)
[![Software version](https://img.shields.io/badge/Source-v1.98-blue.svg)](https://github.com/AlDanial/cloc/releases/tag/1.98)
[![Software version](https://img.shields.io/badge/Source-v2.00-blue.svg)](https://github.com/AlDanial/cloc/releases/tag/2.00)
[![Chocolatey package version](https://img.shields.io/chocolatey/v/cloc?label=Chocolatey)](https://chocolatey.org/packages/cloc)

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Given two
Expand Down
4 changes: 2 additions & 2 deletions automatic/cloc/cloc.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cloc</id>
<version>1.98</version>
<version>2.00</version>
<packageSourceUrl>https://github.com/dgalbraith/chocolatey-packages/tree/master/automatic/cloc</packageSourceUrl>
<owners>dgalbraith</owners>
<title>Count Lines of Code (CLOC)</title>
Expand Down Expand Up @@ -54,7 +54,7 @@ OpenBSD, Mac OS X, AIX, HP-UX, Solaris, IRIX, z/OS, and Windows.
If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.
]]></description>
<releaseNotes>https://github.com/AlDanial/cloc/releases/download/1.98/release_notes-1.98.txt</releaseNotes>
<releaseNotes>https://github.com/AlDanial/cloc/releases/download/2.00/release_notes-2.00.txt</releaseNotes>
</metadata>
<files>
<file src="legal\**" target="legal" />
Expand Down
12 changes: 6 additions & 6 deletions automatic/cloc/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ be verified by:

https://github.com/AlDanial/cloc/releases/

and download the file cloc-1.98.exe using the links on the page.
and download the file cloc-2.00.exe using the links on the page.

Alternatively the file can be downloaded directly from

https://github.com/AlDanial/cloc/releases/download/1.98/cloc-1.98.exe
https://github.com/AlDanial/cloc/releases/download/2.00/cloc-2.00.exe

2. The archive can be validated by comparing checksums
- Use powershell function 'Get-Filehash' - Get-Filehash -Algorithm sha256 cloc-1.98.exe
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f cloc-1.98.exe
- Use powershell function 'Get-Filehash' - Get-Filehash -Algorithm sha256 cloc-2.00.exe
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f cloc-2.00.exe

File: cloc-1.98.exe
File: cloc-2.00.exe
Type: sha256
Checksum: 88615D193EC8C06F7CEEC3CC1D661088AF997798D87DDFF331D9E9F9128A6782
Checksum: 7A234EF0CB495DE1B5776ACF88C5554E2BAB1FB02725A5FB85756A6DB3121C1F


Contents of file LICENSE.txt is obtained from https://github.com/AlDanial/cloc/blob/master/LICENSE
2 changes: 1 addition & 1 deletion automatic/cloc/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Remove-Item -Path $legacy -Force -ErrorAction SilentlyContinue | Out-Null

$binArgs = @{
name = $env:ChocolateyPackageName
path = "$toolsDir\cloc-1.98.exe"
path = "$toolsDir\cloc-2.00.exe"
}

Install-BinFile @binArgs
2 changes: 1 addition & 1 deletion automatic/cloc/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$binArgs = @{
name = $env:ChocolateyPackageName
path = "$toolsDir\cloc-1.98.exe"
path = "$toolsDir\cloc-2.00.exe"
}

Remove-BinFile @binArgs
10 changes: 5 additions & 5 deletions automatic/vscode-java/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ and can be verified by:

https://marketplace.visualstudio.com/items?itemName=redhat.java

and download the extension redhat.java-1.28.2024021408.vsix using the Download Extension link
and download the extension redhat.java-1.29.2024021608.vsix using the Download Extension link
in the Resources section of the sidebar.

Alternatively the package can be downloaded directly from

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/redhat/vsextensions/java/1.28.2024021408/vspackage
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/redhat/vsextensions/java/1.29.2024021608/vspackage

2. The package can be validated by comparing checksums
- Use powershell function 'Get-Filehash' - Get-Filehash redhat.java-1.28.2024021408.vsix
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f redhat.java-1.28.2024021408.vsix
- Use powershell function 'Get-Filehash' - Get-Filehash redhat.java-1.29.2024021608.vsix
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f redhat.java-1.29.2024021608.vsix

Type: sha256
Checksum: 816DB582697CB952E378EC964484DD4E78206FE1F0E56AF7C70B8AE348DC97EE
Checksum: 64F266FF097AFCED663CF97980BB5B3A6859C00E71BA6ADD44853C12522D4DA9

File LICENSE.txt is obtained from https://marketplace.visualstudio.com/items/redhat.java/license
2 changes: 1 addition & 1 deletion automatic/vscode-java/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-VsCodeExtension -extensionId "$toolsDir\redhat.java-1.28.2024021408.vsix"
Install-VsCodeExtension -extensionId "$toolsDir\redhat.java-1.29.2024021608.vsix"
2 changes: 1 addition & 1 deletion automatic/vscode-java/vscode-java.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>vscode-java</id>
<version>1.28.2024021408</version>
<version>1.29.2024021608</version>
<packageSourceUrl>https://github.com/dgalbraith/chocolatey-packages/tree/master/automatic/vscode-java</packageSourceUrl>
<owners>dgalbraith</owners>
<title>Java Language Support VSCode Extension</title>
Expand Down

0 comments on commit 726d6db

Please sign in to comment.