enhancement: add additional command hints for PowerShell & CMD#33548
Conversation
…ing wrong signature calculations
|
As the command hint by SSH key verification shows That means only Linux and macOS can work properly with the origin command hint. ref: PowerShell/PowerShell#5974 (comment) And I also make the command hints collapse to minimize the section. Output |
remove additional space before '=' for lint checking
|
I think we could remove the "Linux & macOS" hint because it works for all POSIX standard shells. And I think we can simplify the template by removing the printf, will make some changes here, just a moment. |
|
Should we detect user's OS from the web browser and display the right command? |
I prefer to keep it simple, do not introduce too much JS code |
But the real output is a string which only contains letters&numbers, there is no |
So here is my output And I also tried with |
wxiaoguang
left a comment
There was a problem hiding this comment.
Interesting .... Windows command line has too many quirks ....
Now I think now the generated commands should be the same as the initial ones by your first commit.
kind of magic, both of PowerShell & CMD |
* giteaofficial/main: Enhance routers for the Actions runner operations (go-gitea#33549) [skip ci] Updated translations via Crowdin Run yamllint with strict mode, fix issue (go-gitea#33551) Enhance routers for the Actions variable operations (go-gitea#33547) enhancement: add additional command hints for PowerShell & CMD (go-gitea#33548) Feature: Support workflow event dispatch via API (go-gitea#33545) Optimize the dashboard (go-gitea#32990) Rework suggestion backend (go-gitea#33538) Revert "Feature: Support workflow event dispatch via API (go-gitea#32059)" (go-gitea#33541)
…tea#33548) - resolving wrong signature calculations for SSH key verification Fixed go-gitea#22693 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit e3adb68)
Fixed #22693