Browse Source

Remove unnecessary stuff

Douglas Thrift 3 years ago
parent
commit
9318a8b574

LICENSE.md → LICENSE


+ 0 - 84
README.md

@@ -3,87 +3,3 @@
 [![](https://img.shields.io/appveyor/ci/douglaswth/chocolatey-packages/master.svg?style=flat-square)](https://ci.appveyor.com/project/douglaswth/chocolatey-packages/branch/master)
 [![](https://img.shields.io/badge/gist-update%20status-blue.svg?style=flat-square)](https://gist.github.com/douglaswth/YOUR_GIST_ID)
 
-## Chocolatey Packages Template
-
-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.
-
-### Folder Structure
-
-* automatic - where automatic packaging and packages are kept. These are packages that are automatically maintained using either [AU](https://chocolatey.org/packages/au) or [Ketarin](https://chocolatey.org/packages/ketarin)/[ChocolateyPackageUpdater](https://chocolatey.org/packages/chocolateypackageupdater) combo.
-* icons - Where you keep icon files for the packages. This is done to reduce issues when packages themselves move around.
-* ketarin - where ketarin jobs (aka applications or searches) exported as XML are kept. This is done to allow ease of contribution.
-* manual - where packages that are not automatic are kept.
-* ops - scripts, jobs, and other items for ensuring automatic packaging.
-* setup - items for prepping the system to ensure for auto packaging.
-
-For setting up your own automatic package repository, please see [Automatic Packaging](https://chocolatey.org/docs/automatic-packages)
-
-### Requirements
-
-* Chocolatey (choco.exe)
-
-#### Ketarin / ChocolateyPackageUpdater
-
-* PowerShell v2+
-* [Ketarin](https://chocolatey.org/packages/ketarin)
-* [Chocolatey Package Updater](https://chocolatey.org/packages/chocolateypackageupdater)
-* A Windows box somewhere - to run the updater on - appveyor can't work until the import of the settings can be automated
-
-#### AU
-
-* PowerShell v5+.
-* The [AU module](https://chocolatey.org/packages/au).
-
-For daily operations check out the AU packages [template README](https://github.com/majkinetor/au-packages-template/blob/master/README.md).
-
-### Getting started
-
-1. Fork this repository and rename it to `chocolatey-packages` (on GitHub - go into Settings, Repository name and rename).
-1. Clone the repository locally.
-1. Head into the `setup` folder and perform the proper steps for your choice of setup (or both if you plan to use both methods).
-1. Edit this README. Update the badges at the top.
-
-
-### Recommendation on Auto Packaging
-
-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.
-
-### Adapting your current source repository to this source repository template
-
-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.
-
-1. Bring over the following files to your package source repository:
- * `automatic\README.md`
- * `icons\README.md`
- * `ketarin\README.md`
- * `ketarin\_KetarinChocolateyTemplate.xml`
- * `manual\README.md`
- * `ops\*.*`
- * `setup\*.*`
- * `.appveyor.yml`
-1. Inspect the following file and add the differences:
- * `.gitignore`
-
-### Use Both Methodologies
-
-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.
-
-### Migrating existing Ketarin packages to AU
-
-1. Add an update.ps1 to the package folder and determine how to update the package using [AU's instructions](https://github.com/majkinetor/au#creating-the-package-updater-script).
-1. Remove the ketarin.xml file from the ketarin folder.
-1. Ensure you also remove the package job from Ketarin itself as it doesn't automatically remove.
-
-### Special Notes
-
-#### Ketarin
-
-* In `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.
-* In `Settings -> Global variables` the variable `saveDir` is used to determine where to save the downloaded files from Ketarin. Please ensure the folder exists.
-* In `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.
-* In `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.
-* In `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`.

+ 0 - 68
automatic/1password/1password.nuspec

@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Read this before creating packages: https://chocolatey.org/docs/create-packages -->
-<!-- It is especially important to read the above link to understand additional requirements when publishing packages to the community feed aka dot org (https://chocolatey.org/packages). -->
-
-<!-- Test your packages in a test environment: https://github.com/chocolatey/chocolatey-test-environment -->
-
-<!--
-This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Reference. Chocolatey uses a special version of NuGet.Core that allows us to do more than was initially possible. As such there are certain things to be aware of:
-
-* the package xmlns schema url may cause issues with nuget.exe
-* Any of the following elements can ONLY be used by choco tools - projectSourceUrl, docsUrl, mailingListUrl, bugTrackerUrl, packageSourceUrl, provides, conflicts, replaces 
-* nuget.exe can still install packages with those elements but they are ignored. Any authoring tools or commands will error on those elements 
--->
-
-<!-- You can embed software files directly into packages, as long as you are not bound by distribution rights. -->
-<!-- * If you are an organization making private packages, you probably have no issues here -->
-<!-- * If you are releasing to the community feed, you need to consider distribution rights. -->
-<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
-<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
-  <metadata>
-    <!-- == PACKAGE SPECIFIC SECTION == -->
-    <!-- This section is about this package, although id and version have ties back to the software -->
-    <!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template -->
-    <!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. -->
-    <id>1password</id>
-    <!-- version should MATCH as closely as possible with the underlying software -->
-    <!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
-    <!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
-    <version>{{PackageVersion}}</version>
-    <packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages</packageSourceUrl>
-    <!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
-    <owners>Rob Reynolds</owners>
-    <!-- ============================== -->
-
-    <!-- == SOFTWARE SPECIFIC SECTION == -->
-    <!-- This section is about the software itself -->
-    <title>1Password (Install)</title>
-    <authors>AgileBits</authors>
-    <!-- projectUrl is required for the community feed -->
-    <projectUrl>https://1password.com/</projectUrl>
-    <iconUrl>https://cdn.rawgit.com/ferventcoder/chocolatey-packages/02c21bebe5abb495a56747cbb9b4b5415c933fc0/icons/1password.png</iconUrl>
-    <copyright>AgileBits</copyright>
-    <!-- If there is a license Url available, it is is required for the community feed -->
-    <licenseUrl>https://support.1password.com/legal/</licenseUrl>
-    <requireLicenseAcceptance>true</requireLicenseAcceptance>
-    <!--<docsUrl>At what url are the software docs located?</docsUrl>-->
-    <!--<mailingListUrl></mailingListUrl>-->
-    <!--<bugTrackerUrl></bugTrackerUrl>-->
-    <tags>1password password keystore keys saver admin</tags>
-    <summary>1Password - Have you ever forgotten a password?</summary>
-    <description>1Password – Too many passwords to remember?
-
-1Password can create strong, unique passwords for you, remember them, and restore them, all directly in your web browser.
-
-
-**Please Note**: This is an automatically updated package. If you find it is 
-out of date by more than a day or two, please contact the maintainer(s) and
-let them know the package is no longer updating correctly.
-</description>
-    <!-- <releaseNotes>__REPLACE_OR_REMOVE__MarkDown_Okay</releaseNotes> -->
-    <!-- =============================== -->      
-  </metadata>
-  <files>
-    <!-- this section controls what actually gets packaged into the Chocolatey package -->
-    <file src="tools\**" target="tools" />
-    <!--Building from Linux? You may need this instead: <file src="tools/**" target="tools" />-->
-  </files>
-</package>

+ 0 - 17
automatic/1password/tools/chocolateyinstall.ps1

@@ -1,17 +0,0 @@
-$ErrorActionPreference = 'Stop';
-$packageName= '1password' # arbitrary name for the package, used in messages
-$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
-
-$packageArgs = @{
-  packageName   = $packageName
-  unzipLocation = $toolsDir
-  fileType      = 'exe'
-  url           = '{{DownloadUrl}}'
-  softwareName  = '1Password*'
-  checksum      = '{{Checksum}}'
-  checksumType  = 'sha256'
-  silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
-  validExitCodes= @(0)
-}
-
-Install-ChocolateyPackage @packageArgs

+ 0 - 11
automatic/README.md

@@ -2,17 +2,6 @@
 
 This is where you put your Chocolatey packages that are automatically packaged up by either [AU](https://chocolatey.org/packages/au) or [Ketarin](https://chocolatey.org/packages/ketarin)/[ChocolateyPackageUpdater](https://chocolatey.org/packages/chocolateypackageupdater).
 
-### Ketarin / ChocolateyPackageUpdater (chocopkgup)
-
-You want to drop the actual Ketarin files (job file exports) in the top-level ketarin folder to keep them separate from the packages themselves.
-
-The following packages implement this strategy of auto updates:
-
-* 1password
-* git.install
-
-There is also an _output folder where the automatic packaging files with tokens to do token replacment and output package files with actual values in this folder. This folder is necessary for chocopkgup to do its work. You can decide whether to commit this set of folders or not. We recommend committing it as it makes it easier to do one off fixes and contributors to submit fixes for a package.
-
 ### Automatic Updater (AU)
 
 AU works with packages without automatic package tokens necessary. So you can treat the packages as normal.

+ 0 - 68
automatic/_output/1password/1password.nuspec

@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Read this before creating packages: https://chocolatey.org/docs/create-packages -->
-<!-- It is especially important to read the above link to understand additional requirements when publishing packages to the community feed aka dot org (https://chocolatey.org/packages). -->
-
-<!-- Test your packages in a test environment: https://github.com/chocolatey/chocolatey-test-environment -->
-
-<!--
-This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Reference. Chocolatey uses a special version of NuGet.Core that allows us to do more than was initially possible. As such there are certain things to be aware of:
-
-* the package xmlns schema url may cause issues with nuget.exe
-* Any of the following elements can ONLY be used by choco tools - projectSourceUrl, docsUrl, mailingListUrl, bugTrackerUrl, packageSourceUrl, provides, conflicts, replaces 
-* nuget.exe can still install packages with those elements but they are ignored. Any authoring tools or commands will error on those elements 
--->
-
-<!-- You can embed software files directly into packages, as long as you are not bound by distribution rights. -->
-<!-- * If you are an organization making private packages, you probably have no issues here -->
-<!-- * If you are releasing to the community feed, you need to consider distribution rights. -->
-<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
-<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
-  <metadata>
-    <!-- == PACKAGE SPECIFIC SECTION == -->
-    <!-- This section is about this package, although id and version have ties back to the software -->
-    <!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template -->
-    <!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. -->
-    <id>1password</id>
-    <!-- version should MATCH as closely as possible with the underlying software -->
-    <!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
-    <!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
-    <version>4.6.0.604</version>
-    <packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages</packageSourceUrl>
-    <!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
-    <owners>Rob Reynolds</owners>
-    <!-- ============================== -->
-
-    <!-- == SOFTWARE SPECIFIC SECTION == -->
-    <!-- This section is about the software itself -->
-    <title>1Password (Install)</title>
-    <authors>AgileBits</authors>
-    <!-- projectUrl is required for the community feed -->
-    <projectUrl>https://1password.com/</projectUrl>
-    <iconUrl>https://cdn.rawgit.com/ferventcoder/chocolatey-packages/02c21bebe5abb495a56747cbb9b4b5415c933fc0/icons/1password.png</iconUrl>
-    <copyright>AgileBits</copyright>
-    <!-- If there is a license Url available, it is is required for the community feed -->
-    <licenseUrl>https://support.1password.com/legal/</licenseUrl>
-    <requireLicenseAcceptance>true</requireLicenseAcceptance>
-    <!--<docsUrl>At what url are the software docs located?</docsUrl>-->
-    <!--<mailingListUrl></mailingListUrl>-->
-    <!--<bugTrackerUrl></bugTrackerUrl>-->
-    <tags>1password password keystore keys saver admin</tags>
-    <summary>1Password - Have you ever forgotten a password?</summary>
-    <description>1Password – Too many passwords to remember?
-
-1Password can create strong, unique passwords for you, remember them, and restore them, all directly in your web browser.
-
-
-**Please Note**: This is an automatically updated package. If you find it is 
-out of date by more than a day or two, please contact the maintainer(s) and
-let them know the package is no longer updating correctly.
-</description>
-    <!-- <releaseNotes>__REPLACE_OR_REMOVE__MarkDown_Okay</releaseNotes> -->
-    <!-- =============================== -->      
-  </metadata>
-  <files>
-    <!-- this section controls what actually gets packaged into the Chocolatey package -->
-    <file src="tools\**" target="tools" />
-    <!--Building from Linux? You may need this instead: <file src="tools/**" target="tools" />-->
-  </files>
-</package>

+ 0 - 17
automatic/_output/1password/tools/chocolateyinstall.ps1

@@ -1,17 +0,0 @@
-$ErrorActionPreference = 'Stop';
-$packageName= '1password' # arbitrary name for the package, used in messages
-$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
-
-$packageArgs = @{
-  packageName   = $packageName
-  unzipLocation = $toolsDir
-  fileType      = 'exe'
-  url           = 'https://d13itkw33a7sus.cloudfront.net/dist/1P/win4/1Password-4.6.0.604.exe'
-  softwareName  = '1Password*'
-  checksum      = '3c6f9f51f5a4c44ceced089cdee8c840f18d96f652b4fe95e16d166859767076'
-  checksumType  = 'sha256'
-  silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
-  validExitCodes= @(0)
-}
-
-Install-ChocolateyPackage @packageArgs

+ 0 - 7
automatic/_output/README.md

@@ -1,7 +0,0 @@
-# Output Folder
-
-When using Ketarin / Chocolatey Package Updater (chocopkgup) combo for keeping packages up to date, this folder will contain the output of generating those packages.
-
-This is the folder where chocopkgup will point to when configured to use the automatic folder (the parent folder of this) as the PackagesFolder.
-
-You will want to configure chocopkgup (chocopkgup.exe.config file in the package folder) to point to this directory.

+ 0 - 78
automatic/_output/git.install/git.install.nuspec

@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Read this before creating packages: https://chocolatey.org/docs/create-packages -->
-<!-- It is especially important to read the above link to understand additional requirements when publishing packages to the community feed aka dot org (https://chocolatey.org/packages). -->
-
-<!-- Test your packages in a test environment: https://github.com/chocolatey/chocolatey-test-environment -->
-
-<!--
-This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Reference. Chocolatey uses a special version of NuGet.Core that allows us to do more than was initially possible. As such there are certain things to be aware of:
-
-* the package xmlns schema url may cause issues with nuget.exe
-* Any of the following elements can ONLY be used by choco tools - projectSourceUrl, docsUrl, mailingListUrl, bugTrackerUrl, packageSourceUrl, provides, conflicts, replaces 
-* nuget.exe can still install packages with those elements but they are ignored. Any authoring tools or commands will error on those elements 
--->
-
-<!-- You can embed software files directly into packages, as long as you are not bound by distribution rights. -->
-<!-- * If you are an organization making private packages, you probably have no issues here -->
-<!-- * If you are releasing to the community feed, you need to consider distribution rights. -->
-<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
-<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
-  <metadata>
-    <!-- == PACKAGE SPECIFIC SECTION == -->
-    <!-- This section is about this package, although id and version have ties back to the software -->
-    <!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template -->
-    <!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. -->
-    <id>git.install</id>
-     <!-- version should MATCH as closely as possible with the underlying software -->
-    <!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
-    <!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
-    <version>2.9.3</version>
-    <packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages</packageSourceUrl>
-    <!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
-    <owners>Rob Reynolds, Darwin Sanoy</owners>
-    <!-- ============================== -->   
-    
-    <!-- == SOFTWARE SPECIFIC SECTION == -->
-    <!-- This section is about the software itself -->
-    <title>Git (Install)</title>
-    <authors>Johannes Schindelin, msysgit Committers</authors>
-    <projectUrl>https://git-for-windows.github.io/</projectUrl>
-    <iconUrl>https://cdn.rawgit.com/ferventcoder/chocolatey-packages/02c21bebe5abb495a56747cbb9b4b5415c933fc0/icons/git.svg</iconUrl>
-    <licenseUrl>http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</licenseUrl>
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>
-    <projectSourceUrl>https://github.com/git-for-windows/git</projectSourceUrl>
-    <docsUrl>http://git-scm.com/doc</docsUrl>
-    <mailingListUrl>http://groups.google.com/group/git-for-windows</mailingListUrl>
-    <bugTrackerUrl>https://github.com/git-for-windows/git/issues</bugTrackerUrl>
-    <tags>git vcs dvcs version control msysgit admin</tags>
-    <summary>Git (for Windows) – Fast Version Control</summary>
-    <description>
-Git (for Windows) – Git is a powerful distributed Source Code Management tool. If you just want to use Git to do your version control in Windows, you will need to download Git for Windows, run the installer, and you are ready to start.
-
-Note: Git for Windows is a project run by volunteers, so if you want it to improve, volunteer!
-
-### Package Specifics
-The package uses default install options minus cheetah integration and desktop icons. Cheetah prevents a good upgrade scenario, so it has been removed.
-
-#### Package Parameters
-The following package parameters can be set:
-
- * `/GitOnlyOnPath` - this puts gitinstall\cmd on path. This is also done by default if no package parameters are set.
- * `/GitAndUnixToolsOnPath` - this puts gitinstall\bin on path. This setting will override `/GitOnlyOnPath`.
- * `/NoAutoCrlf` - this setting only affects new installs, it will not override an existing `.gitconfig`. This will ensure 'Checkout as is, commit as is'
- * `/WindowsTerminal` - this makes vim use the regular Windows terminal instead of MinTTY terminal
-
-These parameters can be passed to the installer with the use of `-params`.
-For example: `-params '"/GitAndUnixToolsOnPath /NoAutoCrlf"'`.
-
-**Please Note**: This is an automatically updated package. If you find it is 
-out of date by more than a day or two, please contact the maintainer(s) and
-let them know the package is no longer updating correctly.
-    </description>
-    
-  </metadata>
-  <files>
-    <file src="tools\**" target="tools" />
-  </files>
-</package>
-<!-- character encoding: “UTF-8” -->

+ 0 - 145
automatic/_output/git.install/tools/chocolateyInstall.ps1

@@ -1,145 +0,0 @@
-$registryKeyName = 'Git_is1'
-$packageId = 'git.install'
-$fileType = 'exe'
-$fileArgs = $(
-  '/VERYSILENT /NORESTART /NOCANCEL /SP- ' +
-  '/COMPONENTS="icons,icons\quicklaunch,ext,ext\shellhere,ext\guihere,assoc,assoc_sh" /LOG'
-)
-$url = 'https://github.com/git-for-windows/git/releases/download/v2.9.3.windows.1/Git-2.9.3-32-bit.exe'
-$url64 = 'https://github.com/git-for-windows/git/releases/download/v2.9.3.windows.1/Git-2.9.3-64-bit.exe'
-$softwareName  = 'Git*'
-$checksum      = 'd6b4a19536ad408018688f1242ab0d1f5dc5544109662bfddf915f685eba58a9'
-$checksum64    = '1a642cf2914e18fa868b1ed2c6d1df4a46ba8ef30355fd1965850895a658e024'
-$checksumType  = 'sha256'
-
-$arguments = @{};
-# /GitOnlyOnPath /GitAndUnixToolsOnPath /NoAutoCrlf
-$packageParameters = $env:chocolateyPackageParameters;
-
-# Default the values
-$useWindowsTerminal = $false
-$gitCmdOnly = $false
-$unixTools = $false
-$noAutoCrlf = $false # this does nothing unless true
-
-# Now parse the packageParameters using good old regular expression
-if ($packageParameters) {
-    $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
-    #"
-    $option_name = 'option'
-    $value_name = 'value'
-
-    if ($packageParameters -match $match_pattern ){
-        $results = $packageParameters | Select-String $match_pattern -AllMatches
-        $results.matches | % {
-          $arguments.Add(
-              $_.Groups[$option_name].Value.Trim(),
-              $_.Groups[$value_name].Value.Trim())
-      }
-    }
-    else
-    {
-      throw "Package Parameters were found but were invalid (REGEX Failure)"
-    }
-
-    if ($arguments.ContainsKey("GitOnlyOnPath")) {
-        Write-Host "You want Git on the command line"
-        $gitCmdOnly = $true
-    }
-
-    if ($arguments.ContainsKey("WindowsTerminal")) {
-        Write-Host "You do not want to use MinTTY terminal"
-        $useWindowsTerminal = $true
-    }
-
-    if ($arguments.ContainsKey("GitAndUnixToolsOnPath")) {
-        Write-Host "You want Git and Unix Tools on the command line"
-        $unixTools = $true
-    }
-
-    if ($arguments.ContainsKey("NoAutoCrlf")) {
-        Write-Host "Ensuring core.autocrlf is false on first time install only"
-        Write-Host " This setting will not adjust an already existing .gitconfig setting."
-        $noAutoCrlf = $true
-    }
-} else {
-    Write-Debug "No Package Parameters Passed in";
-}
-
-$is64bit = (Get-ProcessorBits) -eq 64
-$installKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$registryKeyName"
-if ($is64bit -eq $true -and $env:chocolateyForceX86 -eq $true) {
-  $installKey = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$registryKeyName"
-}
-
-$userInstallKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$registryKeyName"
-if (Test-Path $userInstallKey) {
-  $installKey = $userInstallKey
-}
-
-if ( -not (Test-Path $installKey)) {
-  New-Item -Path $installKey | Out-Null
-}
-
-if ($gitCmdOnly) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: Path Option" -Value "Cmd" -PropertyType "String" -Force | Out-Null
-}
-
-if ($useWindowsTerminal) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: Bash Terminal Option" -Value "ConHost" -PropertyType "String" -Force | Out-Null
-}
-
-if ($unixTools) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: Path Option" -Value "CmdTools" -PropertyType "String" -Force | Out-Null
-}
-
-if ($noAutoCrlf) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: CRLF Option" -Value "CRLFCommitAsIs" -PropertyType "String" -Force | Out-Null
-}
-
-# Make our install work properly when running under SYSTEM account (Chef Cliet Service, Puppet Service, etc)
-# Add other items to this if block or use $IsRunningUnderSystemAccount to adjust existing logic that needs changing
-$IsRunningUnderSystemAccount = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).IsSystem
-If ($IsRunningUnderSystemAccount)
-{
-  #strip out quicklaunch parameter as it causes a hang under SYSTEM account
-  $fileArgs = $fileArgs.replace('icons\quicklaunch,','')
-  If ($fileArgs -inotlike "*/SUPPRESSMSGBOXES*")
-  {
-    $fileArgs = $fileArgs + ' /SUPPRESSMSGBOXES'
-  }
-}
-
-If ([bool](get-process ssh-agent -ErrorAction SilentlyContinue))
-{
-  Write-Output "Killing any git ssh-agent instances for install."
-  (get-process ssh-agent | where {$_.Path -ilike "*\git\usr\bin\*"}) | stop-process
-}
-
-Install-ChocolateyPackage -PackageName $packageId `
-                          -FileType $fileType `
-                          -SilentArgs $fileArgs `
-                          -Url $url `
-                          -Url64bit $url64 `
-                          -Checksum $checksum `
-                          -ChecksumType $checksumType `
-                          -Checksum64 $checksum64 `
-                          -ChecksumType64 $checksumType
-
-if (Test-Path $installKey) {
-  $keyNames = Get-ItemProperty -Path $installKey
-
-  if ($gitCmdOnly -eq $false -and $unixTools -eq $false) {
-    $installLocation = $keyNames.InstallLocation
-    if ($installLocation -ne '') {
-      $gitPath = Join-Path $installLocation 'cmd'
-      Install-ChocolateyPath $gitPath 'Machine'
-    }
-  }
-}
-
-Write-Warning "Git installed - You may need to close and reopen your shell for PATH changes to take effect."

+ 0 - 78
automatic/git.install/git.install.nuspec

@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Read this before creating packages: https://chocolatey.org/docs/create-packages -->
-<!-- It is especially important to read the above link to understand additional requirements when publishing packages to the community feed aka dot org (https://chocolatey.org/packages). -->
-
-<!-- Test your packages in a test environment: https://github.com/chocolatey/chocolatey-test-environment -->
-
-<!--
-This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Reference. Chocolatey uses a special version of NuGet.Core that allows us to do more than was initially possible. As such there are certain things to be aware of:
-
-* the package xmlns schema url may cause issues with nuget.exe
-* Any of the following elements can ONLY be used by choco tools - projectSourceUrl, docsUrl, mailingListUrl, bugTrackerUrl, packageSourceUrl, provides, conflicts, replaces 
-* nuget.exe can still install packages with those elements but they are ignored. Any authoring tools or commands will error on those elements 
--->
-
-<!-- You can embed software files directly into packages, as long as you are not bound by distribution rights. -->
-<!-- * If you are an organization making private packages, you probably have no issues here -->
-<!-- * If you are releasing to the community feed, you need to consider distribution rights. -->
-<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
-<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
-  <metadata>
-    <!-- == PACKAGE SPECIFIC SECTION == -->
-    <!-- This section is about this package, although id and version have ties back to the software -->
-    <!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template -->
-    <!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. -->
-    <id>git.install</id>
-     <!-- version should MATCH as closely as possible with the underlying software -->
-    <!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
-    <!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
-    <version>{{PackageVersion}}</version>
-    <packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages</packageSourceUrl>
-    <!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
-    <owners>Rob Reynolds, Darwin Sanoy</owners>
-    <!-- ============================== -->   
-    
-    <!-- == SOFTWARE SPECIFIC SECTION == -->
-    <!-- This section is about the software itself -->
-    <title>Git (Install)</title>
-    <authors>Johannes Schindelin, msysgit Committers</authors>
-    <projectUrl>https://git-for-windows.github.io/</projectUrl>
-    <iconUrl>https://cdn.rawgit.com/ferventcoder/chocolatey-packages/02c21bebe5abb495a56747cbb9b4b5415c933fc0/icons/git.svg</iconUrl>
-    <licenseUrl>http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</licenseUrl>
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>
-    <projectSourceUrl>https://github.com/git-for-windows/git</projectSourceUrl>
-    <docsUrl>http://git-scm.com/doc</docsUrl>
-    <mailingListUrl>http://groups.google.com/group/git-for-windows</mailingListUrl>
-    <bugTrackerUrl>https://github.com/git-for-windows/git/issues</bugTrackerUrl>
-    <tags>git vcs dvcs version control msysgit admin</tags>
-    <summary>Git (for Windows) – Fast Version Control</summary>
-    <description>
-Git (for Windows) – Git is a powerful distributed Source Code Management tool. If you just want to use Git to do your version control in Windows, you will need to download Git for Windows, run the installer, and you are ready to start.
-
-Note: Git for Windows is a project run by volunteers, so if you want it to improve, volunteer!
-
-### Package Specifics
-The package uses default install options minus cheetah integration and desktop icons. Cheetah prevents a good upgrade scenario, so it has been removed.
-
-#### Package Parameters
-The following package parameters can be set:
-
- * `/GitOnlyOnPath` - this puts gitinstall\cmd on path. This is also done by default if no package parameters are set.
- * `/GitAndUnixToolsOnPath` - this puts gitinstall\bin on path. This setting will override `/GitOnlyOnPath`.
- * `/NoAutoCrlf` - this setting only affects new installs, it will not override an existing `.gitconfig`. This will ensure 'Checkout as is, commit as is'
- * `/WindowsTerminal` - this makes vim use the regular Windows terminal instead of MinTTY terminal
-
-These parameters can be passed to the installer with the use of `-params`.
-For example: `-params '"/GitAndUnixToolsOnPath /NoAutoCrlf"'`.
-
-**Please Note**: This is an automatically updated package. If you find it is 
-out of date by more than a day or two, please contact the maintainer(s) and
-let them know the package is no longer updating correctly.
-    </description>
-    
-  </metadata>
-  <files>
-    <file src="tools\**" target="tools" />
-  </files>
-</package>
-<!-- character encoding: “UTF-8” -->

+ 0 - 145
automatic/git.install/tools/chocolateyInstall.ps1

@@ -1,145 +0,0 @@
-$registryKeyName = 'Git_is1'
-$packageId = '{{PackageName}}'
-$fileType = 'exe'
-$fileArgs = $(
-  '/VERYSILENT /NORESTART /NOCANCEL /SP- ' +
-  '/COMPONENTS="icons,icons\quicklaunch,ext,ext\shellhere,ext\guihere,assoc,assoc_sh" /LOG'
-)
-$url = '{{DownloadUrl}}'
-$url64 = '{{DownloadUrlx64}}'
-$softwareName  = 'Git*'
-$checksum      = '{{Checksum}}'
-$checksum64    = '{{Checksumx64}}'
-$checksumType  = 'sha256'
-
-$arguments = @{};
-# /GitOnlyOnPath /GitAndUnixToolsOnPath /NoAutoCrlf
-$packageParameters = $env:chocolateyPackageParameters;
-
-# Default the values
-$useWindowsTerminal = $false
-$gitCmdOnly = $false
-$unixTools = $false
-$noAutoCrlf = $false # this does nothing unless true
-
-# Now parse the packageParameters using good old regular expression
-if ($packageParameters) {
-    $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
-    #"
-    $option_name = 'option'
-    $value_name = 'value'
-
-    if ($packageParameters -match $match_pattern ){
-        $results = $packageParameters | Select-String $match_pattern -AllMatches
-        $results.matches | % {
-          $arguments.Add(
-              $_.Groups[$option_name].Value.Trim(),
-              $_.Groups[$value_name].Value.Trim())
-      }
-    }
-    else
-    {
-      throw "Package Parameters were found but were invalid (REGEX Failure)"
-    }
-
-    if ($arguments.ContainsKey("GitOnlyOnPath")) {
-        Write-Host "You want Git on the command line"
-        $gitCmdOnly = $true
-    }
-
-    if ($arguments.ContainsKey("WindowsTerminal")) {
-        Write-Host "You do not want to use MinTTY terminal"
-        $useWindowsTerminal = $true
-    }
-
-    if ($arguments.ContainsKey("GitAndUnixToolsOnPath")) {
-        Write-Host "You want Git and Unix Tools on the command line"
-        $unixTools = $true
-    }
-
-    if ($arguments.ContainsKey("NoAutoCrlf")) {
-        Write-Host "Ensuring core.autocrlf is false on first time install only"
-        Write-Host " This setting will not adjust an already existing .gitconfig setting."
-        $noAutoCrlf = $true
-    }
-} else {
-    Write-Debug "No Package Parameters Passed in";
-}
-
-$is64bit = (Get-ProcessorBits) -eq 64
-$installKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$registryKeyName"
-if ($is64bit -eq $true -and $env:chocolateyForceX86 -eq $true) {
-  $installKey = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$registryKeyName"
-}
-
-$userInstallKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$registryKeyName"
-if (Test-Path $userInstallKey) {
-  $installKey = $userInstallKey
-}
-
-if ( -not (Test-Path $installKey)) {
-  New-Item -Path $installKey | Out-Null
-}
-
-if ($gitCmdOnly) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: Path Option" -Value "Cmd" -PropertyType "String" -Force | Out-Null
-}
-
-if ($useWindowsTerminal) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: Bash Terminal Option" -Value "ConHost" -PropertyType "String" -Force | Out-Null
-}
-
-if ($unixTools) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: Path Option" -Value "CmdTools" -PropertyType "String" -Force | Out-Null
-}
-
-if ($noAutoCrlf) {
-  # update registry so installer picks it up automatically
-  New-ItemProperty $installKey -Name "Inno Setup CodeFile: CRLF Option" -Value "CRLFCommitAsIs" -PropertyType "String" -Force | Out-Null
-}
-
-# Make our install work properly when running under SYSTEM account (Chef Cliet Service, Puppet Service, etc)
-# Add other items to this if block or use $IsRunningUnderSystemAccount to adjust existing logic that needs changing
-$IsRunningUnderSystemAccount = ([System.Security.Principal.WindowsIdentity]::GetCurrent()).IsSystem
-If ($IsRunningUnderSystemAccount)
-{
-  #strip out quicklaunch parameter as it causes a hang under SYSTEM account
-  $fileArgs = $fileArgs.replace('icons\quicklaunch,','')
-  If ($fileArgs -inotlike "*/SUPPRESSMSGBOXES*")
-  {
-    $fileArgs = $fileArgs + ' /SUPPRESSMSGBOXES'
-  }
-}
-
-If ([bool](get-process ssh-agent -ErrorAction SilentlyContinue))
-{
-  Write-Output "Killing any git ssh-agent instances for install."
-  (get-process ssh-agent | where {$_.Path -ilike "*\git\usr\bin\*"}) | stop-process
-}
-
-Install-ChocolateyPackage -PackageName $packageId `
-                          -FileType $fileType `
-                          -SilentArgs $fileArgs `
-                          -Url $url `
-                          -Url64bit $url64 `
-                          -Checksum $checksum `
-                          -ChecksumType $checksumType `
-                          -Checksum64 $checksum64 `
-                          -ChecksumType64 $checksumType
-
-if (Test-Path $installKey) {
-  $keyNames = Get-ItemProperty -Path $installKey
-
-  if ($gitCmdOnly -eq $false -and $unixTools -eq $false) {
-    $installLocation = $keyNames.InstallLocation
-    if ($installLocation -ne '') {
-      $gitPath = Join-Path $installLocation 'cmd'
-      Install-ChocolateyPath $gitPath 'Machine'
-    }
-  }
-}
-
-Write-Warning "Git installed - You may need to close and reopen your shell for PATH changes to take effect."

+ 0 - 32
automatic/html-tidy/html-tidy.nuspec

@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
-<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
-  <metadata>
-    <!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
-    <id>html-tidy</id>
-    <title>HTML Tidy with HTML5 support</title>
-    <version>5.1.2</version>
-    <authors>HTACG</authors>
-    <owners>Miodrag Milić</owners>
-    <summary>Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and more. It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards</summary>
-    <description>
-Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and more. It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards.
-    </description>
-    <projectUrl>http://www.html-tidy.org/</projectUrl>
-    <tags>x-platform xml html tidy html5</tags>
-    <copyright>HTACG</copyright>
-    <licenseUrl>https://github.com/htacg/tidy-html5/blob/master/README/LICENSE.md</licenseUrl>
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>
-    <!--<dependencies>
-      <dependency id="" version="" />
-    </dependencies>-->
-    <releaseNotes></releaseNotes>
-    <docsUrl>http://www.html-tidy.org/documentation</docsUrl>
-    <bugTrackerUrl>https://github.com/htacg/tidy-html5/issues</bugTrackerUrl>
-    <projectSourceUrl>https://github.com/htacg/tidy-html5</projectSourceUrl>
-    <packageSourceUrl>https://github.com/majkinetor/chocolatey/tree/master/html-tidy</packageSourceUrl>
-  </metadata>
-  <files>
-    <file src="tools\**" target="tools" />
-  </files>
-</package>

+ 0 - 19
automatic/html-tidy/tools/chocolateyInstall.ps1

@@ -1,19 +0,0 @@
-$ErrorActionPreference = 'Stop'
-
-$packageName = 'html-tidy'
-$url32       = 'https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win32.zip'
-$url64       = 'https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win64.zip'
-$checksum32  = '94D653498B4F93B14F12A55CA06154E19C540C9B276E5D163F1CF84FA078F97A'
-$checksum64  = 'DD9FD814CC44BC2FFA9B9E547B1A6CBB42B6BE7B9358542D3EE7F6E10B676423'
-
-$packageArgs = @{
-  packageName    = $packageName
-  url            = $url32
-  url64Bit       = $url64
-  checksum       = $checksum32
-  checksum64     = $checksum64
-  checksumType   = 'sha256'
-  checksumType64 = 'sha256'
-  unzipLocation  = Split-Path $MyInvocation.MyCommand.Definition
-}
-Install-ChocolateyZipPackage @packageArgs

+ 0 - 31
automatic/html-tidy/update.ps1

@@ -1,31 +0,0 @@
-import-module au
-
-$releases = 'https://github.com/htacg/tidy-html5/releases'
-
-function global:au_SearchReplace {
-    @{
-        'tools\chocolateyInstall.ps1' = @{
-            "(^[$]url64\s*=\s*)('.*')"      = "`$1'$($Latest.URL64)'"
-            "(^[$]url32\s*=\s*)('.*')"      = "`$1'$($Latest.URL32)'"
-            "(^[$]checksum32\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
-            "(^[$]checksum64\s*=\s*)('.*')" = "`$1'$($Latest.Checksum64)'"
-        }
-     }
-}
-
-function global:au_GetLatest {
-    $download_page = Invoke-WebRequest -Uri $releases
-
-    #tidy-5.1.25-win64.zip
-    $re  = "tidy-.+-win(32|64).zip"
-    $url = $download_page.links | ? href -match $re | select -First 2 -expand href
-
-    $version = $url[0] -split '-' | select -Last 1 -Skip 1
-    $url32 = 'https://github.com' + $url[0]
-    $url64 = 'https://github.com' + $url[1]
-
-    $Latest = @{ URL32 = $url32; URL64 = $url64; Version = $version }
-    return $Latest
-}
-
-update

+ 0 - 41
automatic/nexus-oss/nexus-oss.nuspec

@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
-<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
-  <metadata>
-    <!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
-    <id>nexus-oss</id>
-    <title>Nexus Repository Manager OSS</title>
-    <version>2.10.2</version>
-    <authors>Sonatype</authors>
-    <owners>Miodrag Milić</owners>
-    <summary>Repository to manage software components required for development, deployment, and provisioning</summary>
-    <description>Nexus Repository Manager OSS manage software components required for development, deployment, and provisioning. If you develop software, the repository manager can help you share those components with other developers and end users. It greatly simplifies the maintenance of your own internal repositories and access to external repositories. With Nexus Repository Manager and Nexus Repository Manager OSS you can completely control access to, and deployment of, every component in your organization from a single location.
-
-### Package
-
-Package installer will install the nexus and start the service. The following parameters are available:
-
-* `/InstallDir`
-Installation directory, by default `/InstallDir: c:\nexus`
-
-![screenshot](https://cdn.rawgit.com/majkinetor/chocolatey/master/nexus-oss/screenshot.png)
-</description>
-    <projectUrl>http://www.sonatype.org/nexus/</projectUrl>
-    <tags>admin repository maven nuget docker package</tags>
-    <copyright>Sonatype</copyright>
-    <licenseUrl>https://www.eclipse.org/legal/epl-v10.html</licenseUrl>
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>
-    <iconUrl>https://cdn.rawgit.com/majkinetor/chocolatey/master/nexus-oss/icon.png</iconUrl>
-    <dependencies>
-      <dependency id="javaruntime" version="8.0.40" />
-    </dependencies>
-    <releaseNotes>https://support.sonatype.com/hc/en-us/articles/213464368-Sonatype-Nexus-Release-Notes-Index</releaseNotes>
-    <docsUrl>https://books.sonatype.com/nexus-book/reference/index.html</docsUrl>
-    <bugTrackerUrl>https://goo.gl/292OFI</bugTrackerUrl>
-    <projectSourceUrl>https://github.com/sonatype/nexus-public</projectSourceUrl>
-    <packageSourceUrl>https://github.com/majkinetor/chocolatey/tree/master/nexus-oss</packageSourceUrl>
-  </metadata>
-  <files>
-    <file src="tools\**" target="tools" />
-  </files>
-</package>

BIN
automatic/nexus-oss/screenshot.png


+ 0 - 55
automatic/nexus-oss/tools/chocolateyInstall.ps1

@@ -1,55 +0,0 @@
-$ErrorActionPreference = 'Stop'
-
-$packageName = 'nexus-oss'
-$url         = 'https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.13.0-01-bundle.zip'
-$checksum    = '76E2A2904FF0341A5FB646F615E3724F6C54E8A71759A7F8F06F702339D0767B'
-$installDir  = 'c:\nexus'
-
-$packageArgs = @{
-  packageName    = $packageName
-  url            = $url
-  url64Bit       = $url #url includes both 32-bit and 64-bit
-  checksum       = $checksum
-  checksum64     = $checksum
-  checksumType   = 'sha256'
-  checksumType64 = 'sha256'
-  unzipLocation  = $installDir
-}
-
-if ($Env:ChocolateyPackageParameters -match '/InstallDir:\s*(.+)') {
-    $installDir = $Matches[1]
-    if ($installDir.StartsWith("'") -or $installDir.StartsWith('"')){  $installDir = $installDir -replace '^.|.$' }
-    $parent = Split-Path $installDir
-    mkdir -force $parent -ea 0 | out-null
-}
-
-if (gcm nexus -ea 0) {
-    Write-Host "Detected existing installation, uninstalling service"
-    0 | nexus stop
-    0 | nexus uninstall
-}
-
-Write-Host "Installing to '$installDir'"
-Install-ChocolateyZipPackage @packageArgs
-
-$nexusDir = ls $installDir\nexus-* | sort -Descending | select -First 1
-$nexus = "$nexusDir\bin\nexus.bat"
-if (!(Test-Path $nexus)) { throw "Can not find nexus.bat" }
-Install-BinFile nexus $nexus
-
-0 | nexus install
-0 | nexus start
-
-$s = gsv nexus-webapp -ea 0
-if (!$s) { throw "Nexus service 'nexus-webapp' is not installed" }
-if ($s.Status -ne 'Running') { Write-Warning "Nexus service 'nexus-webapp' is installed but not running" }
-
-$ok = $false
-try {
-    $request  = [System.Net.HttpWebRequest]::Create("http://localhost:8081/nexus")
-    $response = $request.GetResponse()
-    $ok = $response.StatusCode -eq 'OK'
-} catch {}
-
-if (!$ok) { Write-Warning "Nexus should be available at http://localhost:8081/nexus but can't be reached" }
-else { Write-Host "Nexus is available at http://localhost:8081/nexus" }

+ 0 - 29
automatic/nexus-oss/update.ps1

@@ -1,29 +0,0 @@
-import-module au
-
-$url = 'http://www.sonatype.org/downloads/nexus-latest-bundle.zip'
-
-function global:au_SearchReplace {
-    @{
-        'tools\chocolateyInstall.ps1' = @{
-            "(^[$]url\s*=\s*)('.*')"       = "`$1'$($Latest.URL)'"
-            "(^[$]checksum\s*=\s*)('.*')"  = "`$1'$($Latest.Checksum32)'"
-        }
-     }
-}
-
-function global:au_GetLatest {
-    while($true) {
-        $request = [System.Net.WebRequest]::Create($url)
-        $request.AllowAutoRedirect=$false
-        $response=$request.GetResponse()
-        $location = $response.GetResponseHeader('Location')
-        if (!$location -or ($location -eq $url)) { break }
-        $url = $location
-    }
-
-    $version = ($url -split '-|\.' | select -Last 4 -skip 2) -join '.'
-    $Latest = @{ URL = $url; Version = $version }
-    return $Latest
-}
-
-update -NoCheckUrl -ChecksumFor 32

BIN
icons/1password.png


BIN
icons/nexus-oss.png


+ 0 - 234
ketarin/1password.ketarin.xml

@@ -1,234 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Jobs>
-  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="94a4a6bb-48e1-49e3-a1d6-aef0a094d0fd">
-    <SourceTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
-<Jobs>
-  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-    <WebsiteUrl />
-    <UserAgent>chocolatey command line</UserAgent>
-    <UserNotes />
-    <LastFileSize>0</LastFileSize>
-    <LastFileDate xsi:nil="true" />
-    <IgnoreFileInformation>false</IgnoreFileInformation>
-    <DownloadBeta>Default</DownloadBeta>
-
-    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
-    <VariableChangeIndicator />
-    <HashVariable />
-    <HashType>None</HashType>
-    <CanBeShared>true</CanBeShared>
-    <ShareApplication>false</ShareApplication>
-    <ExclusiveDownload>false</ExclusiveDownload>
-    <HttpReferer />
-    <SetupInstructions />
-    <Variables>
-      <item>
-        <key>
-          <string>version</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>Last program version.*?([\d\.]+)</Regex>
-            <Url><placeholder name="Url to search for updates" value="https://agilebits.com/downloads" /></Url>
-            <Name>version</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{getUrl}</TextualContent>
-            <Name>url</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{getUrl64}</TextualContent>
-            <Name>url64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
-            <Url>x</Url>
-            <Name>getUrl</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
-            <Url>x</Url>
-            <Name>getUrl64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>checksum</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[A-Fa-f0-9]{32}</Regex>
-            <Url>md5</Url>
-            <TextualContent>{checksum}</TextualContent>
-            <Name>checksum</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>checksumx64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>(?&lt;=ResponseUri: )[^\r\n]+</Regex>
-            <Url>{url64}</Url>
-            <TextualContent>{checksum}</TextualContent>
-            <Name>checksumx64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>checksum64file</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{url64}</TextualContent>
-            <Name>checksum64file</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>cscript</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>2</TextualContent>
-            <Name>cscript</Name>
-          </UrlVariable>
-        </value>
-      </item>
-    </Variables>
-    <ExecuteCommand />
-    <ExecutePreCommand />
-    <ExecuteCommandType>Batch</ExecuteCommandType>
-    <ExecutePreCommandType>Batch</ExecutePreCommandType>
-    <Category />
-    <SourceType>FixedUrl</SourceType>
-
-    <DeletePreviousFile>true</DeletePreviousFile>
-    <Enabled>true</Enabled>
-    <FileHippoId />
-
-    <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
-    <FixedDownloadUrl>{url}</FixedDownloadUrl>
-    <Name><placeholder name="Name of the package (should match the folder under automatic and the nuspec file)." value="1password" /></Name>
-  </ApplicationJob>
-</Jobs>
-]]></SourceTemplate>
-    <WebsiteUrl />
-    <UserAgent>chocolatey command line</UserAgent>
-    <UserNotes />
-    <LastFileSize>10785376</LastFileSize>
-    <LastFileDate>2016-08-22T14:15:56.5025575</LastFileDate>
-    <IgnoreFileInformation>false</IgnoreFileInformation>
-    <DownloadBeta>Default</DownloadBeta>
-    <DownloadDate xsi:nil="true" />
-    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
-    <VariableChangeIndicator />
-    <HashVariable />
-    <HashType>None</HashType>
-    <CanBeShared>true</CanBeShared>
-    <ShareApplication>false</ShareApplication>
-    <ExclusiveDownload>false</ExclusiveDownload>
-    <HttpReferer />
-    <SetupInstructions />
-    <Variables>
-      <item>
-        <key>
-          <string>version</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>1Password-([\d\.]+).exe</Regex>
-            <Url>https://agilebits.com/downloads</Url>
-            <Name>version</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+{version}\.exe</Regex>
-            <Url>https://agilebits.com/downloads</Url>
-            <TextualContent>{getUrl}</TextualContent>
-            <Name>url</Name>
-          </UrlVariable>
-        </value>
-      </item>
-    </Variables>
-    <ExecuteCommand />
-    <ExecutePreCommand />
-    <ExecuteCommandType>Batch</ExecuteCommandType>
-    <ExecutePreCommandType>Batch</ExecutePreCommandType>
-    <Category />
-    <SourceType>FixedUrl</SourceType>
-    <PreviousLocation>c:\chocolatey-auto-save\1password_4.6.0.604.exe</PreviousLocation>
-    <DeletePreviousFile>true</DeletePreviousFile>
-    <Enabled>true</Enabled>
-    <FileHippoId />
-    <LastUpdated>2016-08-22T14:15:56.5025575</LastUpdated>
-    <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
-    <FixedDownloadUrl>{url}</FixedDownloadUrl>
-    <Name>1password</Name>
-  </ApplicationJob>
-</Jobs>

+ 0 - 7
ketarin/README.md

@@ -1,7 +0,0 @@
-## Ketarin Jobs
-
-* Ensure you perform the steps in `setup/README.md`.
-
-This is where the ketarin xml job exports go. This allows it to be easier to contribute when Ketarin jobs are available for exporting.
-
-This is also the folder that ops/ketarinupdate.cmd is using to import all of the jobs into Ketarin silently, so that things stay updated on a server running this.

+ 0 - 108
ketarin/_KetarinChocolateyTemplate.xml

@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Jobs>
-  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-    <WebsiteUrl />
-    <UserAgent>chocolatey command line</UserAgent>
-    <UserNotes />
-    <LastFileSize>0</LastFileSize>
-    <LastFileDate xsi:nil="true" />
-    <IgnoreFileInformation>false</IgnoreFileInformation>
-    <DownloadBeta>Default</DownloadBeta>
-
-    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
-    <VariableChangeIndicator />
-    <HashVariable />
-    <HashType>None</HashType>
-    <CanBeShared>true</CanBeShared>
-    <ShareApplication>false</ShareApplication>
-    <ExclusiveDownload>false</ExclusiveDownload>
-    <HttpReferer />
-    <SetupInstructions />
-    <Variables>
-      <item>
-        <key>
-          <string>version</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>Last program version.*?([\d\.]+)</Regex>
-            <Url><placeholder name="Url to search for new version" /></Url>
-            <Name>version</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{getUrl}</TextualContent>
-            <Name>url</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
-            <Url><placeholder name="Url to search for new version" /></Url>
-            <Name>getUrl</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{getUrl64}</TextualContent>
-            <Name>url64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
-            <Url><placeholder name="Url to search for new version" /></Url>
-            <Name>getUrl64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-    </Variables>
-    <ExecuteCommand />
-    <ExecutePreCommand />
-    <ExecuteCommandType>Batch</ExecuteCommandType>
-    <ExecutePreCommandType>Batch</ExecutePreCommandType>
-    <Category />
-    <SourceType>FixedUrl</SourceType>
-
-    <DeletePreviousFile>true</DeletePreviousFile>
-    <Enabled>true</Enabled>
-    <FileHippoId />
-
-    <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
-    <FixedDownloadUrl>{url}</FixedDownloadUrl>
-    <Name><placeholder name="Name of the package (should match the folder under automatic and the nuspec file)." /></Name>
-  </ApplicationJob>
-</Jobs>

+ 0 - 217
ketarin/git.install.ketarin.xml

@@ -1,217 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Jobs>
-  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="c518bce8-02ab-466d-b058-fcbe6d4579ff">
-    <SourceTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
-<Jobs>
-  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-    <WebsiteUrl />
-    <UserAgent>chocolatey command line</UserAgent>
-    <UserNotes />
-    <LastFileSize>0</LastFileSize>
-    <LastFileDate xsi:nil="true" />
-    <IgnoreFileInformation>false</IgnoreFileInformation>
-    <DownloadBeta>Default</DownloadBeta>
-
-    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
-    <VariableChangeIndicator />
-    <HashVariable />
-    <HashType>None</HashType>
-    <CanBeShared>true</CanBeShared>
-    <ShareApplication>false</ShareApplication>
-    <ExclusiveDownload>false</ExclusiveDownload>
-    <HttpReferer />
-    <SetupInstructions />
-    <Variables>
-      <item>
-        <key>
-          <string>version</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>Last program version.*?([\d\.]+)</Regex>
-            <Url><placeholder name="Url to search for new version" value="https://github.com/git-for-windows/git/releases" /></Url>
-            <Name>version</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{getUrl}</TextualContent>
-            <Name>url</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
-            <Url><placeholder name="Url to search for new version" value="https://github.com/git-for-windows/git/releases" /></Url>
-            <Name>getUrl</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>{getUrl64}</TextualContent>
-            <Name>url64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
-            <Url><placeholder name="Url to search for new version" value="https://github.com/git-for-windows/git/releases" /></Url>
-            <Name>getUrl64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-    </Variables>
-    <ExecuteCommand />
-    <ExecutePreCommand />
-    <ExecuteCommandType>Batch</ExecuteCommandType>
-    <ExecutePreCommandType>Batch</ExecutePreCommandType>
-    <Category />
-    <SourceType>FixedUrl</SourceType>
-
-    <DeletePreviousFile>true</DeletePreviousFile>
-    <Enabled>true</Enabled>
-    <FileHippoId />
-
-    <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
-    <FixedDownloadUrl>{url}</FixedDownloadUrl>
-    <Name><placeholder name="Name of the package (should match the folder under automatic and the nuspec file)." value="git.install" /></Name>
-  </ApplicationJob>
-</Jobs>
-]]></SourceTemplate>
-    <WebsiteUrl />
-    <UserAgent>chocolatey command line</UserAgent>
-    <UserNotes />
-    <LastFileSize>32801448</LastFileSize>
-    <LastFileDate>2016-08-13T09:56:47+00:00</LastFileDate>
-    <IgnoreFileInformation>false</IgnoreFileInformation>
-    <DownloadBeta>Default</DownloadBeta>
-    <DownloadDate xsi:nil="true" />
-    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
-    <VariableChangeIndicator />
-    <HashVariable />
-    <HashType>None</HashType>
-    <CanBeShared>true</CanBeShared>
-    <ShareApplication>false</ShareApplication>
-    <ExclusiveDownload>false</ExclusiveDownload>
-    <HttpReferer />
-    <SetupInstructions />
-    <Variables>
-      <item>
-        <key>
-          <string>version</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>Git-([\d\.]+)-</Regex>
-            <Url>https://github.com/git-for-windows/git/releases</Url>
-            <Name>version</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>https://github.com{getUrl}</TextualContent>
-            <Name>url</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>\/Git\-[^ "'&lt;&gt;\*]+\-32\-bit\.exe</Regex>
-            <Url>https://github.com/git-for-windows/git/releases</Url>
-            <Name>getUrl</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>url64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>Textual</VariableType>
-            <Regex />
-            <TextualContent>https://github.com{getUrl64}</TextualContent>
-            <Name>url64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-      <item>
-        <key>
-          <string>getUrl64</string>
-        </key>
-        <value>
-          <UrlVariable>
-            <RegexRightToLeft>false</RegexRightToLeft>
-            <VariableType>RegularExpression</VariableType>
-            <Regex>\/Git\-[^ "'&lt;&gt;\*]+\-64\-bit\.exe</Regex>
-            <Url>https://github.com/git-for-windows/git/releases</Url>
-            <Name>getUrl64</Name>
-          </UrlVariable>
-        </value>
-      </item>
-    </Variables>
-    <ExecuteCommand />
-    <ExecutePreCommand />
-    <ExecuteCommandType>Batch</ExecuteCommandType>
-    <ExecutePreCommandType>Batch</ExecutePreCommandType>
-    <Category />
-    <SourceType>FixedUrl</SourceType>
-    <PreviousLocation>c:\chocolatey-auto-save\git.install_2.9.3.exe</PreviousLocation>
-    <DeletePreviousFile>true</DeletePreviousFile>
-    <Enabled>true</Enabled>
-    <FileHippoId />
-    <LastUpdated>2016-08-22T15:04:33.9789692+00:00</LastUpdated>
-    <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
-    <FixedDownloadUrl>{url}</FixedDownloadUrl>
-    <Name>git.install</Name>
-  </ApplicationJob>
-</Jobs>

+ 0 - 9
ops/README.md

@@ -1,9 +0,0 @@
-## Operations
-
-### Ketarin/ChocolateyPackageUpdater Ops
-
-* Use ketarinupdate.cmd or another file to set up a scheduled task for daily, hourly, or whatever schedule you best feel will work appropriately.
-
-### AutomaticUpdater
-
-Nothing to do here, jobs run automatically by AppVeyor on commit and on a schedule that you've set up in AppVeyor.

+ 0 - 29
ops/ketarinupdate.cmd

@@ -1,29 +0,0 @@
-@echo off
-
-SET DIR=%~dp0%
-
-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)
-
-echo Updating the github repo first
-pushd %DIR%
-call git add --all :/
-call git commit -m "updates prior to automatic run for %mydate%_%mytime%"
-::call git reset --hard HEAD
-call git fetch && git rebase origin/master
-call git push origin master
-popd
-
-:: /database="%DIR%\jobs.db"
-
-::import all the files
-FOR /f "tokens=*" %%F IN ('dir %DIR%..\ /b *.ketarin.xml') DO (
-	call ketarin.exe  /import="%DIR%..\%%F"
-	TIMEOUT /T 2
-)
-
-Echo Wait for all of those to finish importing...
-TIMEOUT /T 15
-
-echo Calling ketarin now the the repo has been updated
-call "Ketarin.exe" /silent /notify /log=C:\ProgramData\chocolateypackageupdater\ketarin.%mydate%_%mytime%.log

File diff suppressed because it is too large
+ 0 - 2646
setup/KetarinSettings.xml


+ 0 - 11
setup/README.md

@@ -1,16 +1,5 @@
 # Setup
 
-## Ketarin / ChocolateyPackageUpdater Automatic Packaging
-
-* Review `ketarin_setup.ps1` to ensure all items are set appropriately. Uncomment/change anything you need to now.
-* Run `ketarin_setup.ps1`
-* Open ketarin after installing it, open the settings and import `KetarinSettings.xml`.
-* Set up push for Chocolatey community feed with your API key.
-* Ensure `git push` doesn't require credentials.
-* Review `ops/ketarinupdate.cmd` to ensure it is good to go.
-
-**Note**: Use `ops/ketarinupdate.cmd` or similar to schedule updates.
-
 ## Automatic Updater (AU)
 
 * Run `au_setup.ps1`.

+ 0 - 11
setup/ketarin_setup.ps1

@@ -1,11 +0,0 @@
-# If you change this value, also change it in the global settings
-# The name will also be saveDir
-$saveDir = "c:\chocolatey-auto-save"
-
-Write-Host "Ensuring that the Ketarin auto save folder is set appropriately."
-if (!(Test-Path($saveDir))) {
-  mkdir $saveDir
-}
-
-choco upgrade chocolateypackageupdater -y
-choco upgrade ketarin -y