Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Proposal of moving resources to a new (existing) resource module #374

Open
johlju opened this issue May 10, 2018 · 26 comments
Open

Proposal of moving resources to a new (existing) resource module #374

johlju opened this issue May 10, 2018 · 26 comments
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@johlju
Copy link
Contributor

johlju commented May 10, 2018

When going through the DSC Resource Kit I have seen a lot of resource modules, many with just a single resource, that could be moved to another repository.
Moving these resource would, I think, reduce work when having fewer resource modules to maintain. I also think it would be simpler for the community discuss resources if those that fit together was in the same resource module.

Below is a suggestion how we could move this. It's open for discussion, and please comment on this if I have missed a resource, or if you see any issues with moving a particular resource.

Done Resource Resource(s) Move to Comment
✔️ xPendingReboot xPendingReboot ComputerManagementDsc Discussed in dsccommunity/xPendingReboot#12.
✔️ xWinEventLog xWinEventLog ComputerManagementDsc
✔️ xPowerShellExecutionPolicy xPowerShellExecutionPolicy ComputerManagementDsc
✔️ SystemLocaleDsc SystemLocale ComputerManagementDsc Discussed in PowerShell/SystemLocaleDsc#14 and dsccommunity/ComputerManagementDsc#50. LanguageDsc is being moved into ComputerManagementDsc (dsccommunity/ComputerManagementDsc#160) which will supersede SystemLocaleDsc. Deprecate SystemLocaleDsc once dsccommunity/ComputerManagementDsc#160 is merged
In progress xDismFeature xDismFeature ComputerManagementDsc
✔️ xRemoteDesktopAdmin xRemoteDesktopAdmin ComputerManagementDsc PR dsccommunity/ComputerManagementDsc#227
-- xWindowsRestore xSystemRestore, xSystemRestorePoint ComputerManagementDsc
-- xWindowsEventForwarding xWEFCollector. xWEFSubscription ComputerManagementDsc
✔️ xTimeZone xTimeZone ComputerManagementDsc
✔️ xSystemSecurity xIEEsc, xUAC ComputerManagementDsc
✔️ xSystemSecurity xFileSystemAccessRule FileSystemDsc (new module)
✔️ xSmbShare xSmbShare ComputerManagementDsc
-- xPhp xPhpProvision xWebAdministration I thought that this resource needs IIS on Windows so that would make it fit into xWebAdministration.
@PlagueHO
Copy link
Contributor

Great list @johlju - very much inline with what I would like to do.

There is a couple of other issues where moving resources into ComputerManagementDSc:
dsccommunity/ComputerManagementDsc#127
#288

@ld0614 had suggested that he could add his Language Module to ComputerManagementDsc (https://github.com/ld0614/LanguageDsc), superseding SystemLocaleDsc. @ld0614, are you still interested in doing this? I think the language module contains a lot more functionality than the SystemLocaleDsc one. @johlju - what do you think?

@ld0614 - your module looks like it has some really great functionality. Needs a few tweaks to make it HQRM, but nothing we can't get sorted easily enough.

@johlju
Copy link
Contributor Author

johlju commented May 11, 2018

@PlagueHO @ld0614 I forgot about the discussion around LanguageDsc. If LangagueDsc makes SystemLocaleDsc obsolete then I think we just deprecate SystemLocaleDsc once LanguageDsc is merged into ComputerManagementDsc (if @ld0614 is still up for it).

@ld0614
Copy link
Contributor

ld0614 commented May 12, 2018

I'm still up for merging LangaugeDSC into ComputerManagement, that last time we spoke about it, ComputerManagement was close to changing its name so I was waiting for the name change to avoid needing to rename the LanguageDSC resources just to rename them a month or two later. If thats not really an issue or the work is taking longer than anticipated that I'm quite happy to start the merge process.

@PlagueHO
Copy link
Contributor

Hi @ld0614 - the name change to ComputerManagementDsc is completed 😁 It was even released to the PSGallery. https://github.com/PowerShell/ComputerManagementDsc

@ld0614
Copy link
Contributor

ld0614 commented May 12, 2018

Whoops, I missed that one 😊 I'll do a review of the HQRM guidelines tomorrow and raise a PR to start the merge process

@stale
Copy link

stale bot commented Jun 23, 2018

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

@stale stale bot added the stale The issue or pull request was marked as stale because there hasn't been activity from the community. label Jun 23, 2018
@PlagueHO
Copy link
Contributor

Still working on these!

@stale stale bot removed the stale The issue or pull request was marked as stale because there hasn't been activity from the community. label Jun 23, 2018
@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. and removed discussion The issue is a discussion. labels Jun 25, 2018
@johlju
Copy link
Contributor Author

johlju commented Jun 25, 2018

Relabeled this one to help wanted so the community know that anyone can help with these, and labeled it enhancement so the issue doesn't autoclose. Two finished so far. 😃

@johlju
Copy link
Contributor Author

johlju commented Aug 6, 2018

Updated the list and marked SystemLocaleDsc with an ❌ since it should not be moved, it is being superseded by LanguageDsc that are pending merge (soon). Although, we should make sure to deprecate SystemLocaleDsc once PR dsccommunity/ComputerManagementDsc#160 is merged.

@johlju
Copy link
Contributor Author

johlju commented Jul 4, 2019

xSmbShare has been moved, and xRemoteDesktopAdmin is in progress. If someone else want to move resources, please feel free to do so. Have in mind though that it is a lot of work making the resource high quality (it is often not just moving 1:1).

@PlagueHO
Copy link
Contributor

PlagueHO commented Jul 4, 2019

I'm planning on doing xPendingReboot - I think I stuck my hand up for that a while ago. Something I might get onto over the weekend if I can.

@PlagueHO
Copy link
Contributor

Getting onto xPendingReboot now.

@PlagueHO
Copy link
Contributor

@johlju - can you mark PendingReboot as done? I'll submit a PR to this repo shortly to update the resource list.

@PlagueHO
Copy link
Contributor

@johlju - also, xWinEventLog has been completed. So you could update that one in the list too.

@johlju
Copy link
Contributor Author

johlju commented Aug 17, 2019

Done

@PlagueHO
Copy link
Contributor

I'll probably move SystemLocaleDsc next (when I get time).

@johlju
Copy link
Contributor Author

johlju commented Aug 17, 2019

Didn’t LanguageDsc override SystemLocaleDsc? See comment column above on that.

@johlju
Copy link
Contributor Author

johlju commented Aug 17, 2019

Better to pick up LanguageDsc PR and move it over the finish line?

@PlagueHO
Copy link
Contributor

Yes true - forgot about that one!

@Outek
Copy link
Contributor

Outek commented Oct 31, 2019

What's about this one:

https://github.com/microsoft/SChannelDsc

Should we integrate it into ComputerManagementDsc as well?

@johlju
Copy link
Contributor Author

johlju commented Oct 31, 2019

Might have been a good idea, but there are this module that was recently added https://github.com/dsccommunity/SChannelDsc not sure if it the one you linked to that have been moved there. 🤔

@Outek
Copy link
Contributor

Outek commented Oct 31, 2019

This seem to be the same.

@johlju
Copy link
Contributor Author

johlju commented Oct 31, 2019

When we have moved ComputerManagementDsc over to DSC Community we could raise the question again? Maybe there are good reasons to keep this one separate. But I could see it in ComputerManagementDsc. 🤔

@Outek
Copy link
Contributor

Outek commented Oct 31, 2019

Sure 👍

@PlagueHO
Copy link
Contributor

PlagueHO commented Nov 2, 2019

I'm OK with moving it in here but as it is 5 resources and they're all related to security suites it might not be a good idea. It sort of makes sense to keep the 5 of them bundled together on their own I think?

@johlju
Copy link
Contributor Author

johlju commented Nov 2, 2019

There might be a better idea to move it so a "ComputerSecurityDsc" or something instead together with xSystemSecurity. Or call it SystemSecurityDsc and moce SChannelDsc there too. 🤔

The main reason to concatenate modules was to ease the maintaining and release process, not needing to manually release so many modules. But since we are moving the modules over to @dsccommunity and implementing a release pipeline in each module one of the main reason is no longer valid. So if we choose to concatenate modules it would be because of some other reason (also mentioned in the original issue description), for example not needing to download different modules, less modules to maintain, and easier for user to find resources and documentation in less places. 🤔

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
Development

No branches or pull requests

4 participants