Page MenuHomeSolus

Powershell Core and .NET Core
Closed, WontfixPublic

Description

Name: Powershell Core
Homepage: https://github.com/PowerShell/PowerShell
Open Source: yes, PowerShell is licensed under the MIT license.
Source: https://github.com/PowerShell/PowerShell
Why should this be included in the repository? this will allow anyone with powershell experience to use it in solus. I personally think this will assist many windows users in the migration to linux.

Name: .NET Core
Homepage: https://github.com/dotnet/core
Open Source: yes, .NET Core platform projects typically use either the MIT or Apache 2 licenses for code. Some projects license documentation and other forms of content under Creative Commons Attribution 4.0.
Source: https://github.com/dotnet/core
Why should this be included in the repository? this is a dependency of the powershell core application and also many other .net application that hopefully will be ported to linux in the future. i also think that visual studio for linux depends on .net core.

Related Objects

StatusAssignedTask
WontfixJoshStrobl
WontfixNone

Event Timeline

the_mentor updated the task description. (Show Details)
skmlcd added a subscriber: skmlcd.Jan 11 2017, 7:54 PM

Some points regarding this issue.

  1. Those two should probably be split into two different issues.
  2. You're missing: "Why should this be included in the repository?"
  3. You're missing: "How many users do you anticipate will use this software?"
  4. I think source should be a direct link to a specific release, for Powershell example: https://github.com/PowerShell/PowerShell/archive/v6.0.0-alpha.14.tar.gz
  5. .NET Core repository doesn't seem like it is the actual product. Maybe it is necessary to create each issue for dotnet/cli, dotnet/corefx, dotnet/coreclr, dotnet/standard

For the last point I'm not sure, better wait for triage team memebers (I'm just a random person trying to help).

@skmlcd thanks for the response.
The reason i included both of them together is because from my understanding powershell core depends on .net core.
i'll add number 2 as far as number 3 i have no idea how many people will use it.

the_mentor updated the task description. (Show Details)Jan 11 2017, 8:07 PM
JoshStrobl closed this task as Wontfix.Jan 12 2017, 8:09 AM
JoshStrobl claimed this task.
JoshStrobl added a subscriber: JoshStrobl.

i also think that visual studio for linux depends on .net core.

No, Visual Studio Code is a nodejs-based application and is already available in the repository. It doesn't require .Net. There is no other native Visual Studio for Linux.

I also don't see any reason why PowerShell needs to be included. We already have bash, zsh, fish, etc. that are frankly far more sophisticated and I doubt that your average Windows user will be familiar with PowerShell, let alone use it, so I think it's safe to assume that it would be individuals with the technical capability to rethink their tooling when switching different operating systems that are based on completely different kernels, utils, etc. thus the argument of "helping Windows users switch" seems fairly moot.

hcal added a comment.EditedJul 17 2017, 4:36 PM

Powershell isn't a shell for linux. It is a tool for remotely administering windows servers.

For example :

  • To start a remote interactive session:

Enter-PSSession -ComputerName TheRemoteComputersName -Credential USER

  • To run a command on the remote computer:

Invoke-Command -ComputerName JoshsSweetComputer -ScriptBlock { some commands }

You might be able to do some local scripting but don't think that is the main use of the tool.

I agree with @hcal as a sys admin thus will be a very valuable tool to administrators like myself it will allow us to fully use solus without the need for a windows VM.

You can use powershell on Solus now for administrative purposes:

docker run -it --rm microsoft/powershell
docker run -it --rm microsoft/powershell powershell -c '$psversiontable'
docker run -it --rm microsoft/powershell powershell -c 'get-help'

Aliasing powershell from your existing native shell of preference allows for most typical use.

Eg for bash:

alias powershell='docker run -it --rm microsoft/powershell powershell'
powershell -c '$psversiontable'

Name                           Value                                                                                                                                                                              
----                           -----                                                                                                                                                                              
PSVersion                      6.0.0-beta                                                                                                                                                                         
PSEdition                      Core                                                                                                                                                                               
GitCommitId                    v6.0.0-beta.5                                                                                                                                                                      
OS                             Linux 4.9.39-35.lts #1 SMP Fri Jul 21 08:30:39 UTC 2017                                                                                                                            
Platform                       Unix                                                                                                                                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                                                                                
SerializationVersion           1.1.0.1                                                                                                                                                                            
WSManStackVersion              3.0