#### Vim

1,939,171

19

Maintainer(s):

Software Author(s):

• Bram Moolenaar
• Vim Community
• 1
• 2
• 3

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

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Failed

Details

Scan Testing Pending

This package was rejected on 02 Nov 2022. The reviewer chocolatey-ops has listed the following reason(s):

#### chocolatey-community (maintainer) on 28 Sep 2022 12:15:48 +00:00:

User 'chocolatey-community' (maintainer) submitted package.

#### chocolatey-ops (reviewer) on 28 Sep 2022 12:52:29 +00:00:

vim has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

##### Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

• There are more than 3 automation scripts in this package. This is not recommended as it increases the complexity of the package. More...
##### Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

• Binary files (.exe, .msi, .zip) have been included. The reviewer will ensure the maintainers have distribution rights. More...

#### chocolatey-ops (reviewer) on 28 Sep 2022 13:04:15 +00:00:

vim has failed automated package testing (verification).
The package status will be changed and will be waiting on your next actions.

• NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See https://github.com/chocolatey-community/chocolatey-test-environment
• If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
• If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
• Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
• A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

#### chocolatey-ops (reviewer) on 18 Oct 2022 12:53:46 +00:00:

We've found vim v9.0.0612 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

• Resubmit fixes for this version.
• If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

#### chocolatey-ops (reviewer) on 02 Nov 2022 12:54:00 +00:00:

Unfortunately there has not been progress to move vim v9.0.0612 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Vim is often called a programmer's editor, and so useful for programming that many consider it an entire IDE. It's not just for programmers, though. Vim is perfect for all kinds of text editing, from composing email to editing configuration files.

## Features

• Vim: Vim terminal(CLI) application can be used from Powershell and Command Prompt.

• GVim: The GUI version of Vim provides full featured Windows GUI application experience.

• Terminal Integration: Batch files are created to provide vim, gvim, evim, view, gview, vimdiff, gvimdiff and vimtutor command on terminal use.

• Shell Integration: Vim is added in Open with ... context menu. And by default Edit with Vim context menu is created to open files whose extensions are associated with other applications.

• /InstallDir - Override the installation directory. By default, the software is installed in $ChocolateyToolsLocation, it's default value is C:\tools. You can include spaces. See the example below. • /RestartExplorer - Restart Explorer to unlock GVimExt.dll used for Edit with Vim context menu feature. • /NoDefaultVimrc - Don't create default _vimrc file. • /NoContextmenu - Don't create Edit with Vim context menu. • /NoDesktopShortcuts - Don't create shortcuts on the desktop. Example: choco install vim --params "'/NoDesktopShortcuts /InstallDir:C:\path\to\your dir'" ## Notes • This package uses the ZIP build to install to provide installation parameters. • All compilation of the software is automated and performed on Appveyor. The building status is open. • This package provides an official build. Similar package vim-tux is from a well-known unofficial vim building project. Unlike vim-tux, this package can take some installation parameters. • See https://github.com/vim/vim-win32-installer for more information. • If the package is out of date please check Version History for the latest submitted version. If you have a question, please ask it in Chocolatey Community Package Discussions or raise an issue on the Chocolatey Community Packages Repository if you have problems with the package. Disqus comments will generally not be responded to. tools\chocolateybeforemodify.ps1 $toolsDir = "$(Split-Path -parent$MyInvocation.MyCommand.Definition)"
$installDir = Get-Content "$toolsDir\installDir"
$shortversion = '90' try { # Is dlls locked? Remove-Item "$installDir\vim\vim$shortversion\GvimExt32\gvimext.dll", "$installDir\vim\vim$shortversion\GvimExt64\gvimext.dll" -ErrorAction Stop } catch { # Restart explorer to unlock dlls Write-Debug 'Restarting explorer.' Get-Process explorer | Stop-Process -Force }  tools\chocolateyinstall.ps1 $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"$shortversion = '90'
$pp = Get-PackageParameters .$toolsDir\helpers.ps1
$installDir = Get-InstallDir$packageArgs = @{
packageName   = $env:ChocolateyPackageName unzipLocation =$installDir
file          = "$toolsDir\gvim_9.0.0612_x86.zip" file64 = "$toolsDir\gvim_9.0.0612_x64.zip"
}

$installArgs = @{ statement = Get-Statement exeToRun = "$installDir\vim\vim$shortversion\install.exe" } '$installDir', ($installDir | Out-String), '$packageArgs', ($packageArgs | Out-String), '$installArgs', ($installArgs | Out-String) | ForEach-Object { Write-Debug$_ }

Install-ChocolateyZipPackage @packageArgs | Write-Debug
Set-Content -Path "$toolsDir\installDir" -Value$installDir

tools\chocolateyuninstall.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"$installDir = Get-Content "$toolsDir\installDir"$shortversion = '90'
$statement = '-nsis'$exeToRun  = "$installDir\vim\vim$shortversion\uninstall.exe"

# From vim-tux.install.  Make input.
Set-Content -Path "$env:TEMP\vimuninstallinput" -Value 'y' Start-Process -FilePath$exeToRun -ArgumentList $statement -RedirectStandardInput "$env:TEMP\vimuninstallinput" -Wait -WindowStyle Hidden
Remove-Item "$env:TEMP\vimuninstallinput" Remove-Item "$installDir\vim" -Recurse -Force

tools\gvim_9.0.0612_x64.zip
md5: 1DC737675EE547AE5132F485280A7694 | sha1: A59AB838C7A7AE8B61942557E466CC167EBE0989 | sha256: A16F25840ED6FCF88B4CBFDDC1D48A4543A65726B46CF439A0FF6CC3BB8008BA | sha512: 85E64151106C09A7B7E4750223D361D3C6D1847F807BA6A74EEA6CEBD49AEA330C222A8C7635E05CA1BEA09579769DE92C06A45BE2D6E3A06414EAE1E68223C1
tools\gvim_9.0.0612_x86.zip
md5: 8100527A9623521994040BB1C990E683 | sha1: 994321101E58352B41109056ADC28D02F2C12D49 | sha256: 565B68D50F4A06FA4E16DE0AE66258BD202D75AB4DAE13FC452304EC8DEF502B | sha512: 8FAE7A1BA8D65F48EB345BBA1DC25295562DF7CB6BD9978DD7CF2554DB686F98C83CAADA07216B39E23A42272653263D2A60010C13F397822CA85949B8F6F756
tools\helpers.ps1
function Get-InstallDir()
{
if ($pp['InstallDir']) { Write-Debug '/InstallDir found.' return$pp['InstallDir']
}
return Get-ToolsLocation
}

function Get-Statement()
{
$options = '-create-batfiles vim gvim evim view gview vimdiff gvimdiff vimtutor -install-openwith -add-start-menu'$createvimrc  = '-create-vimrc -vimrc-remap no -vimrc-behave default -vimrc-compat all'
$installpopup = '-install-popup'$installicons = '-install-icons'
if ($pp['RestartExplorer'] -eq 'true') { Write-Debug '/RestartExplorer found.' Get-Process explorer | Stop-Process -Force } if ($pp['NoDefaultVimrc'] -eq 'true') {
Write-Debug '/NoDefaultVimrc found.'
$createvimrc = '' } if ($pp['NoContextmenu'] -eq 'true') {
$installpopup = '' } if ($pp['NoDesktopShortcuts'] -eq 'true') {
Write-Debug '/NoDesktopShortcuts found.'
$installicons = '' } return$options, $createvimrc,$installpopup, $installicons -join ' ' } # Replace old ver dir with symlink # Use mklink because New-Item -ItemType SymbolicLink doesn't work in test-env # Use rmdir because Powershell cannot unlink directory symlink function Create-SymbolicLink() { Get-ChildItem -Path "$installDir\vim" -Exclude "vim$shortversion" -Attributes Directory+!ReparsePoint | ForEach-Object { Remove-Item$_ -Recurse ; New-Item -Path $_ -ItemType Directory } Get-ChildItem -Path "$installDir\vim" -Exclude "vim$shortversion" -Attributes Directory | ForEach-Object {$_.Name } | ForEach-Object { cmd /c rmdir "$installDir\vim\$_" ; cmd /c mklink /d "$installDir\vim\$_"  "$installDir\vim\vim$shortversion" }
}

From: https://vimhelp.org/uganda.txt.html

I)  There are no restrictions on distributing unmodified copies of Vim except
that they must include this license text.  You can also distribute
unmodified parts of Vim, likewise unrestricted except that they must
include this license text.  You are also allowed to include executables
that you made from the unmodified Vim sources, plus your own usage
examples and Vim scripts.

II) It is allowed to distribute a modified (or extended) version of Vim,
including executables and/or source code, when the following four
conditions are met:
1) This license text must be included unmodified.
2) The modified Vim must be distributed in one of the following five ways:
a) If you make changes to Vim yourself, you must clearly describe in
the distribution how to contact you.  When the maintainer asks you
(in any way) for a copy of the modified Vim you distributed, you
must make your changes, including source code, available to the
maintainer without fee.  The maintainer reserves the right to
include your changes in the official version of Vim.  What the
will be distributed is negotiable.  If there has been no negotiation
then this license, or a later version, also applies to your changes.
The current maintainer is Bram Moolenaar <[email protected]>.  If this
changes it will be announced in appropriate places (most likely
vim.sf.net, www.vim.org and/or comp.editors).  When it is completely
impossible to contact the maintainer, the obligation to send him
your changes ceases.  Once the maintainer has confirmed that he has
b) If you have received a modified Vim that was distributed as
mentioned under a) you are allowed to further distribute it
unmodified, as mentioned at I).  If you make additional changes the
text under a) applies to those changes.
c) Provide all the changes, including source code, with every copy of
the modified Vim you distribute.  This may be done in the form of a
context diff.  You can choose what license to use for new code you
making their own changes to the official version of Vim.
d) When you have a modified Vim which includes changes as mentioned
under c), you can distribute it without the source code for the
changes if the following three conditions are met:
- The license that applies to the changes permits you to distribute
the changes to the Vim maintainer without fee or restriction, and
permits the Vim maintainer to include the changes in the official
version of Vim without fee or restriction.
- You keep the changes for at least three years after last
distributing the corresponding modified Vim.  When the maintainer
or someone who you distributed the modified Vim to asks you (in
any way) for the changes within this period, you must make them
available to him.
- You clearly describe in the distribution how to contact you.  This
contact information must remain valid for at least three years
after last distributing the corresponding modified Vim, or as long
as possible.
e) When the GNU General Public License (GPL) applies to the changes,
you can distribute the modified Vim under the GNU GPL version 2 or
any later version.
3) A message must be added, at least in the output of the ":version"
command and in the intro screen, such that the user of the modified Vim
is able to see that it was modified.  When distributing as mentioned
under 2)e) adding the message is only required for as far as this does
not conflict with the license used for the changes.
4) The contact information as required under 2)a) and 2)d) must not be
removed or changed, except that the person himself can make
corrections.

III) If you distribute a modified version of Vim, you are encouraged to use
the Vim license for your changes and make them available to the
maintainer, including the source code.  The preferred way to do this is
by e-mail or by uploading the files to a server and e-mailing the URL.
If the number of changes is small (e.g., a modified Makefile) e-mailing a
context diff will do.  The e-mail address to be used is
<[email protected]>

IV)  It is not allowed to remove this license from the distribution of the Vim
sources, parts of it or from a modified version.  You may use this

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

The embedded software have been downloaded from GitHub and can be verified like this:

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

checksum32: 565B68D50F4A06FA4E16DE0AE66258BD202D75AB4DAE13FC452304EC8DEF502B
checksum64: A16F25840ED6FCF88B4CBFDDC1D48A4543A65726B46CF439A0FF6CC3BB8008BA


No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Vim 9.0.1024 1720 Wednesday, December 7, 2022 Approved
Vim 9.0.1004 2769 Monday, December 5, 2022 Approved
Vim 9.0.1000 957 Sunday, December 4, 2022 Approved
Vim 9.0.0995 540 Saturday, December 3, 2022 Approved
Vim 9.0.0984 1051 Friday, December 2, 2022 Approved
Vim 9.0.0978 1697 Thursday, December 1, 2022 Approved
Vim 9.0.0975 1398 Wednesday, November 30, 2022 Approved
Vim 9.0.0969 1609 Tuesday, November 29, 2022 Approved
Vim 9.0.0962 1597 Monday, November 28, 2022 Approved

This package has no dependencies.

Discussion for the Vim Package