Merge rel-v6.0.0-alpha.15

This commit is contained in:
Jason Shirk 2017-01-25 15:43:37 -08:00 committed by GitHub
commit 564a592007
10 changed files with 51 additions and 40 deletions

View file

@ -76,9 +76,11 @@ exe
init init
labeled labeled
toolset toolset
alpha.14 alpha.7
alpha.8
alpha.9
alpha.15
- demos/Azure/README.md - demos/Azure/README.md
alpha.12
AzureRM.NetCore.Preview AzureRM.NetCore.Preview
AzureRM.Profile.NetCore.Preview AzureRM.Profile.NetCore.Preview
AzureRM.Resources.NetCore.Preview AzureRM.Resources.NetCore.Preview
@ -91,7 +93,6 @@ Get-CronJob
Remove-CronJob Remove-CronJob
New-CronJob New-CronJob
- demos/DSC/readme.md - demos/DSC/readme.md
alpha.8
- demos/install/README.md - demos/install/README.md
download.sh download.sh
- demos/powershellget/README.md - demos/powershellget/README.md
@ -199,7 +200,6 @@ build.psm1
SS64.com SS64.com
PoshCode PoshCode
v6.0.0 v6.0.0
alpha.9
TypeGen TypeGen
- docs/git/submodules.md - docs/git/submodules.md
GoogleTest GoogleTest
@ -256,7 +256,6 @@ Schwartzmeyer
andschwa andschwa
- docs/maintainers/releasing.md - docs/maintainers/releasing.md
v6 v6
alpha.7
Toolset Toolset
WiX WiX
2012r2 2012r2
@ -727,7 +726,6 @@ fullclr
shebang shebang
- CHANGELOG.md - CHANGELOG.md
v6.0.0 v6.0.0
alpha.13
- test/tools/CodeCoverageAutomation/README.md - test/tools/CodeCoverageAutomation/README.md
Start-CodeCoverageRun Start-CodeCoverageRun
Coveralls.io. Coveralls.io.

View file

@ -1,6 +1,20 @@
Changelog Changelog
========= =========
v6.0.0-alpha.15 - 2016-01-18
----------------------------
- Use parens around file length for offline files
- Fix issues with the Windows console mode (terminal emulation) and native executables
- Fix error recovery with `using module`
- Report `PlatformNotSupported` on IoT for Get/Import/Export-Counter
- Add `-Group` parameter to `Get-Verb`
- Use MB instead of KB for memory columns of `Get-Process`
- Add new escape character for ESC: `` `e``
- Fix a small parsing issue with a here string
- Improve tab completion of types that use type accelerators
- `Invoke-RestMethod` improvements for non-XML non-JSON input
- PSRP remoting now works on CentOS without addition setup
v6.0.0-alpha.14 - 2016-12-14 v6.0.0-alpha.14 - 2016-12-14
---------------------------- ----------------------------
- Moved to .NET Core 1.1 - Moved to .NET Core 1.1

View file

@ -32,14 +32,13 @@ You can download and install a PowerShell package for any of the following platf
| macOS 10.11 | [.pkg][rl-macos] | [Instructions][in-macos] | | macOS 10.11 | [.pkg][rl-macos] | [Instructions][in-macos] |
| Docker | | [Instructions][in-docker] | | Docker | | [Instructions][in-docker] |
[rl-windows10]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/PowerShell_6.0.0.14-alpha.14-win10-x64.msi [rl-windows10]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win10-x64.msi
[rl-windows81]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/PowerShell_6.0.0.14-alpha.14-win81-x64.msi [rl-windows81]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win81-x64.msi
[rl-windows7-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/PowerShell_6.0.0.14-alpha.14-win7-x64.msi [rl-windows7-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win7-x64.msi
[rl-windows7-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/PowerShell_6.0.0.14-alpha.14-win7-x86.msi [rl-windows7-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win7-x86.msi
[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb [rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/powershell_6.0.0-alpha.15-1ubuntu1.16.04.1_amd64.deb
[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb [rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/powershell_6.0.0-alpha.15-1ubuntu1.14.04.1_amd64.deb
[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm [rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm
[rl-macOS]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell-6.0.0-alpha.14.pkg
[installation]: docs/installation [installation]: docs/installation
[in-windows]: docs/installation/windows.md#msi [in-windows]: docs/installation/windows.md#msi

View file

@ -1,4 +1,4 @@
version: 6.0.0-alpha.14-{build} version: 6.0.0-alpha.15-{build}
image: Visual Studio 2015 image: Visual Studio 2015

View file

@ -3,7 +3,7 @@
This demo (Azure-Demo.ps1) shows management of Azure Compute resource using Azure Resource Management (ARM) cmdlets. This demo (Azure-Demo.ps1) shows management of Azure Compute resource using Azure Resource Management (ARM) cmdlets.
## Prerequisites ## ## Prerequisites ##
- Install PowerShell 6.0.0-alpha.14 - Install PowerShell 6.0.0-alpha.15
- Install AzureRM.NetCore.Preview, AzureRM.Profile.NetCore.Preview and AzureRM.Resources.NetCore.Preview modules to a local directory. - Install AzureRM.NetCore.Preview, AzureRM.Profile.NetCore.Preview and AzureRM.Resources.NetCore.Preview modules to a local directory.
- The instructions for downloading these modules are in Azure-Demo.ps1 file. - The instructions for downloading these modules are in Azure-Demo.ps1 file.
- You have to use the command "Install-Package -Name AzureRM.NetCore.Preview -Source https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination <Local Directory>" - You have to use the command "Install-Package -Name AzureRM.NetCore.Preview -Source https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination <Local Directory>"

View file

@ -1,8 +1,8 @@
FROM centos:7 FROM centos:7
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com> MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.14 ARG POWERSHELL_RELEASE=v6.0.0-alpha.15
ARG POWERSHELL_PACKAGE=powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm ARG POWERSHELL_PACKAGE=powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm
# Setup the locale # Setup the locale
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8

View file

@ -1,8 +1,8 @@
FROM ubuntu:trusty FROM ubuntu:trusty
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com> MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.14 ARG POWERSHELL_RELEASE=v6.0.0-alpha.15
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.15-1ubuntu1.14.04.1_amd64.deb
# Setup the locale # Setup the locale
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8

View file

@ -1,8 +1,8 @@
FROM ubuntu:xenial FROM ubuntu:xenial
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com> MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.14 ARG POWERSHELL_RELEASE=v6.0.0-alpha.15
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.15-1ubuntu1.16.04.1_amd64.deb
# Setup the locale # Setup the locale
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8

View file

@ -11,7 +11,7 @@ You should *never* run a script without reading it first!
Please **read the [download][] script first**, and then if you want to run it, use: Please **read the [download][] script first**, and then if you want to run it, use:
```sh ```sh
bash <(curl -fsSL https://raw.githubusercontent.com/PowerShell/PowerShell/v6.0.0-alpha.14/tools/download.sh) bash <(curl -fsSL https://raw.githubusercontent.com/PowerShell/PowerShell/v6.0.0-alpha.15/tools/download.sh)
``` ```
Once the package is installed, run `powershell` from a terminal. Once the package is installed, run `powershell` from a terminal.
@ -20,19 +20,19 @@ Once the package is installed, run `powershell` from a terminal.
[u16]: #ubuntu-1604 [u16]: #ubuntu-1604
[cos]: #centos-7 [cos]: #centos-7
[osx]: #os-x-1011 [osx]: #os-x-1011
[download]: https://github.com/PowerShell/PowerShell/blob/v6.0.0-alpha.14/tools/download.sh [download]: https://github.com/PowerShell/PowerShell/blob/v6.0.0-alpha.15/tools/download.sh
Ubuntu 14.04 Ubuntu 14.04
============ ============
Using [Ubuntu 14.04][], download the Debian package Using [Ubuntu 14.04][], download the Debian package
`powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb` `powershell_6.0.0-alpha.15-1ubuntu1.14.04.1_amd64.deb`
from the [releases][] page onto the Ubuntu machine. from the [releases][] page onto the Ubuntu machine.
Then execute the following in the terminal: Then execute the following in the terminal:
```sh ```sh
sudo dpkg -i powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb sudo dpkg -i powershell_6.0.0-alpha.15-1ubuntu1.14.04.1_amd64.deb
sudo apt-get install -f sudo apt-get install -f
``` ```
@ -52,13 +52,13 @@ Ubuntu 16.04
============ ============
Using [Ubuntu 16.04][], download the Debian package Using [Ubuntu 16.04][], download the Debian package
`powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb` `powershell_6.0.0-alpha.15-1ubuntu1.16.04.1_amd64.deb`
from the [releases][] page onto the Ubuntu machine. from the [releases][] page onto the Ubuntu machine.
Then execute the following in the terminal: Then execute the following in the terminal:
```sh ```sh
sudo dpkg -i powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb sudo dpkg -i powershell_6.0.0-alpha.15-1ubuntu1.16.04.1_amd64.deb
sudo apt-get install -f sudo apt-get install -f
``` ```
@ -80,19 +80,19 @@ CentOS 7
======== ========
Using [CentOS 7][], download the RPM package Using [CentOS 7][], download the RPM package
`powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm` `powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm`
from the [releases][] page onto the CentOS machine. from the [releases][] page onto the CentOS machine.
Then execute the following in the terminal: Then execute the following in the terminal:
```sh ```sh
sudo yum install ./powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm sudo yum install ./powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm
``` ```
You can also install the RPM without the intermediate step of downloading it: You can also install the RPM without the intermediate step of downloading it:
```sh ```sh
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm
``` ```
> This package works on Oracle Linux 7. It should work on Red Hat Enterprise Linux 7 too. > This package works on Oracle Linux 7. It should work on Red Hat Enterprise Linux 7 too.
@ -109,14 +109,14 @@ macOS 10.11
=========== ===========
Using macOS 10.11, download the PKG package Using macOS 10.11, download the PKG package
`powershell-6.0.0-alpha.14.pkg` `powershell-6.0.0-alpha.15.pkg`
from the [releases][] page onto the macOS machine. from the [releases][] page onto the macOS machine.
Either double-click the file and follow the prompts, Either double-click the file and follow the prompts,
or install it from the terminal: or install it from the terminal:
```sh ```sh
sudo installer -pkg powershell-6.0.0-alpha.14.pkg -target / sudo installer -pkg powershell-6.0.0-alpha.15.pkg -target /
``` ```
**Uninstallation** **Uninstallation**
@ -184,7 +184,7 @@ You *can* run this command manually if you're having trouble with .NET Core's cr
Paths Paths
===== =====
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-alpha.14/` * `$PSHOME` is `/opt/microsoft/powershell/6.0.0-alpha.15/`
* User profiles will be read from `~/.config/powershell/profile.ps1` * User profiles will be read from `~/.config/powershell/profile.ps1`
* Default profiles will be read from `$PSHOME/profile.ps1` * Default profiles will be read from `$PSHOME/profile.ps1`
* User modules will be read from `~/.local/share/powershell/Modules` * User modules will be read from `~/.local/share/powershell/Modules`
@ -200,7 +200,7 @@ On Linux and macOS, the [XDG Base Directory Specification][xdg-bds] is respected
Note that because macOS is a derivation of BSD, Note that because macOS is a derivation of BSD,
instead of `/opt`, the prefix used is `/usr/local`. instead of `/opt`, the prefix used is `/usr/local`.
Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-alpha.14/`, Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-alpha.15/`,
and the symlink is placed at `/usr/local/bin/powershell`. and the symlink is placed at `/usr/local/bin/powershell`.
[releases]: https://github.com/PowerShell/PowerShell/releases/latest [releases]: https://github.com/PowerShell/PowerShell/releases/latest

View file

@ -8,7 +8,7 @@ trap '
' INT ' INT
get_url() { get_url() {
release=v6.0.0-alpha.14 release=v6.0.0-alpha.15
echo "https://github.com/PowerShell/PowerShell/releases/download/$release/$1" echo "https://github.com/PowerShell/PowerShell/releases/download/$release/$1"
} }
@ -24,7 +24,7 @@ case "$OSTYPE" in
sudo yum install -y curl sudo yum install -y curl
fi fi
package=powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm package=powershell-6.0.0_alpha.15-1.el7.centos.x86_64.rpm
;; ;;
ubuntu) ubuntu)
if ! hash curl 2>/dev/null; then if ! hash curl 2>/dev/null; then
@ -34,10 +34,10 @@ case "$OSTYPE" in
case "$VERSION_ID" in case "$VERSION_ID" in
14.04) 14.04)
package=powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb package=powershell_6.0.0-alpha.15-1ubuntu1.14.04.1_amd64.deb
;; ;;
16.04) 16.04)
package=powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb package=powershell_6.0.0-alpha.15-1ubuntu1.16.04.1_amd64.deb
;; ;;
*) *)
echo "Ubuntu $VERSION_ID is not supported!" >&2 echo "Ubuntu $VERSION_ID is not supported!" >&2
@ -51,7 +51,7 @@ case "$OSTYPE" in
;; ;;
darwin*) darwin*)
# We don't check for curl as macOS should have a system version # We don't check for curl as macOS should have a system version
package=powershell-6.0.0-alpha.14.pkg package=powershell-6.0.0-alpha.15.pkg
;; ;;
*) *)
echo "$OSTYPE is not supported!" >&2 echo "$OSTYPE is not supported!" >&2