Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Poll] Would you like automated module update checking? #44

Closed
scrthq opened this issue May 5, 2018 · 3 comments
Closed

[Poll] Would you like automated module update checking? #44

scrthq opened this issue May 5, 2018 · 3 comments

Comments

@scrthq
Copy link
Member

scrthq commented May 5, 2018

Hey y'all!

Just curious, would it be useful to have built in update checks for PSGSuite?

The goal with this would be to allow you to get a notification when there is a new version of PSGSuite available on the PowerShell Gallery, either on module load or when running a custom function built specifically for update checking.

Choose your preference below!



Please note: This would only tell you if a newer version of PSGSuite is available on the PowerShell Gallery, it would NOT update PSGSuite for you (so no risk of introducing potentially breaking changes in existing scripts).

@scrthq scrthq self-assigned this May 5, 2018
scrthq added a commit that referenced this issue May 8, 2018
scrthq added a commit that referenced this issue May 8, 2018
…ck function

#### 2.6.0

* Added: `Compare-ModuleVersion` function to get latest installed version and compare against the latest version on the PSGallery ([Issue #44](#44))
* Fixed: Pipeline support, so you can do things like the following and get group, group member and user details (as an example) easily ([Issue #45](#45)):
```powershell
#much pipe
$users = Get-GSGroup $groupEmail -Verbose -OutVariable group | Get-GSGroupMember -Verbose -OutVariable members | Get-GSUser -Verbose

#contains the group's info
$group

#contains the group members' info
$members

#contains the group members' full user info
$users
```
@scrthq
Copy link
Member Author

scrthq commented May 8, 2018

Option 2 has been added in v2.6.0 as the function Compare-ModuleVersion. Please note that this function can be used to compared the version of any module you have installed with it's latest available version on the PS Gallery.

@scrthq
Copy link
Member Author

scrthq commented May 8, 2018

Keeping poll open in case there are those that want to have the version check happen on module load as well.

@scrthq scrthq closed this as completed May 17, 2018
@scrthq
Copy link
Member Author

scrthq commented May 17, 2018

As the poll is a tie right now with 5 votes each, I am closing it and leave it as-is.

As of v2.6.0, you can run the following and determine if there are updates available on the PS Gallery for PSGSuite (default) or any other module you'd like:

> Compare-ModuleVersion

ModuleName InstalledVersion GalleryVersion UpdateAvailable
---------- ---------------- -------------- ---------------
PSGSuite   2.6.1            2.6.1                    False

> Compare-ModuleVersion -ModuleName Configuration,PSSlack

ModuleName    InstalledVersion GalleryVersion UpdateAvailable
----------    ---------------- -------------- ---------------
Configuration 1.3.0            1.3.0                    False
PSSlack       0.0.27           0.0.36                    True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant