Added curl to automatic packages #46

Closed
wants to merge 1 commit into
from

2 participants

@TomOne

No description provided.

@TomOne TomOne referenced this pull request in ferventcoder/nugetpackages Sep 4, 2013
Closed

Remove curl, because it's in automatic packages #99

@TomOne

Don’t forget to merge this and my other pull requests:
#50
ferventcoder/nugetpackages#105
ferventcoder/nugetpackages#104
ferventcoder/nugetpackages#100
ferventcoder/nugetpackages#99
ferventcoder/nugetpackages#98
ferventcoder/nugetpackages#97

These pull requests are only small and don’t require much time.

@ferventcoder
@TomOne

Oh sorry, you’re right. Older curl versions get deleted on the website.

There exists a method for an automatic package that downloads the current curl version, extracts it and puts the files into the package. This could be a possible solution:

  • Provide two Ketarin items: one called a-curl which downloads the latest version curl zip file, extracts the files using 7za and puts them into the chocolateyautomaticpackages/curl/tools folder.
  • The other Ketarin item called curl, which builds and uploads the actual curl package using the files downloaded and extracted by a-curl
  • If the a-curl Ketarin job fails, curl must fail too, otherwise it could happen that it uploads an empty package.

I know, this is quite a “dirty” way, but it’s because of Ketarin’s automation limitations. I use it already for my automatic YUMI package.

Would this method be OK for the curl package? Or do you have a better idea?

@ferventcoder

Actually chocolatey autopackages now has a known script it looks for to run arbitrary powershell, which could download and arrange the files.

@TomOne

How does it work?
I placed a ChocoPkgUp.ps1 file into the curl package folder (C:\Chocolatey\chocolateyautomaticpackages\curl in this case), but it doesn’t get executed by chocopkgup. Is there a special option that needs to be added to chocopkgup? The output of chocopkgup --help doesn’t mention it, and also the text from the release notes doesn’t provide additional information.

@TomOne

@ferventcoder, can you give me an answer for my previous question? I would like to conclude this PR and the others.

@ferventcoder
Owner

Perhaps it is a bug in the tool. It should copy it over to the output folder and then run the ps1 file.

@TomOne

Can you reproduce this bug?

@TomOne

Can you fix this bug?

@ferventcoder
Owner

I will take a look at it later today or tomorrow. I hit the high priority items

@TomOne

Thanks 👍

@TomOne TomOne referenced this pull request Feb 10, 2014
Closed

Fixed some broken packages #63

@ferventcoder

Closing as this has been moved out of this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment