Commit graph

1951 commits

Author SHA1 Message Date
Andy Schwartzmeyer ceef777d5e Merge pull request #826 from PowerShell/andschwa/remove-omi
Remove OMI and PSRP
2016-04-12 16:27:06 -07:00
Andrew Schwartzmeyer 841f76ec37 Update Git setup documentation
Now that everyone needs all the submodules. Much simpler.
2016-04-12 16:16:17 -07:00
Andrew Schwartzmeyer 285253da02 Disable xUnit tests on Travis temporarily
Until #806 is resolved.
2016-04-12 16:00:05 -07:00
Andrew Schwartzmeyer b8f326adf5 Redirect PSRP documentation to other repo 2016-04-12 15:59:38 -07:00
Andrew Schwartzmeyer a2fc6c330a Remove PSRP building documentation
Migrated to PSRP repository
2016-04-12 15:18:27 -07:00
Andrew Schwartzmeyer 1f19758614 Remove OMI and provider submodules 2016-04-12 12:10:54 -07:00
Andy Schwartzmeyer d621b44034 Merge pull request #813 from PowerShell/andschwa/download-v0.3.0
Update download.sh to get v0.3.0 deb asset
2016-04-11 13:19:13 -07:00
Andrew Schwartzmeyer ea53a15642 Update download.sh to get v0.3.0 deb asset 2016-04-11 12:41:58 -07:00
Andy Schwartzmeyer 2629fff55e Merge pull request #812 from PowerShell/andschwa/tests
Remove alias tests for Write-Output
2016-04-11 11:32:12 -07:00
Andrew Schwartzmeyer 735a702f1c Remove alias tests for Write-Output
The `echo` and `write` aliases were removed, which make these tests
inaccurate (but did not fail them).
2016-04-11 10:46:39 -07:00
Andy Schwartzmeyer bfca886f36 Merge pull request #811 from PowerShell/andschwa/build-24011
Bump .NET Core packages to build 24011
2016-04-11 10:46:11 -07:00
Andrew Schwartzmeyer 71b55abf66 Bump .NET Core packages to build 24011
And update the CorePsTypeCatalog.
2016-04-11 10:37:15 -07:00
Andy Schwartzmeyer 7f7c13e9b9 Merge pull request #810 from PowerShell/andschwa/prepare-v0.3.0
Update Linux installation documentation for v0.3.0
2016-04-11 10:06:07 -07:00
Andrew Schwartzmeyer e0547c81ff Update Linux installation documentation for v0.3.0 2016-04-11 09:50:58 -07:00
Andy Schwartzmeyer 5e0528ffe9 Merge pull request #805 from PowerShell/andschwa/pspackage
Improve Start-PSPackage
2016-04-11 09:17:57 -07:00
Andrew Schwartzmeyer 0afd4c2f98 Improve Start-PSPackage
- Now checks that previous Start-PSBuild was with -Publish
- Uses $script:Output automatically
- Uses /opt/microsoft/powershell on Linux per FHS
- Uses /usr/local/microsoft/powershell on OS X per FHS
- Specifies "--rpm-os linux" for RPM packages built elsewhere
- Creates symlink on demand for packaging
- Puts symlink in /usr/(local)/bin as it is expected to be in PATH
- Uses $Arguments array for better syntax
- Resolves #800

Note that if the target of the powershell symlink exists, `fpm` aborts
with a `utime` error on OS X.
2016-04-09 19:44:55 -07:00
Andrew Schwartzmeyer 865f174e22 Clean up comparison operators in build module 2016-04-09 18:56:14 -07:00
Andy Schwartzmeyer 244b41a974 Merge pull request #804 from PowerShell/andschwa/symbolic-target
Allow creation of symlink to non-existent target
2016-04-09 18:55:21 -07:00
Andrew Schwartzmeyer 3a43126a2e Allow creation of symlink to non-existent target
This action is completely valid on both Windows and Linux (and OS X)
operating systems; tested with `mklink` and `ln -s` respectively.

Note that targets for hard links must exist, thus we check specifically
for symbolic links.

Both the path globber in session state and the `New-Item` implementation
needed to be fixed to allow the target not to exist.

Resolves #801.

Also enable symbolic link tests on Windows.
2016-04-09 18:45:23 -07:00
Andy Schwartzmeyer be235b0f0b Merge pull request #803 from PowerShell/andschwa/help-online
Fix Get-Help -Online
2016-04-09 18:20:27 -07:00
Andrew Schwartzmeyer 70c23dacd7 Fix Get-Help -Online
While Windows will automatically open a URL used as a process by
launching a browser, OS X needs to use `open <URL>`, and Linux needs to
use `xdg-open <URL>` (the most distribution-independent way).

Resolves #802.
2016-04-09 18:05:49 -07:00
Andy Schwartzmeyer 76ad94d8a7 Merge pull request #798 from PowerShell/andschwa/pager
Respect PAGER variable and default to less on Linux
2016-04-08 22:04:57 -07:00
Andy Schwartzmeyer 5ec7eb46cb Merge pull request #797 from PowerShell/andschwa/packages
Bump .NET Core packages
2016-04-08 22:04:43 -07:00
Andrew Schwartzmeyer 022a63c6d2 Fix whitespace in csharp/project.json 2016-04-08 21:58:05 -07:00
Andrew Schwartzmeyer bd03b51c32 Respect PAGER variable and default to less on Linux 2016-04-08 21:52:14 -07:00
Andrew Schwartzmeyer 7ace2b6b64 Fix NuGet warnings by depending on NuGet.Packaging.Core
And upgrade dotnet-test-xunit
2016-04-08 21:50:24 -07:00
Andrew Schwartzmeyer feef62c5ea Bump .NET Core packages to 24004 2016-04-08 21:50:24 -07:00
Andy Schwartzmeyer fde82fdf46 Merge pull request #796 from PowerShell/vors/add-type
Make Add-Type work without a flat folder structure
2016-04-08 21:41:30 -07:00
Sergei Vorobev bf1a2c8521 Make Add-Type work without a flat folder structure
- Get rid of the assumption that all framework assemlbies live in
  the same place
- Enable build scenario (assemlbies are referenced directly from unpacked
  nuget packages)
- Fix #766
- Re-enable Add-Type tests
2016-04-08 21:41:30 -07:00
Andy Schwartzmeyer 0db0360b63 Merge pull request #794 from PowerShell/andschwa/profile-name
Rename profile from PSL to Microsoft.PowerShellCore
2016-04-08 21:41:29 -07:00
Andy Schwartzmeyer 3f00751159 Merge pull request #792 from PowerShell/andschwa/assembly-load
Try Assembly.Load correctly
2016-04-08 21:41:29 -07:00
Andrew Schwartzmeyer 6f45601a27 Rename profile from PSL to Microsoft.PowerShellCore
Final fix for #713.
2016-04-08 21:41:29 -07:00
Andrew Schwartzmeyer 839014b599 Try Assembly.Load correctly
This should resolve #791.

Instead of checking if `Assembly.Load` returned null (it doesn't), check
if it threw `FileNotFoundException`, which it will if it doesn't find
the assembly.
2016-04-08 19:09:38 -07:00
Andy Schwartzmeyer 80b15f64e2 Merge pull request #789 from PowerShell/andschwa/host-module
Fix accidental mapping change
2016-04-08 18:39:36 -07:00
Andrew Schwartzmeyer 733cda385d Fix accidental mapping change
Happened in programmatic update commit bfaad3f05.
2016-04-08 18:09:09 -07:00
Andy Schwartzmeyer a69ed31baf Merge pull request #788 from PowerShell/andschwa/publish
Add Publish support to Start-PSbuild
2016-04-08 16:38:45 -07:00
Andrew Schwartzmeyer ac157568d6 Publish on AppVeyor
So that the artifacts for Core PowerShell have the .NET Core
dependencies.
2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer d7233fc4d0 Remove import of Platform module from AppVeyor 2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer 92a34cba5f Add Publish switch to Start-PSBuild
Note that it is mutually exclusive with `FullCLR` as libraries are not
publishable; only applications can be published.
2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer f5a95a6ef5 Remove unsupported -Clean switch
Will put back when it is functional.
2016-04-08 16:25:53 -07:00
Andy Schwartzmeyer a6a6ac7c36 Merge pull request #787 from PowerShell/andschwa/platform-module
Remove Microsoft.PowerShell.Platform
2016-04-08 16:07:38 -07:00
Andy Schwartzmeyer 3582bb4216 Merge pull request #786 from PowerShell/andschwa/remove-aliases
Fix aliases
2016-04-08 16:07:25 -07:00
Andrew Schwartzmeyer 73fe95feb8 Add tests for removal of aliases 2016-04-08 15:52:37 -07:00
Andrew Schwartzmeyer b3521944ec Fix Pester test 2016-04-08 15:23:38 -07:00
Andrew Schwartzmeyer 8c7174de10 Fix xUnit tests 2016-04-08 15:22:37 -07:00
Andrew Schwartzmeyer 13e0760e16 Fix build module for removal of Platform module 2016-04-08 15:13:50 -07:00
Andrew Schwartzmeyer bcdad12c04 Fix tests for removal of Platform module 2016-04-08 15:13:01 -07:00
Andrew Schwartzmeyer fffaf4cfe2 Remove Platform module 2016-04-08 15:11:33 -07:00
Andrew Schwartzmeyer 822244d261 Fix properties
Static but not const, go figure.
2016-04-08 15:08:16 -07:00
Andrew Schwartzmeyer a082a02e6c Add PowerShell variables corresponding to platform
This deprecates the Microsoft.PowerShell.Platform module and ensure that
IsLinux/OSX/Windows/Core variables are defined all throughout PowerShell.
2016-04-08 15:04:27 -07:00