Git Product home page Git Product logo

chocolateypackagecreator's Introduction

Hi there, I'm Josh ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on a new blog series
  • ๐ŸŒฑ Iโ€™m currently learning development best practices
  • ๐Ÿ’ฌ Ask me about my homelab
  • ๐Ÿ“ซ How to find me:

Josh's github stats

chocolateypackagecreator's People

Contributors

jmgilman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

chocolateypackagecreator's Issues

Status of Repo

Hey I just found this and am very interested.

  • It looks like there are warnings when installing from PowerShell gallery now.
  • Many errors with New-ChocolateyPackage

Are you still planning on working on this? Or should I fork it and work on the development?

Function Test-ConfigSection is not cross validating the correct $object and $properties names values

The $objectproperties is of type [ChocolateyPackage] has a property value 'Installer'.
This 'Installer' property name is not found in the $properties array and causes the function to throw.

$properties value names are "processScript manifest remoteFiles localFiles path name shim"
$objectproperties value names are "Installer LocalFiles Manifest Name Path ProcessScript RemoteFiles Shim"

I did add an Installer = 'exe' value as a guess to my package.psd1 file to see if that would bypass the exeception but then it threw another error
about "Error validating package configuration: Configuration is missing property ArgumentPrefix for object PackageInstaller"

because of adding an Installer property to my package.psd1 file it makes the script then execute code from
Test-PackageConfiguration below.

switch ($property.Name) {
Installer {
# This property is optional
if ($Configuration['Installer'].Count -gt 0) {
Test-ConfigSection -Object ([PackageInstaller]::new()) -Properties $property.Value.Keys
}
}

This is as far as I got trying to debug but now need help.

As a workaround I hashed out the line from the function Test-PackageConfiguration below.
#Test-ConfigSection -Object ([ChocolateyPackage]::new()) -Properties $Configuration.Keys

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.