PackageManagementProviderResource icon indicating copy to clipboard operation
PackageManagementProviderResource copied to clipboard

Resources are not supposed to have Resource in the module name

Open TravisEz13 opened this issue 9 years ago • 8 comments

TravisEz13 avatar May 04 '15 17:05 TravisEz13

Thanks Travis. Do you have a better name for this project?

jianyunt avatar Aug 10 '15 19:08 jianyunt

PackageManagement

mgreenegit avatar Dec 12 '15 15:12 mgreenegit

This name is already taken. PackageManagement (a.k.a OneGet) is the package manager's aggregator, it's a Windows inbox component and upgrade-able from PowerShellgallery.com. it deals with package discovery and installation etc. Here we are dealing with the package provider's DSC resources. So PackageManagement may not be a good name either.

jianyunt avatar Dec 22 '15 02:12 jianyunt

Just to add an update here, the naming convention is discussed here: https://github.com/PowerShell/PowerShell-RFC/issues/10 and the DSC community calls seems to be leaning towards _ModuleName_Dsc

That would give, IMO, PackageManagementDsc At least when converted to an HQRM resource.

gaelcolas avatar Aug 26 '16 16:08 gaelcolas

My team has been attempting to use this resource and have run into a few bugs that we are fixing. So we are planning on fixing this as well as making the changes to bring it up to HQRM. So once that is done it might be worth renaming this resource at that point.

PlagueHO avatar Nov 15 '16 03:11 PlagueHO

Can you please send Pull Request for a few bugs you are fixing so that we can integrate them?
Also we are considering merge this module to the PackageManagement, therefore won't have naming problem.

jianyunt avatar Nov 15 '16 17:11 jianyunt

Hi @jianyunt - sure thing. I'll get the fixes up to you guys once we figure out a solution - the main problem we have is that registering a package source using DSC registers under the Local System account (I think) rather than for a specific user. This might be a case of running the LCM under a different context (using PSDscRunAsCredential), but that isn't available for WMF4.0.

PlagueHO avatar Nov 16 '16 05:11 PlagueHO

This issue was moved to OneGet/oneget#262

brywang-msft avatar Jan 12 '17 22:01 brywang-msft