July 13, 2016 at 1:06 pm #46728
I've been searching for information on how to host your own powershellgallery.com like service.
I'm currently very confused when it comes to the whole powershellgallery.com vs psget vs packagemanagement vs nuget vs powershellget vs psgallery vs oneget. There are some many names mentioned and I find it hard to get good information.
* Host my own powershell modules
* Maybe host/proxy other modules found at e.g. powershellgallery.com
* Preferably unlicensed/free software (I see the need for Visual Studio mentioned a lot)
I've found this topic, https://powershell.org/forums/topic/powershell-gallery-alternatives/ , from April where @dlwyatt mentions:
The PSPrivateGallery repo seems kind of dead and the blog post is, as Dave mentions, old.
Are anyone able to shed some light? What's the simplest way to get started with hosting your own modules?
July 13, 2016 at 1:16 pm #46732
The PowerShell team has been working on something to let you do exactly this.
However, some terms.
powershellgallery.com – this is a website that acts as a package repository; it's a NuGet-style repo
psget – shorthand for powershellget
packagemanagement – the module containing PowerShell Package Manager
nuget – underlying packaging technology beneath Chocolatey; one type of repo supported by PowerShell Package Manager
powershellget – built on PowerShell Package Manager, provides PowerShell-specific functions (like Install-Module).
psgallery – shorthand for PowerShell Gallery
oneget – outdated, pre-release name for PowerShell Package Manager
July 13, 2016 at 1:18 pm #46734
And a short answer is...
a NuGet repo, which you can set up yourself, is compatible with PowerShell Package Manager. But that's designed for generic packages – applications and so on. PowerShellGallery is a more focused thing, built on NuGet, but very shell-specific, so it includes more granular functionality like Find-Module and Install-Module. PowerShellGallery couldn't be used to install, say, 7Zip. The team hasn't (I don't think; they just demo'd this in a Lightning Round at Summit) completed their "install your own PowerShellGallery" yet.
July 15, 2016 at 4:50 pm #47073
Wait and see *is* probably the best approach. I'd keep an eye on the team blog, the /powershell page on Microsoft.com, and their GitHub repo. Apart from that, I don't know that there's much of a way to keep track of progress, although I'll mention that desire to the team!
You must be logged in to reply to this topic.