PowerShell / ThreadJob

MIT License
22 stars 10 forks source link

Release a proxy module of `ThreadJob` that points to Microsoft.PowerShell.ThreadJob #30

Open daxian-dbw opened 1 year ago

daxian-dbw commented 1 year ago

Prerequisites

Steps to reproduce

Given that the Microsoft.PowerShell.ThreadJob is going to replace the ThreadJob going forward, a proxy module of ThreadJob should be released to PowerShell Gallery to point to Microsoft.PowerShell.ThreadJob and to warn about deprecation of ThreadJob.

Here is the decision from PowerShell Committe:

Create a new version of the ThreadJob module which proxies to the new Microsoft.PowerShell.ThreadJob module

  • the proxy should include a warning message that the ThreadJob module will be deprecated and removed in PS 7.6

I agree it would make sense to have the ThreadJob module on PSGallery also indicate being deprecated and using Microsoft.PowerShell.ThreadJob instead. In that case, I would also agree that proxy module would be done outside of this PR and repo since it's published to PSGallery. It would make sense to have that proxy developed in https://github.com/powershell/threadjob

Expected behavior

A proxy module of ThreadJob to be published to PowerShell Gallery, to call out it's being deprecated.

Actual behavior

N/A

Error details

No response

Environment data

N/A

Version

N/A

Visuals

No response

kilasuit commented 1 year ago

This is perhaps more work than I would expect is needed as a module author to do when renaming a module.

Personally my plan for this would have been

ProxyModules are great but I personally think use of one in this instance is perhaps more work than needed, though as shown above there is also need for additional work in the gallery and other tooling too (which I'll raise about now)