Giter VIP home page Giter VIP logo

cchoco's Introduction

Branch Status
master Build status
development Build status

Community Chocolatey DSC Resource

Join the chat at https://gitter.im/chocolatey/cChoco

This resource is aimed at getting and installing packages using Chocolatey.

The resource takes the name of the package and will then install that package.

See ExampleConfig.ps1 for example usage.

See list of packages here: https://chocolatey.org/packages

Contributing

Happy to accept new features and fixes. Outstanding issues which can be worked on tagged Up For Grabs under issues.

Submitting a PR

Here's the general process of fixing an issue in the DSC Resource Kit:

  1. Fork the repository.
  2. Clone your fork to your machine.
  3. It's preferred to create a non-master working branch where you store updates.
  4. Make changes.
  5. Write pester tests to ensure that the issue is fixed.
  6. Submit a pull request to the development branch.
  7. Make sure all tests are passing in AppVeyor for your pull request.
  8. Make sure your code does not contain merge conflicts.
  9. Address comments (if any).

Build and Publishing

AppVeyor is used to package up the resource and publish to the PowerShell Gallery (on successful build from a newly pushed tag only).

The AppVeyor scripts do the following:

  • Test the resources using 'xDSCResourceDesigner'
  • Verify best practises using 'PSScriptAnalyzer'
  • Update the version in the manifest file
  • Publish the module to the PowerShell gallery
  • Check in updated manifest file to GitHub

To build:

  1. Update ModuleVersion in cChoco.psd1 - use major.minor.patch.0;
  2. Update version in appveyor.yml - use major.minor.patch.{build};
  3. Merge development branch to master - git checkout master, git merge development, git push origin;
  4. Tag master with new version - git tag v<major.minor.patch>;
  5. Push changes with tag git push origin v<major.minor.patch>

Known Issues / Troubleshooting

WS-Management - Exceeds the maximum envelope size allowed

The maximum envelope size for WinRM is not sufficient for installing large packages. To increase the envelope size use winrm set winrm/config @{MaxEnvelopeSizekb=โ€153600โ€ณ} - this example will increase it to 150MB.

cchoco's People

Contributors

absolutejam avatar bgelens avatar bozho avatar damianbis avatar dlwyatt avatar ebekker avatar ferventcoder avatar gitter-badger avatar jark avatar javydekoning avatar jrdnr avatar kcighon avatar lawrencegripper avatar lukegriffith avatar mkevenaar avatar mrhockeymonkey avatar mrpullen avatar pauby avatar ptoonen avatar ralish avatar robfaie avatar sebastus avatar smurawski avatar variableresistor avatar

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.