Chocolatey Packages (Douglas Thrift)
Miodrag Milic 5811f8c101 sync with au-packages-template | 8 years ago | |
---|---|---|
automatic | 8 years ago | |
icons | 8 years ago | |
ketarin | 8 years ago | |
manual | 8 years ago | |
ops | 8 years ago | |
setup | 8 years ago | |
.appveyor.yml | 8 years ago | |
.gitignore | 8 years ago | |
LICENSE.md | 8 years ago | |
README.md | 8 years ago | |
update_all.ps1 | 8 years ago |
<!-- EDIT ME-->
[![](https://ci.appveyor.com/api/projects/status/github/YOUR_GITHUB_USERNAME_HERE/chocolatey-packages?svg=true)](https://ci.appveyor.com/project/YOUR_GITHUB_USERNAME_HERE/chocolatey-packages)
[Update status](https://gist.github.com/YOUR_GITHUB_USERNAME_HERE/YOUR_GIST_ID)
<!-- REMOVE THE squiggles "~" surrounding this (this should not be a code block) -->
This contains Chocolatey packages, both manually and automatically maintained.
You can choose to use one or both of the different methods currently supported in the Chocolatey community for automatic packaging. They are AU (Automatic Updater) and Ketarin/ChocolateyPackageUpdater.
For setting up your own automatic package repository, please see Automatic Packaging
For daily operations check out the AU packages template README.
chocolatey-packages
(on GitHub - go into Settings, Repository name and rename).setup
folder and perform the proper steps for your choice of setup (or both if you plan to use both methods).AU provides more in the process of being completely automated, sending emails when things go wrong, and providing a nice report at the end. It doesn't have a bolt-on feeling to it that you see with Ketarin / ChocolateyPackageUdater, however the one thing it does lack in comparison is no visual feedback to seeing how searches for installers may be found. Other than that, it provides errors when things go wrong, where Ketarin doesn't consider anything that happens during "before run"/"post run updates" (where chocopkgup and checksumming occur) to be an error, even if those scripts error.
So for best visibility, enjoying the ease of using AppVeyor, and for a nice report of results, we recommend AU over Ketarin. You also don't need to deal with templates as AU works directly with the xml/ps1 files to do replacement.
You want to bring in all of your packages into the proper folders. We suggest using some sort of diffing tool to look at the differences between your current solution and this solution and then making adjustments to it. Pay special attention to the setup folder.
automatic\README.md
icons\README.md
ketarin\README.md
ketarin\_KetarinChocolateyTemplate.xml
manual\README.md
ops\*.*
setup\*.*
.appveyor.yml
.gitignore
The way this source repository is designed, you can use both AU and Ketarin/ChocolateyPackageUpdater together. This is especially helpful when migrating existing packages from one methodology to the other.
Settings -> Global variables
the variable autoPackagesFolder
is used to determine where your automatic packages are. It doesn't matter what chocopkgup
is using, this folder is passed through. Ensure this is set appropriately.Settings -> Global variables
the variable saveDir
is used to determine where to save the downloaded files from Ketarin. Please ensure the folder exists.Settings -> Global variables
the variable nopush
is set to --nopush
, which allows checksum calculations to occur and then a custom script will push the files.Settings -> Global variables
the variable cscript
is set to 2
, which means calculate checksums, rebuild, and push the packages. If you set this to 1
it will do everything except push the packages. Setting this to 1
is how you disable package pushing.Settings -> Global variables
the variable checksum
is set to {checksum}
. Do not change this, this is how the post update script replaces the literal value {checksum}
. The same goes for checksumx64
, packageGuid
, and url64
.