6,803

Downloads

907

Downloads of v 0.6.5.0

2/18/2015

Last update

Chocolatey Automatic Package Updater (for package maintainers)

0.6.5.0

This package was approved by moderator purity on 2/27/2015.

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://github.com/chocolatey/chocolatey/wiki/AutomaticPackages 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

  • tools\chocolateyInstall.ps1 Show
    try { 
    
      $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 
      $installFromDir = Join-Path $toolsDir 'chocopkgup' 
    
      $binRoot = Get-BinRoot
      $installDir = Join-Path $binRoot 'ChocolateyPackageUpdater'
      Write-Host "Adding `'$installDir`' to the path and the current shell path"
      Install-ChocolateyPath "$installDir"
      $env:Path = "$($env:Path);$installDir"
      
      if (![System.IO.Directory]::Exists($installDir)) {[System.IO.Directory]::CreateDirectory($installDir)}
      Copy-Item "$($installFromDir)\*" "$installDir" -Force -Recurse
    
      Write-ChocolateySuccess 'ChocolateyPackageUpdater'
    } catch {
      Write-ChocolateyFailure 'ChocolateyPackageUpdater' "$($_.Exception.Message)"
      throw 
    }
  • tools\chocopkgup\chocopkgup.exe
  • 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"/>
      </appSettings>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
    </configuration>
    
  • tools\chocopkgup\chocopkgup.exe.ignore
  • 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="ce109063-bbe5-4219-9490-b87e65fc0542" expiration="2015-06-30T00: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>wX6Mi/J/VSYRtVqHVpHQACDTv3o=</DigestValue>
          </Reference>
        </SignedInfo>
        <SignatureValue>kFilCnJwp0sOBJwKmycnQ7iVZdx+9OmqYgCC09BI7OOafeaWfZAgTg/gn/tnYefx5PyczdHgrogUrEfdgrstq3kri+9ggyo7huVZCgi2KhZSEzM68r8OCVTk4GwsIUh9mnJbTUnzRpKYOsiqe1Yak/IDsnkjyxLbhJ+uXZYTESo=</SignatureValue>
      </Signature>
    </license>

Dependencies

Maintainers

Authors

Copyright

2012-Present RealDimensions Software, LLC

Tags

Release Notes

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.4.0 903 Thursday, January 1, 2015 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.3.0 87 Wednesday, December 31, 2014 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.2.0 1994 Monday, June 30, 2014 approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.1.0 1233 Tuesday, October 22, 2013  
ChocolateyPackageUpdater 0.6.0.0 64 Tuesday, October 22, 2013  
ChocolateyPackageUpdater 0.5.6.0 983 Sunday, February 24, 2013  
ChocolateyPackageUpdater 0.5.5.0 89 Sunday, February 24, 2013  
ChocolateyPackageUpdater 0.5.1.0 282 Thursday, January 3, 2013  
ChocolateyPackageUpdater 0.5.0.0 261 Saturday, September 29, 2012  

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.

comments powered by Disqus