Notices: This section not yet converted to new layout. Download stats are rolling back out.

11,573

Downloads

152

Downloads of v 0.6.11.0

8/22/2016

Last update

Chocolatey Automatic Package Updater (for package maintainers)

0.6.11.0

Package test results are passing.

This package was approved as a trusted package on 8/22/2016.

ChocolateyPackageUpdater (chocopkgup) - your automatic package updating solution for package maintainers.

This works in conjunction with ketarin to keep the chocolatey packages you maintain automatically updated. So you don't even have to think about updating a package or keeping it up to date. It just happens. Automatically, in the background, and even faster than you could make it happen. It's almost as if you were the application/tool author.

See https://chocolatey.org/docs/automatic-packages for creating automatic packages.

FAQs

  1. Is it magic? I'm not sure.
  2. Does it work? Is like Schwarzenegger hard to spell?
  3. How does it work? See the project url for more information.
  4. Is it harder than maintaining a package myself? Not really. You pay an initial upfront cost, but it's small compared to maintenance over time.
  5. Is it perfect? Is anything?
  6. Is it free? Yes! As long as you release your packages openly at chocolatey.org, this is free! If you want to use it for private packages, you will need to pony up some $$.

To install Chocolatey Automatic Package Updater (for package maintainers), run the following command from the command line or from PowerShell:

C:\> choco install chocolateypackageupdater

To upgrade Chocolatey Automatic Package Updater (for package maintainers), run the following command from the command line or from PowerShell:

C:\> choco upgrade chocolateypackageupdater

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 
    $installDir = Join-Path $toolsDir 'chocopkgup' 
    $installDirBackup = $installDir.Replace("\lib\","\lib-bkp\")
    
    $binRoot = Get-BinRoot
    $oldInstallDir = Join-Path $binRoot 'ChocolateyPackageUpdater'
    $oldInstallDirBackup = Join-Path $binRoot 'ChocolateyPackageUpdater.backup'
    
    if ([System.IO.Directory]::Exists($oldInstallDir)) {
      Copy-Item "$($oldInstallDir)\chocopkgup.exe.config" "$installDir" -Force -Recurse
      Copy-Item "$($oldInstallDir)\chocopkgup.exe.config" "$installDirBackup" -Force -Recurse
      if (![System.IO.Directory]::Exists($oldInstallDirBackup)) {[System.IO.Directory]::CreateDirectory($oldInstallDirBackup)}
      Copy-Item "$($oldInstallDir)\*" "$oldInstallDirBackup" -Force -Recurse -ErrorAction Continue
      Write-Warning "Inspect and delete '$oldInstallDirBackup' - new install location is with package"
      [System.IO.Directory]::Delete($oldInstallDir, $true)
    }
    
  • tools\chocopkgup\chocopkgup.exe Show
    md5: D2258364060FA8F7C67655F3A89E2799 | sha1: 5135716C4A543A0EA3B490DA2EF6CEACC7CBAE0B | sha256: 03D3776B333F01298D15841245B27402BE8F3FD27DDC55B562868B23D3EEC992 | sha512: 1E53F3BF05B91366DD23B8A114AC68B7C77A94FA0DEB24CD78D6AFAA0AD7D441438566BA859BF23C292188AF1B46F96D6CA2CC19EF7F2C6129E55F389B725B37
  • tools\chocopkgup\chocopkgup.exe.config Show
    <?xml version="1.0"?>
    <configuration>
      <appSettings>
        <add key="PackagesFolder" value="C:\code\mine\chocolateyautomaticpackages" />
        <add key="TokenReplaceFileSearchPattern" value="*.txt|*.nuspec|*.ps1|*.config" />
        <add key="PS1FileToExecute" value="ChocoPkgUp.ps1" />
        <add key="LatestPackageVersionOnly" value="true" />
      </appSettings>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      </startup>
    </configuration>
    
  • tools\chocopkgup\chocopkgup.exe.config.install.xdt Show
    <?xml version="1.0"?>
    <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
      <appSettings>
        <add key="PackagesFolder" value="C:\code\mine\chocolateyautomaticpackages" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
        <add key="TokenReplaceFileSearchPattern" value="*.txt|*.nuspec|*.ps1|*.config" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
        <add key="PS1FileToExecute" value="ChocoPkgUp.ps1" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
        <add key="LatestPackageVersionOnly" value="false" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
      </appSettings>
    </configuration>
  • tools\chocopkgup\ketarinupdate.cmd Show
    @echo off
    For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c%%a%%b)
    For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a%%b)
    
    "Ketarin.exe" /silent /log=C:\ProgramData\chocolateypackageupdater\ketarin.%mydate%_%mytime%.log
    
  • tools\chocopkgup\License.txt Show
    Chocolatey Package Updater
    Copyright (C) 2012-Present RealDimensions Software, LLC ("RDS")
    ===================================================================
    Grant of License
    ===================================================================
    You may use Chocolatey Package Updater with this notice and the provided license.xml file if you use it only to keep packages up to date on (and only on) the feed(s) for http://chocolatey.org. 
    
    The use of feeds other than chocolatey.org ("proprietary feeds") is strictly prohibited.
    
    You can use other means to copy said packages from chocolatey.org to proprietary feeds provided the following criteria are met:
     1. The packages on chocolatey.org are not hidden or otherwise unusable from the site and client(s) that would connect to chocolatey.org. 
     2. Packages are updated first on chocolatey.org prior to being copied to proprietary feeds.
     3. Packages must remain available on chocolatey.org indefinitely or until the package is no longer usable. 
     4. The package must be removed from proprietary feeds at the same time as the package is hidden on chocolatey.org.
     3. This is the only grant of private/proprietary use and subject to change at any time with or without notice.
    
    If you would like to use this for private, proprietary, or other feeds that are not chocolatey.org, you must obtain a personal or commercial license to do so. To do that you must contact RDS at ferventcoder.com.
    
    This software is not free to distribute and should only be packaged on authorized sources, such as but not limited to chocolatey.org. If you would like to distribute this software, you must receive written permission from the software owner.
    
    ===================================================================
    End-User License Agreement
    ===================================================================
    EULA - Chocolatey Package Updater 
    
    IMPORTANT- READ CAREFULLY: This RealDimensions Software ("RDS") End-User License Agreement ("EULA") is a legal agreement between you("End User") and RDS for all RDS products, controls, source code, demos, intermediate files, media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT(S)") contained with this distribution. 
    
    RDS grants to you as an individual, a personal, nonexclusive license to install and use the SOFTWARE PRODUCT(S) for the sole purposes of keeping packages up to date on the feed(s) of http://chocolatey.org ("chocolatey.org"). By installing, copying, or otherwise using the SOFTWARE PRODUCT(S), you agree to be bound by the terms of this EULA. If you do not agree to any part of the terms of this EULA, DO NOT INSTALL, USE, OR EVALUATE, ANY PART, FILE OR PORTION OF THE SOFTWARE PRODUCT(S). 
    
    ALL SOFTWARE PRODUCT(S) are licensed not sold. If you are an individual, you must acquire an individual license for the SOFTWARE PRODUCT(S) from RDS or its authorized resellers. If you are an entity, you must acquire an individual license for each Developer End User and each Build Machine Running the SOFTWARE PRODUCT(S) within your organization from RDS or its authorized resellers. Both Virtual and Physical Build Machines running the SOFTWARE PRODUCT(S) must be counted in the SOFTWARE PRODUCT(S) licenses quantity of the organization.
    
    ===================================================================
    Commercial / Personal Licensing
    ===================================================================
    Chocolatey Package Updater is also offered under personal and commercial licenses.
    You can learn more about this option by contacting RDS at http://ferventcoder.com
  • tools\chocopkgup\license.xml Show
    <?xml version="1.0" encoding="utf-8"?>
    <license id="34f134e4-9277-4a5c-8b75-ce5a99b48461" expiration="2017-01-02T00:00:00.0000000" type="Standard">
      <name>Chocolatey.org Updates Only - Bound By Licensing Agreement in License.txt File</name>
      <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
        <SignedInfo>
          <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
          <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
          <Reference URI="">
            <Transforms>
              <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
            </Transforms>
            <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
            <DigestValue>mP9BFYmKupMJC5fOPNn5pVBHDgk=</DigestValue>
          </Reference>
        </SignedInfo>
        <SignatureValue>M0rejYPzK8MKVBOR9+tsGcMQgQ1Iy1jQd68Dee7pm/KVbuFrilRNmBsU8QdgNsogbcMq4O2xKyuaPvOxIGy9frraz5kFHPECZZLjJMcLsLzZFEpe0EdjUQ/5VBtf2I3PGE360TwA/IOGaX5+6ba3gjzKITjajmrcWv1r0CNaE6s=</SignatureValue>
      </Signature>
    </license>

Virus Scan Results

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.

Dependencies

Maintainer(s)

Software Author(s)

  • Rob Reynolds

Copyright

2012-Present RealDimensions Software, LLC

Tags

Release Notes

v0.6.11

  • Fix - Allow only keeping the latest of each package in the _output folder. This time with feeling.

v0.6.10

  • Fix - Allow only keeping the latest of each package in the _output folder.

v0.6.9

  • Allow prerelease versions passed in as the version string (- in the version or 1.0.0-beta1) - #12
  • Do not edit the version, pass in --beta - #18
  • Pass in checksumType and checksumTypex64 - #25
  • Only keep the latest files for each package in the _output folder - #5
  • Use the package directory instead of Get-BinRoot - #26

v0.6.8

  • Don't fail on invalid license until after packages are generated
  • Update license

v0.6.7

  • Update license

v0.6.6

  • Update license

v0.6.5

  • Use choco to push packages.

v0.6.4

v0.6.3

  • License does not expire until 06/30/2014

v0.6.2

  • License does not expire until 12/31/2014

v0.6.0

  • License does not expire until 6/30/2014
  • You can define a PS1 file in the package folder to be called by the updater just before packaging. Use it to download files or whatever else might be necessary. The file that it looks for is named ChocoPkgUp.ps1 by default.

v0.5.6

  • License does not expire until 12/31/2013
  • The output folder is now a subfolder "_output" of your package folder, allowing you to commit for others to look at later and provide fix pull requests.

Version History

Version Downloads Last updated Status
Chocolatey Automatic Package Updater (for package maintainers) 0.6.10.0 18 Monday, August 22, 2016 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.9.0 207 Thursday, August 18, 2016 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.8.0 383 Thursday, June 30, 2016 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.7.0 1347 Thursday, December 31, 2015 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.6.0 1479 Tuesday, June 30, 2015 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.5.0 1594 Wednesday, February 18, 2015 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.4.0 983 Thursday, January 1, 2015 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.3.0 138 Wednesday, December 31, 2014 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.2.0 2054 Monday, June 30, 2014 approved
Show More

Discussion for the Chocolatey Automatic Package Updater (for package maintainers) Package

Ground rules:

  • This discussion is only about Chocolatey Automatic Package Updater (for package maintainers) and the Chocolatey Automatic Package Updater (for package maintainers) 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 Chocolatey Automatic Package Updater (for package maintainers), 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