Badgerati / Fudge

Fudge is a PowerShell tool to help manage software packages via Chocolatey for specific development projects. Think NPM and Bower, but for Chocolatey
MIT License
21 stars 3 forks source link

Basic linux support #62

Open jayvdb opened 5 years ago

jayvdb commented 5 years ago

Seems like there is a few problems preventing the basics from working. (Note I dont have choco installed yet, so that should be the first error I see)

$ pwsh -c ". assets/fudge/Fudge.ps1 list"
Fudge v$version$
Error checking user administrator priviledges
Windows Principal functionality is not supported on this platform.
Must be running with administrator priviledges for Fudge to fully function

Duration: 00:00:00.4940592
$ pwsh -c ". assets/fudge/Fudge.ps1 pack -fudgefile .ci/Fudgefile.appveyor"
Fudge v$version$
Error checking user administrator priviledges
Windows Principal functionality is not supported on this platform.
Must be running with administrator priviledges for Fudge to fully function

Duration: 00:00:00.2603162
Badgerati commented 5 years ago

Oh yeah, there will be - Admin checking is a big one, as it only works on Windows. Also that Chocolately isn't for nix as well.

This is one that will be resolved via #61 and #53 - For rewriting Fudge as a module, I'm looking at using classes - to make multiple providers easier to support.

jayvdb commented 5 years ago

Also that Chocolately isn't for nix as well.

I have a reasonably working choco with https://github.com/chocolatey/choco/pull/1827

I'm going to hack around the Fudge admin checking and see what else doesnt work. Im especially keen on seeing fudge/choco pack working, as that can be used to create fake empty packages that can be installed on Linux for mock/test/development purposes.

jayvdb commented 5 years ago

List of initial problems: