Downloads:

83

Downloads of v 1.16.0.0:

74

Last Update:

12 Feb 2021

Package Maintainer(s):

Software Author(s):

  • KellermanSoftware

Tags:

file fast search

Code Searcher

  • 1
  • 2
  • 3

1.16.0.0 | Updated: 12 Feb 2021

Downloads:

83

Downloads of v 1.16.0.0:

74

Maintainer(s):

Software Author(s):

  • KellermanSoftware

  • 1
  • 2
  • 3
Code Searcher 1.16.0.0

  • 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:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

📝 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/)


2. Setup Your Environment

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 Download

3. Copy Your Script

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

See options you can pass to upgrade.

See best practices for scripting.

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 code-searcher -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 code-searcher
  win_chocolatey:
    name: code-searcher
    version: '1.16.0.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'code-searcher' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.16.0.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller code-searcher
{
    Name     = "code-searcher"
    Version  = "1.16.0.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'code-searcher':
  ensure   => '1.16.0.0',
  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 by moderator flcdrg on 27 Feb 2021.

Description

Code Searcher is faster than Windows Explorer, Agent Ransack, File Locator Pro, Directory Opus, PowerDesk Pro or Total Commander. It searches only your source code. It uses multiple processors to find files on disk, perform file matches, and match text. It automatically excludes directories such as packages, node_modules, bower_components. It excludes minified files. Code Searcher has an internal database of valid source code extensions so that it only searches for source code files. Create an index to perform searching as you type.


tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName= 'code-searcher' # arbitrary name for the package, used in messages
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = '' # download url, HTTPS preferred
$url64      = '' # 64bit URL here (HTTPS preferred) or remove - if installer contains both (very rare), use $url
$fileLocation = Join-Path $toolsDir 'CodeSearcher_Chocolatey.exe'
$destDir    = Join-Path $toolsDir 'bin'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = $url
  url64bit      = $url64
  file         = $fileLocation

  softwareName  = 'code-searcher*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique

  checksum      = '36da2396eb74ddb0b2007908c66c647b8835781116c5a808577604bd11cb18dd'
  checksumType  = 'sha256' #default is md5, can also be sha1, sha256 or sha512
  checksum64    = '36da2396eb74ddb0b2007908c66c647b8835781116c5a808577604bd11cb18dd'
  checksumType64= 'sha256' #default is checksumType

   silentArgs    = "/SILENT=YES /DESTINATION=$destDir"
  validExitCodes= @(0, 3010, 1641)
}

Install-ChocolateyInstallPackage @packageArgs # https://chocolatey.org/docs/helpers-install-chocolatey-install-package

$DesktopPath = [Environment]::GetFolderPath("Desktop")
$StartPath = [Environment]::GetFolderPath("StartMenu")

$targetPath = Join-Path $toolsDir 'bin\KellermanSoftware.Code-Searcher.exe'
$shortcutFilePath = Join-Path $DesktopPath 'Code Searcher.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$targetPath = Join-Path $toolsDir 'bin\KellermanSoftware.Code-Searcher.exe'
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher\Code Searcher.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$targetPath = Join-Path $toolsDir 'bin\Code-Searcher-Help.chm'
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher\Code Searcher Help.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher\Uninstall.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath 'choco' -Arguments 'uninstall code-searcher' -RunAsAdmin









tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName = 'code-searcher'
$softwareName = 'code-searcher*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
$installerType = 'EXE' 

$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
  $validExitCodes = @(0)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
  $key | % { 
    $file = "$($_.UninstallString)"

    if ($installerType -eq 'MSI') {
      $silentArgs = "$($_.PSChildName) $silentArgs"

      $file = ''
    }

    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}


$DesktopPath = [Environment]::GetFolderPath("Desktop")
$StartPath = [Environment]::GetFolderPath("StartMenu")

$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher\Uninstall.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $DesktopPath 'Code Searcher.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher\Code Searcher.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher\Code Searcher Help.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Kellerman Software\Code Searcher'
Remove-Item $shortcutFilePath



tools\CodeSearcher_Chocolatey.exe
md5: 73B947C342CC30B1CB14F3362BA1DF39 | sha1: C7E1F7D4F3C2C5BC792674779B44FF546E08C411 | sha256: 36DA2396EB74DDB0B2007908C66C647B8835781116C5A808577604BD11CB18DD | sha512: 7679C0A08E1ADFDAF271FDFCE57E34C6E2AAB41C8623118DDEC291082DB50F43BD0642A4BF64D0A2C5F0B96E0E331E32C4FF6C8E0656B1DB541729EF49011F8F
tools\CodeSearcher_Chocolatey.exe.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v2.0.50727"/>
    <supportedRuntime version="v4.0" />
  </startup>
</configuration>
tools\LICENSE.txt

From: http://www.kellermanstores.com/downloads/licensing/code-searcher.rtf

LICENSE

Kellerman Software END-USER LICENSE AGREEMENT FOR Code Searcher

Kellerman Software END-USER SOFTWARE LICENSE AGREEMENT 

This End-User License Agreement ("EULA") pertains to Kellerman Software Copyrighted computer software (the "Software") in the package containing CD-ROMs, diskettes, associated media, printed materials or electronic documentation.  Please read the terms and conditions of this End-User License Agreement ("EULA") before installing or otherwise using the Software. 

This End-User License Agreement ("EULA") is a legally enforceable contract between you ("Customer" or "you") and Kellerman Software a Sole Proprietorship of Ohio ("Kellerman Software").  By clicking "I agree", installing, copying, or otherwise using any part of the Software or any associated media, any printed materials, or any "online" or electronic documentation, you agree to be bound by the terms of this EULA.  If you do not agree to the terms of this EULA, promptly return the unused Software to your supplier for a full refund. 

1.	GRANT OF NON-EXCLUSIVE, LIMITED LICENSE

The Software and related documentation is licensed, not sold. Any rights not clearly and expressly granted to you under this EULA are reserved to Kellerman Software. Provided you have paid all applicable fees, registered the Software with Kellerman Software, and otherwise complied with this EULA, Kellerman Software grants you the following personal, non-exclusive, non-transferable, limited rights:

a.	The Software may only be used by a single user per license purchased.  You may copy the Software for archival purposes, provided the copy contains all of the original Software's proprietary notices.

b.	You may not decompile, disassemble, extract or otherwise reverse engineer any of the Software. You shall not have the right to obtain or use any source code for the Software, nor copy, reproduce, disclose, rent, lease, loan, distribute or use the Software except as provided above.  


2.	WARRANTY, REMEDY, AND LIMITATIONS


a.	KELLERMAN SOFTWARE WARRANTS THAT THE SOFTWARE WILL PERFORM IN SUBSTANTIAL ACCORDANCE WITH THE ACCOMPANYING USER MANUAL FOR 90 DAYS FOLLOWING YOUR RECEIPT OF THE SOFTWARE.  THIS IS YOUR ONLY WARRANTY.

b.	KELLERMAN SOFTWARE' SOLE OBLIGATION AND YOUR EXCLUSIVE REMEDY FOR ANY WARRANTY FAILURE IS TO FOLLOW KELLERMAN SOFTWARE' REGULAR BUSINESS PRACTICES FOR THE CORRECTION, REPLACEMENT OR REMEDY OF A DEFECT.

c.	UNLESS OTHERWISE STATED ABOVE, THE SOFTWARE AND THE DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK ARISING OUT OF THE USE OR PERFORMANCE OF THIS SOFTWARE REMAINS WITH YOU.  IN NO EVENT WILL Kellerman Software OR ANY OF ITS SUPPLIERS BE LIABLE FOR ANY INCIDENTAL, CONSEQUENTIAL, INDIRECT OR OTHER SPECIAL DAMAGES, INCLUDING LOST DATA, LOST REVENUES OR LOST PROFITS, EVEN IF THEY HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  KELLERMAN SOFTWARE RESERVES THE RIGHT TO MODIFY THIS DOCUMENT AT ANY TIME WITHOUT OBLIGATION TO NOTIFY ANYONE.   IN NO EVENT SHALL KELLERMAN SOFTWARE OR ITS SUPPLIERS' LIABILITY UNDER THIS AGREEMENT EXCEED THE SUM OF ANY AMOUNTS PAID HEREUNDER BY YOU TO KELLERMAN SOFTWARE OR THE SUPPLIER.

3.	TERMINATION

The license will terminate automatically if you fail to comply with the terms, conditions, or limitations contained in this EULA, including the payment of applicable license or other fees.  You may terminate this EULA at any time (with no obligation on the part of Kellerman Software) by destroying all copies of the Software, deleting any copies of the Software from your hard drives, ceasing all use of the Software and documentation; and providing satisfactory proof to Kellerman Software that you have done so.  The disclaimer of warranty and limitations on liability contained in Section 4 shall continue in force even after your rights to use the Software are terminated.

4.   DEMO OR EVALUATION VERSIONS

If Kellerman Software designates the Software as a "Demo" or "Evaluation" version, you may use the Software solely for evaluation purposes for a 30-day period.  Use of the Software and/or documentation beyond the 30-day evaluation period violates Kellerman Software' rights, as described above, including but not limited to Kellerman Software' rights under the United States Copyright Act. You acknowledge that any Demo or Evaluation version is merely a technology demonstration that may not be at the level of performance or compatibility of generally available Kellerman Software' products. Demo or Evaluation versions are provided strictly on an "as is" basis and are subject to Section 2 above.

5.   UPGRADES

If the Software is designated by Kellerman Software as an Upgrade product, you may only use the Software if you are also currently a licensed user of the base product to which the Upgrade applies.  Unless the Kellerman Software documentation for an Upgrade specifically provides, you shall not separate upgrade products from base products, nor transfer them separately.  Kellerman Software reserves the sole and exclusive right to set its policies and prices regarding updates, upgrades and enhancements.  All other terms of this EULA apply with equal force to any such Upgrades.

6.   TRANSFER OF OWNERSHIP

You may transfer the license of the software to another owner provided that:
a.	The recipient must agree to all the terms of this EULA.
b.	You must provide all original materials including software disks, and any other part of the Software's physical distribution to the recipient.
c.	You must remove all installations of the Software.
d.	You must notify Kellerman Software in writing of the ownership transfer; including the name address, phone and email of the new owner.
e.	You must transfer all versions and upgrades of the software to the recipient.  You may not transfer previous versions and upgrades to different recipients.  


7.   GENERAL/MISCELLANEOUS CLAUSES

This EULA shall be governed by and construed under the substantive laws applicable to the State of Ohio, United States of America.  If any provision of this EULA is held to be unenforceable, the remaining provisions shall remain in full force and effect.

The undersigned agrees that this EULA is entered into at Columbus, Ohio, and further agrees that any legal or equitable dispute brought or arising under this Agreement shall be brought in the State and Federal courts for Columbus, Ohio. This Agreement constitutes the entire Agreement between the undersigned and Kellerman Software about the Software and documentation, and shall not be modified except in a writing signed by Kellerman Software. 



tools\VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
This is all software from Kellerman Software.  References:  https://kellermansoftware.com/products/source-code-search-tool

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status

Initial Release


This package has no dependencies.

Discussion for the Code Searcher Package

Ground Rules:

  • This discussion is only about Code Searcher and the Code Searcher package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Code Searcher, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus