#### delta

• 1
• 2
• 3

0.15.1 | Updated: 04 Dec 2022

5,899

63

Maintainer(s):

Software Author(s):

• Dan Davison
• 1
• 2
• 3

### Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details

### Deployment Method: Individual Install, Upgrade, & Uninstall

To install delta, run the following command from the command line or from PowerShell:

>

To upgrade delta, run the following command from the command line or from PowerShell:

>

To uninstall delta, run the following command from the command line or from PowerShell:

>

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

### 1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)

#### 1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

#### 2. Get the package into your environment

• Open Source or Commercial:
• Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
• You can also just download the package and push it to a repository

choco upgrade delta -y --source="'INTERNAL REPO URL'" [other options]

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade delta -y --source="'INTERNAL REPO URL'"
$exitCode =$LASTEXITCODE

Write-Verbose "Exit code was $exitCode"$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains$exitCode) {
Exit 0
}

Exit $exitCode   - name: Install delta win_chocolatey: name: delta version: '0.15.1' source: INTERNAL REPO URL state: present   chocolatey_package 'delta' do action :install source 'INTERNAL REPO URL' version '0.15.1' end   cChocoPackageInstaller delta { Name = "delta" Version = "0.15.1" Source = "INTERNAL REPO URL" }  Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.  package { 'delta': ensure => '0.15.1', provider => 'chocolatey', source => 'INTERNAL REPO URL', }  Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey. ### 4. If applicable - Chocolatey configuration/installation See infrastructure management matrix for Chocolatey configuration elements and examples. This package was approved as a trusted package on 04 Dec 2022. Description Delta provides language syntax-highlighting, within-line insertion/deletion detection, and restructured diff output for git on the command line. tools\chocolateyinstall.ps1 $ErrorActionPreference = 'Stop'; # stop on all errors

$toolsDir = Split-Path -parent$MyInvocation.MyCommand.Definition
$workingDir = Join-Path$toolsDir "extract"
$packageArgs = @{ PackageName =$env:ChocolateyPackageName
FileFullPath64 = Get-Item $toolsDir\*.zip Destination =$workingDir
}

Get-ChocolateyUnzip @packageArgs
$extractedBinaryPath = Get-ChildItem -r$workingDir -fi delta.exe | Select-Object -expand FullName
Move-Item -Force $extractedBinaryPath$toolsDir
Remove-Item -r -fo \$workingDir

tools\delta-0.15.1-x86_64-pc-windows-msvc_x64.zip
md5: 96731B8D0B4B305564D8D1ED151DFA6E | sha1: E611298A242281814B769EA02F4290E28247734A | sha256: 4BA69BA67EFF330B5479873704A0EC86820671C735F06998697E7D0F3E7335FA | sha512: 250DE5C86AE8E91E4A2E977C1638D7516953E083BC169FE78CA136C6BD87A86CB065881DE25D292D77B747723E90319857A5434EB0D6E57EF18CD5F6B0CC9BF6


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to

2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum64: 4BA69BA67EFF330B5479873704A0EC86820671C735F06998697E7D0F3E7335FA

Using AU:


In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

delta 0.15.0 19 Saturday, December 3, 2022 Approved
delta 0.14.0 670 Thursday, September 1, 2022 Approved
delta 0.13.0 666 Saturday, May 14, 2022 Approved
delta 0.12.1 470 Sunday, March 6, 2022 Approved
delta 0.12.0 221 Tuesday, February 15, 2022 Approved
delta 0.11.3 371 Thursday, December 16, 2021 Approved
delta 0.11.2 157 Wednesday, December 8, 2021 Approved
delta 0.11.1 88 Tuesday, December 7, 2021 Approved
delta 0.11.0 59 Monday, December 6, 2021 Approved

This package has no dependencies.

Discussion for the delta Package