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

Document not to use --edge with the Snap Preview package. #11024

Closed
3 tasks done
RokeJulianLockhart opened this issue Apr 12, 2024 · 4 comments · Fixed by #11079
Closed
3 tasks done

Document not to use --edge with the Snap Preview package. #11024

RokeJulianLockhart opened this issue Apr 12, 2024 · 4 comments · Fixed by #11079
Labels
area-setup Area - Installer packages and configuration issue-doc-bug Issue - error in documentation review-shiproom Waiting - for Shiproom discussion

Comments

@RokeJulianLockhart
Copy link
Contributor

RokeJulianLockhart commented Apr 12, 2024

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/7d34367824fd0711eaf3fb2401671fd08dbc8ffd/reference/docs-conceptual/install/install-other-linux.md#installation-via-snap:~:text=To%20install%20a,PowerShell%0Apwsh-preview

Summary

The aforereferenced URI states:

To install a preview version, use the following method:

# Install PowerShell
sudo snap install powershell-preview --classic

# Start PowerShell
pwsh-preview

However,

sudo snap install powershell-preview --channel=latest/edge --classic

hasn't been updated since https://github.com/PowerShell/PowerShell/releases/tag/v7.4.0, per PowerShell/PowerShell-Snap#100 (comment).

Details

No response

Suggested Fix

I believe that this discrepancy should be documented, because someone who wants to test the latest version expectedly may choose --edge instead of --stable.

@RokeJulianLockhart RokeJulianLockhart added issue-doc-bug Issue - error in documentation needs-triage Waiting - Needs triage labels Apr 12, 2024
@sdwheeler sdwheeler added review-shiproom Waiting - for Shiproom discussion area-setup Area - Installer packages and configuration and removed needs-triage Waiting - Needs triage labels Apr 13, 2024
@sdwheeler
Copy link
Contributor

@sdwheeler See reference https://snapcraft.io/docs/channels

@RokeJulianLockhart

This comment was marked as resolved.

@sdwheeler
Copy link
Contributor

@RokeJulianLockhart Yes I meant to. It is for my reference. I need to have internal discussions about this. It was not meant to be an answer for you.

@sdwheeler
Copy link
Contributor

After conferring with the engineering team, we only support the following channels:

powershell

  • latest/stable
  • lts/stable

powershell-preview

  • latest/stable

The other channels should be ignored. I will get this added to the docs.

michaeltlombardi added a commit that referenced this issue May 7, 2024
* Add channel info to snap installer docs

* Apply suggestions from review

---------

Co-authored-by: Mikey Lombardi (He/Him) <michael.t.lombardi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-setup Area - Installer packages and configuration issue-doc-bug Issue - error in documentation review-shiproom Waiting - for Shiproom discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants