Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chocolatey Packages #147

Closed
discentem opened this issue Jan 9, 2018 · 2 comments
Closed

Chocolatey Packages #147

discentem opened this issue Jan 9, 2018 · 2 comments

Comments

@discentem
Copy link
Contributor

Hi CPE,
I'd be very interested to see Chocolatey packages Facebook has written be open-sourced, similar to the Autopkg Recipes that have been open-sourced over at https://github.com/facebook/Recipes-for-AutoPkg. This would be a great help to me and I think the community as well!

Thanks,
Brandon

@gbatye
Copy link
Contributor

gbatye commented Jan 23, 2018

Hello,

We don't do anything special with chocolatey packages to justify opensourcing. A majority of our internal packages are modified versions from chocolatey.org to fit our organizations needs. On top of that, we haven't taken advantage of the automatic package framework which you might be alluding to.

FWIW, here is general template we follow when creating new packages.

$splat = @{
  'PackageName' = 'example;
  'FileType' = 'msi;
  'SilentArgs' = 'AGREETOLICENSE=Yes /quiet';
  'Url' = 'https://example.com/package.msi;
  'Checksum' = 'checksum';
  'ValidExitCodes' = @(0, 1603);
}

Install-ChocolateyPackage @splat

@discentem
Copy link
Contributor Author

discentem commented Mar 19, 2018

Thanks for the information and example @gbatye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants