Coder Social home page Coder Social logo

anthonymastrean / chocolateypackages Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 63.0 10.93 MB

Application packages for Windows

Home Page: https://chocolatey.org/profiles/AnthonyMastrean

Ruby 0.35% PowerShell 33.21% Inno Setup 0.94% HTML 0.14% Batchfile 0.03% Rich Text Format 65.33%

chocolateypackages's Introduction

Chocolatey Packages

Looking for maintainers... #392

chocolateypackages's People

Contributors

andreasmalta avatar anthonymastrean avatar bazzilic avatar clarsco avatar dgalbraith avatar dtgm avatar gbrayut avatar haniffm avatar henrikhalt avatar i-give-up avatar jahav avatar jberezanski avatar jjnilton avatar joelhandwell avatar jonasw234 avatar jordigg avatar kadekm avatar martygentillon avatar mew1033 avatar natrezim avatar netscylla avatar paladinshiva avatar teknowledgist avatar thomashardwick avatar thorerik avatar viceice avatar webcoyote avatar xandrx avatar zed76r avatar zippy1981 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chocolateypackages's Issues

Error installing collabnetsvn on Windows XP SP3 32-bit

Write-Error : Package 'collabnetsvn v1.8.5' did not install successfully: 
Cannot bind argument to parameter 'Path' because it is null. At 
  C:\DEV\Chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:28 
    Write-Error <<<< "Package '$installedPackageName v$installedPackageVersion' did not install successfully:
    $($_.Exception.Message)" + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

The helpers should be updated and supplemented with rake or psake tasks

First, make a proper Chocolatey developer module and work out functions to

  • Create a new package from a template
  • Package the nuspec (cpack)
  • Install the local package
  • Publish the package (cpush)

Bundler calls them build, install, and release. Maybe, I can go pack, install, and push, to stick with the existing terminology.

Can we maintain one JDK package?

There are a handful of JDK packages on Chocolatey and I think they're all out of date: jdk, jdk7, jdk8, java.jdk

The JDK download is notoriously hard to script (compared to your usual chocolatey package) because it's behind a license acceptance button. You have to setup some cookies and write your own downloader.

  [System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }
  $client = New-Object "System.Net.WebClient"
  $client.Headers.Add("Cookie", "gpw_e24=http://www.oracle.com")
  $client.DownloadFile($dl, $temp)

This loses you a lot of the built-in Chocolatey features:

  • installer parameters (like a non-default INSTALLDIR)
  • download progress
  • installing specific package architectures (using the -x86 flag to force the x86 package)

Then, there's a number of things that you can try to do to be "helpful" because the JDK installer doesn't do it automatically. I don't know which of these is desirable or what edge cases there are (taking into account multiple installed JDKs/JREs, manual customziations in your environment, etc)

  • set the JAVA_HOME environment variable
  • set a default CLASSPATH environment variable
  • put the <install-dir>\Java\bin directory on the environment PATH

Now, assuming we hammer out the technical implementation details and figure out how to support all of the Chocolatey features (look at PR-171 for a possible reprieve), we need to talk about how best to name/version this thing.

We already know that the JDK is named/versioned like crazy

image

So, version "7" in the name is mapped to the minor version segment and the update "45" is in a magical 4th version segment that's not supported by semver/nuget at all. They fix that in version 8. But, the update number is given an extra order of magnitude in both cases, from 45 to 450 and 5 to 50, great!

It seems "normal" in the Java ecosystem, and probably stable enough for many years, to remap this onto one package/version scheme. But, we should take into account installing multiple JDKs, side-by-side. We may want to release packages like this...

id version
jdk7 7.0.45
jdk8 8.0.5

Lots of comments here and here on naming.


//cc @carolynvs @adorepump @Iristyle @ootaken @digitaldrummerj

JRE5

From nemchik via http://chocolatey.org


Is there any chance of you adding the J2SE 5.0 branch? Oddly I've got a situation where I am needing J2SE 5 because the newer versions of JRE won't work with some software I'm using.

Use dashes for name parts, where appropriate

For packages that are extensions or partial or something, like "bind.toolsonly", use dashes instead of periods. It's arguably more readable and common.

bind-toolsonly

The offending packages are

  • bind.toolsonly
  • git.difftool.diffmerge
  • imagej.jdk6
  • microsoft.isobackuptool
  • windows.sdk

Error installing autohotkey.portable as part of the dropbox package

When trying to install dropbox, I receive this error (clipped)

Write-Error : autohotkey.portable did not finish successfully. Boo to the chocolatey gods!

[ERROR] Cannot bind argument to parameter 'Path' because it is an empty string.

At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:2 + 
Package 'autohotkey.portable v1.1.14.20140215' did not install successfully: 
Cannot bind argument to parameter 'Path' because it is an empty string.

Put joytokey in system Startup folder?

Why not, the bat-shim calls an exe that just disappears into the system tray, by default.

$startup = "$ENV:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup"

Make some kind of target and setup an icon

$shell = New-Object -ComObject "Wscript.Shell"
$shortcut = $shell.CreateShortcut($link)
$shortcut.TargetPath = $target
$shortcut.WorkingDirectory = $content
$shortcut.Save()

And kick start it

& $link

DVD Shrink

Yoshimov's dvdshrink package appears to be gone!

Error installing the miktex package

From "Fabian" on Chocolatey.org

I get an install error every time I try to install miktex. Completely version independent. Due to the fact that I can install every other package I think this is maybe related to the miktex package.

Write-Error : miktex did not finish successfully. Boo to the chocolatey gods!

[ERROR] Exception calling "GetResponse" with "0" argument(s): "Cannot handle redirect from HTTP/HTTPS protocols to other dissimilar ones."

At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:2 + Write-Error $errorMessage + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : Could not move bad package miktex from 'C:\Chocolatey\lib\miktex.2.9.5105' to > 'C:\Chocolatey\lib-bad': Ex ception calling "Delete" with "2" argument(s): "Das Verzeichnis ist nicht leer. " At C:\Chocolatey\chocolateyinstall\functions\Move-BadInstall.ps1:21 char:5 + Write-Error "Could not move bad package $packageName from '$packageFolder' ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : Package 'miktex v2.9.5105' did not install successfully: Exception calling "GetResponse" with "0" argumen t(s): "Cannot handle redirect from HTTP/HTTPS protocols to other dissimilar ones." At C:\Chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17 + Write-Error "Package `'$installedPackageName v$installedPackageV ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

$PSHOME\Modules is reserved for Windows modules

From radomaj via http://chocolatey.org


So, Microsoft says that $PSHome\Modules is

reserved for modules that ship with Windows. Do not install modules to this location.

So it would be appreciated, if you used a path from $env:PSModulePath. I know it can contain more than one path, so I guess you could just split it on ";" and use the last one. Or you could use the other path that is in Powershell by default, namely $Home\Documents\WindowsPowerShell\Modules.

Thank you in advance. I'd appreciate a reply if you disagree.

modernmix 1.15

From Kris Kwalis via http://about.me


Noticed your ModernMix package while doing some Chocolatey work early. This is 1.15 of MM which will be released tomorrow, April 30.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.