Commit Graph

725 Commits

Author SHA1 Message Date
Dongbo Wang
76526c6f1d
Restore modules from the NuGet package cache by using dotnet restore (#6111) 2018-02-27 13:36:54 -08:00
Aditya Patwardhan
a53547ce78 Add scripts to generate unified Nuget package (#6167)
Remove the functions which generated Nuget packages for Windows.
Add function New-UnifiedNugetPackage to generate nuget packages for each assembly with unix and windows runtimes.
Add function New-NuSpec and New-ReferenceAssembly for creating the required items forNew-UnifiedNugetPackage.
Add a sample for cross platform project with conditional compilation for Linux.
Add function Publish-NugetToMyGet to publish nuget packages to powershell.myget.or
2018-02-26 15:35:09 -08:00
Christoph Bergmeister
96bd86e5e3 fix various places that still refer to old versions of pwsh (#6179) 2018-02-23 09:54:58 -08:00
Michael Ababio
26b7be7b25 Docs: correct a linux installation typo (#6219) 2018-02-22 18:13:19 -08:00
Steve Lee
c1c5344a88 Update copyright and license headers (#6134)
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.

Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.

Separate PR coming to update contribution document for new source files: #6140

Manually reviewed each change.

Fix #6073
2018-02-13 09:23:53 -08:00
Andrew
dc6fe2af29 Update Raspbian installation instructions to create pwsh symlink (#6122)
* Update Raspbian installation instructions to create pwsh symlink
2018-02-09 14:00:29 -08:00
Andrew Palmer
29d50b0e94 Update examples to 6.0.1 and removed a removed parameter in Install-PowerShellRemoting.ps1 (#6060)
The PowerShellVersion parameter no longer exists in Install-PowerShellRemoting.ps1.
Updated examples to 6.0.1 from alpha 9
2018-02-08 13:52:31 -08:00
James Truher [MSFT]
99a7d38cae Update test framework and tests to support 4x version of Pester (#6064)
* Test fixes and changes needed to support Pester 4.0.8

* Replace 'Should Contain' with new 'Should FileContentMatch' assertion

Explicitly check for string creation with write-output

* Use the current version of pester and install it in modulesDir

* Simplify logic for relative path test.

Multiple '..' is not needed for a relative path, a single one will do. Also, on multi-drive systems using split-path -noqualifier will probably do the wrong thing with regard to constructing a correct path.
Remove extraneous Should Not Throw test, if this throws, the test will fail, we don't need to explicitly assert the not throw

* In some environments it is possible that computer name is 'localhost', so that should be allowed

* [feature] Add link for migrating tests from Pester v3 to v4

Fix up capitalization and white space issues
Change one test to check FullyQualifiedErrorId rather than just `Should Throw`

* [feature] update invoke-item test to handle the case where multiple notepad processes are running

* Fix spelling issue with Pester 4x, calling it Pester 4 should be sufficient
2018-02-05 11:58:25 -08:00
Priyesh
e172e17b9e Doc: Fix the command to build type catalog in internals.md (#6084) 2018-02-01 10:18:04 -08:00
Mathias R. Jessen
e20f3bdac4 Fix "Pull Request Process" dead link (#6066)
Fix "Pull Request Process" anchor links in governance.md
2018-01-31 08:22:16 +04:00
Steve Lee
bf691353ae new Issue-Announcement label (#6041) 2018-01-30 16:10:08 -08:00
Travis Plunk
bd865280f3
update processes to allow for coordinated vulnerability disclosure (#6042) 2018-01-27 10:28:33 -08:00
Travis Plunk
3a33be87a7 Merge branch '6.0.1' into master
# Conflicts:
#	docker/release/fedora27/Dockerfile
#	docs/installation/linux.md
#	docs/installation/macos.md
#	tools/metadata.json
2018-01-25 16:35:25 -08:00
Aditya Patwardhan
5b5168d72e Revert "Pull PSReadLine from PSGallery" (#5986)
This reverts commit beffdcf94d.
2018-01-22 16:09:35 -08:00
Jason Shirk
beffdcf94d Pull PSReadLine from PSGallery (#5759)
Instead of building PSReadLine from this repo, pull it from the gallery using nuget cache.

This pulls v2.0 of PSReadLine which does have documented breaking changes from v1.2, but the risk is small - the features that have changed are typically only used in a profile and aren't used all that often anyway.

Fix #996

Hardcodes version of modules pulled from PSGallery
2018-01-19 18:15:09 -08:00
Dongbo Wang
4b09a93676
Update docs and scripts for PowerShell 6.0.1 release (#5938) 2018-01-18 15:07:43 -08:00
Zack Knight
76cbd0e1e7 Doc: Add a missing step to prepare the build environment on Mac. (#5901) 2018-01-17 12:53:28 -08:00
Brian Bunke
1211f34268 Fix typos in breakingchanges.md (#5913) 2018-01-17 07:01:36 +04:00
Mark Kraus
3e9a530b58 Update BREAKINGCHANGES.md to Include Web Cmdlets Breaking Changes (#5852) 2018-01-13 11:49:36 +04:00
Tim Lewis
df13d926cd Update 'macos.md' to use 'brew cask upgrade' for upgrading powershell (#5875) 2018-01-12 11:17:45 -08:00
Ryan Palo
c5f9199b4a Documentation - Add verfication step to Mac OS install docs (#5860) 2018-01-12 10:17:45 -08:00
kanjibates
663f3a3496 Fix [releases] link in macOS install docs (#5861) 2018-01-11 10:46:54 +04:00
Travis Plunk
a08f3241a3 Merge 6.0.0 into master
# Conflicts:
#	.github/Images/GitHub-PR.png
#	assets/Product.wxs
#	docs/installation/linux.md
#	docs/installation/macos.md
#	docs/installation/windows.md
#	test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
#	tools/metadata.json
2018-01-10 17:42:41 -08:00
Danny Maertens
bb6823d707 Add the breaking changes doc (#5620) 2018-01-10 14:18:21 -08:00
Dongbo Wang
c4cf1440dd
Update docs and scripts for PowerShell 6.0.0 GA release (#5837) 2018-01-09 15:57:38 -08:00
Greg Zimmerman
0ed28d00f4 Seperate macOS from Linux install instructions. (#5823) 2018-01-09 14:55:51 -08:00
Christoph Bergmeister
d2863fc50d Reduce image file sizes using lossless compression with imgbot (#5808) 2018-01-09 14:51:57 -08:00
Andrew
92e140ad97 Update the installation doc for Raspberry-Pi about supported devices (#5773) 2018-01-08 18:09:00 -08:00
Andrew
45a2a19abd Update the installation doc for Raspberry-Pi about supported devices (#5773) 2018-01-08 12:21:32 -08:00
Chris
0f60625879 docs: update submodule documentation for pester removal (#5786)
Since Pester is not a submodule anymore, replace submodule example in git submodule docs/FAQ.md with the only leftover submodule src/libpsl-native/test/googletest
2018-01-05 16:47:07 -08:00
Chris
22f47295f4 docs: update submodule documentation for pester removal (#5786)
Since Pester is not a submodule anymore, replace submodule example in git submodule docs/FAQ.md with the only leftover submodule src/libpsl-native/test/googletest
2018-01-05 12:29:55 -08:00
Steve Lee
5058894be3 Add instructions to deploy win-arm build on Windows IoT (#5682) 2017-12-19 11:21:40 -08:00
Steve Lee
462833b76e Add instructions to deploy win-arm build on Windows IoT (#5682) 2017-12-15 14:05:20 -08:00
Travis Plunk
02cc3db3fb
Update scripts and documentation with RC.2 version (#5688) 2017-12-14 13:15:19 -08:00
Travis Plunk
2b9059b9c0 Make the experience better when start-pspester doesn't find pester (#5673)
refactor code to restore pester into a separate function called Restore-PSPester
update message on what to do when pester is missing
Add ability for get-psoptions to default to new-psoptions
fix an issue with publish-pstesttools when a build has not been run since build.psm1 has been imported (try to use the default options)
make start-pspester use the last build, not just use the default options
fix an issue in restore caused some files not to be removed
2017-12-12 16:16:10 -08:00
Steve Lee
64647c25f4 Updated doc to build arm/arm64 versions of psrp.windows and PowerShell.Core.Instrumentation.dll libraries (#5668) 2017-12-11 20:46:33 -08:00
Dongbo Wang
308d03e7a7 Update PowerShell executable name in using-vscode.md (#5593) 2017-12-01 17:34:30 -08:00
Steve Lee
e55814aca7 updated install link and instructions for R-Pi (#5495)
* updated install link and instructions for R-Pi
* remove libicu57 as it's not needed
2017-11-28 17:53:57 -08:00
Aditya Patwardhan
9e99d59621 Updated docs and scripts for rc release (#5481) 2017-11-17 09:09:28 -08:00
Dongbo Wang
f8bb55fa78
Minor update to releasing.md (#5489) 2017-11-17 09:05:42 -08:00
Steve Lee
89d1d92151 Update governance.md (#5437) 2017-11-14 11:15:31 -08:00
Travis Plunk
31f7639552
Add compliance label description (#5355) 2017-11-14 10:37:24 -08:00
Dan Travison
d5a974ffd4 Add dependency nuget instructions for PowerShell.Core.Instrumentation resource binary (#5396)
* Add dependency nuget packaging instructions for PowerShell.Core.Instrumentation ETW resource binary.

* Fix markdown MD031 Fenced code blocks errors.

* Fix MD022 Headers should be surrounded by blank lines

* Add a note about Authenticode Dual-signing requirement.

* PR Feedback.

* Set version to Beta.10
2017-11-13 10:40:31 -08:00
Steve Lee
54f34a0bac Support '[package]' tag in PR CI and fix nightly build on macOS (#5410)
- Support '[package]' tag in PR CI to validate packaging changes in PR CI runs.
  When using '[package]' tag, regular CI tests will run and packaging steps will also run.
- Fix nightly build on macOS.
2017-11-10 17:28:55 -08:00
Avi Wollman
b3940fe15b Correct the Fedora documentation (#5384)
Correction to the Fedora documentation: "Fedora machine" instead of "Red Hat Enterprise Linux machine"
2017-11-08 13:51:55 -08:00
Dongbo Wang
906d0a5576
Minor update to FAQ.md (#5366) 2017-11-08 13:41:53 -08:00
Steve Lee
1721f348a5 Update instructions to build on VSCode based on pwsh (#5368) 2017-11-08 07:40:40 +04:00
Dongbo Wang
ef00088ade
Separate Install-PowerShellRemoting.ps1 from psrp.windows nuget package (#5330) 2017-11-03 14:45:07 -07:00
Dongbo Wang
da5a1a6015
Update 'installpsh-suse.sh' and remove 'download.sh' (#5309)
- Update `installpsh-suse.sh` to work with the .tar.gz binary archive.
- Remove `download.sh` as it's not used anywhere now. (checked with PowerShellGet and OneGet, they are using a local copy of download.sh).
2017-11-03 08:47:26 -07:00
Dongbo Wang
532044f27a
Add documentation about how to create libpsl and psrp.windows packages (#5278)
- Add document about creating libpsl and psrp.windows nuget packages
- Clean up and update the existing building docs.
2017-11-01 15:55:46 -07:00
Steve Lee
4bc52d2358 Use consistent '(c)' for copyright symbol (#5210)
- Remove the year about copyright
- Fix casing of `All rights reserved`
- Replace Unicode characters representing single quote with a single quote
2017-10-26 14:12:19 -07:00
Aditya Patwardhan
d0806811e4 Update docs and scripts for beta.9 (#5217) 2017-10-24 16:28:22 -07:00
Dongbo Wang
1702358e75 Update installation doc and README.md to include the powershell binary archive packages (#5212)
* Update README.md

* Update docs for powershell binary archive packages

* Update the chart
2017-10-24 11:13:17 -07:00
Dongbo Wang
e4d88aaa9d Fix appimage package name to be lower case 'powershell-..' (#5206) 2017-10-23 21:40:39 -07:00
Andrew
e0af4d96d8 Add example of how to create a .net core cmdlet with Visual Studio (#5096) 2017-10-23 09:35:28 -07:00
Keith Hill
ca2630a3de Add document about how to create cmdlet w/dotnet CLI (#5117) 2017-10-19 11:32:40 -07:00
Dongbo Wang
7df3a3f3fb Minor update to building/internals.md (#5095) 2017-10-13 10:03:14 -07:00
Kyle Sferrazza
a2dc405242 Update instructions for building from source (#5072)
- Use new S.M.A.dll for build instructions
- Include custom build target in `internals.md` - build.sh no longer exists
2017-10-13 09:57:07 -07:00
Dongbo Wang
f7bab36f5d Fix the prerequisite check of MSI package (#5070)
* Skip check 'vsruntime140.dll' on Win10

* Make the precheck accurate

* Update windows installation prerequisites

* Change 'higher' to 'above'

* Address comments

* Address more comments

* Address some more comments

* [Feature] Update the installer test
2017-10-10 16:40:07 -07:00
David Weber
a1b7f8be3e Add submodule reminder to testing-guidelines.md (#5061) 2017-10-10 09:41:46 -07:00
Kyle Sferrazza
07536019bd Update Arch Linux installation instructions (#5048) 2017-10-10 09:40:23 -07:00
Dominic
590848cef4 Update docs/building/linux.md (#5068) 2017-10-09 17:24:04 -07:00
Dongbo Wang
da5bc0d1a4 Merge beta.8 release branch to master 2017-10-05 17:37:51 -07:00
Dongbo Wang
42b8f02858 Update docs for beta.8 release (#5024) 2017-10-05 15:46:07 -07:00
Ilya
ec1106a329 Add links on best practice guidelines in coding guideline (#4983) 2017-10-05 12:45:10 -07:00
Dongbo Wang
e71d003749 Minor updates to host-powershell/README.md (#4877) 2017-09-20 14:06:34 -07:00
Dongbo Wang
ede580e7d1 Improve the guideline for perf consideration (#4824)
* Improve the guideline for perf consideration

* Address comment
2017-09-14 09:24:49 +04:00
Dongbo Wang
6bf0ead8d6 Update windows package names 2017-09-13 16:37:43 -07:00
Dongbo Wang
a86e608c8b Update docs for beta.7 release 2017-09-12 15:08:49 -07:00
Dongbo Wang
ca1d2acfba Update coding guidelines (#4754)
* Update coding guidelines to make it more concrete and useful in a review process.

* Add a section about security

* Address comments

* Update .spelling

* Address more comments

* Address comment about the security section

* Fix 'i.e.' and 'e.g.'

* Update .spelling

* One more tweak

* Add motivation for using 'nameof'
2017-09-08 20:24:26 +04:00
Steve Lee
7c9b188c13 Rename $IsOSX to $IsMacOS (#4757) 2017-09-07 10:34:40 -07:00
Dongbo Wang
5f60058c22 Update using-vscode.md (#4736)
The setting 'powershell.developer.powerShellExePath' is deprecated and should be changed to 'powershell.powerShellExePath'.
2017-09-05 09:21:30 -07:00
Steve Lee
efa320cdf8 Update docs about the pull-request-process (#4710)
Update pull-request-process to clarify role/responsibility of author and reviewers based on recent feedback from team and community. Also moved it to `.github/CONTRIBUTING.md` so that all related information can be found at one place.
2017-09-04 10:29:20 -07:00
Aditya Patwardhan
fd047a8250 Creates a single package for Windows (#4540)
The updates to build.psm1 and packaging.psm1 create a single package (per bitness), which works on all the Windows OS versions, namely Windows 7 / Windows Server 2008 R2, Windows 8.1 / Windows Server 2012 R2, Windows 10 / Windows Server 2016.
2017-08-28 16:10:03 -07:00
Stellios W
7f79eadbdd Correct linux.md macOS brew reinstall command (#4627)
Correct linux.md macOS brew reinstall command
2017-08-25 11:02:48 -07:00
Steve Lee
23f91c0236 Update WritingPesterTests.md to reflect recommended use of ShouldBeErrorId
* added spelling word

* added sample to inspect details of the errorrecord
2017-08-25 07:24:49 +04:00
Dongbo Wang
80e02bda60 Update docs and scripts for beta.6 release (#4660) 2017-08-24 12:43:31 -07:00
bergmeister
54e892ab06 Make MSI installer perform pre-requisite checks (#4602)
* #4458 MSI installer checks that the Windows C Runtime and VS Studio 2015 C++ redistributables are present and returns error message if not.
Includes tests to check that the Wix file contains the download URLs and those URLs are not dead.
2017-08-18 12:47:43 -07:00
Dongbo Wang
feeb8e1d25 [Feature] Clean up FullCLR related scripts/docs (#4580) 2017-08-16 12:07:45 -07:00
Dongbo Wang
7762d7bf49 clean up map.json related files and scripts (#4532)
* clean up map.json related files and scripts

* Update .spelling
2017-08-10 13:32:19 -07:00
Joey Aiello
487159deba Add Homebrew to install docs (#3838)
* add Homebrew to install docs

* add missing install instructions

* add 'cask' to macOS uninstall

* address PR comments on Mac install

* move to cask reinstall for update
2017-08-07 15:27:25 -07:00
Zachary Alexander
7d5367a9f7 Small grammar change to pull requests guide (#4322)
him -> them, which is consistent with usage above.
2017-08-04 14:59:16 -07:00
Mike Richmond
879b7da4ac Add Ilya as Maintainer (#4365) 2017-08-04 09:01:07 -07:00
Dongbo Wang
7c72bea590 Update docs/scripts for beta.5 release (#4470) 2017-08-03 10:43:57 -07:00
Mike Richmond
a62fe0f220 Add Aditya as a Maintainer (#4364) 2017-07-31 16:26:57 -07:00
Travis Plunk
76e184b0ba move packaging CmdLets to separate module (#4319)
* fix PsScriptAnalyzer issues
* update release docs
2017-07-23 12:29:33 -07:00
Steve Lee
c145866821 Update doc about the process to become a Maintainer (#4311) 2017-07-21 21:10:15 -07:00
Travis Plunk
9571f8f2f4 Add ability to run feature tests for pr (#4277) 2017-07-19 10:33:58 -07:00
Travis Plunk
a10d1c2281 Merge beta.4 release changes (#4247)
* Fix the path on windows containers (#4241)

* Updated string to reflect beta.4 version (#4238)

* Add beta.4 changelog (#4245)

* first pass at beta.4 changelog

* grammar and spelling fixes (#1)

* sort and add new words to dictionary (#4248)
2017-07-13 17:30:58 -07:00
Travis Plunk
7d50e5e5b0 Fix maintainer readme syntax (#4226) 2017-07-11 16:15:11 -07:00
Travis Plunk
1a97af7e04 Fix heading for breaking change contract doc (#4224) 2017-07-11 14:15:34 -07:00
Aditya Patwardhan
23c639149d Added code coverage analysis to identify missing coverage (#4097) 2017-07-07 09:48:14 -07:00
zackschuster
8205edabf3 Update .NET CLI information in windows-core.md (#4176) 2017-07-05 16:00:52 -07:00
Wojciech Sciesinski
b25b8df7ca Fix the link to .Net Core Foundation (#4127) 2017-06-28 10:43:16 -07:00
mrpnkt
83b18570ea Run PowerShell in latest Kali (#4035)
* Run PowerShell in latest Kali

* markdown error in pull request

* Update linux.md

* code block fix

* fixed typo

* fixed typos
2017-06-25 12:15:06 -07:00
Dongbo Wang
b7a7e9980c Update the release steps (#4082) 2017-06-23 09:36:43 -07:00
Ilya
84d458bb4c Add description of recommended settings for VS Code (#4054) 2017-06-23 09:23:50 -07:00
Dongbo Wang
3b6c87d873 Update host-powershell doc for beta.3 release (#4071) 2017-06-21 18:53:39 -07:00
Dongbo Wang
05dffcd1aa Update release version 2017-06-20 14:14:38 -07:00
Steve Lee
bebf487d10 fixed link to download C++ Redist (#3983) 2017-06-12 14:33:35 -07:00
Steve Campbell
1cb2e8a1d5 Add installation instructions for Kali Linux (#3634)
* Update README.md

* Update linux.md

* Update linux.md

* fix markdownlint on README
2017-06-09 13:15:12 -07:00
Dongbo Wang
7681fe9585 Update the releasing documentation to reflect the desired release steps and order (#3938)
* Update release documentation to reflect the desired release steps and order.

* Update in-doc links

* Update .spelling

* Address comments

* Additional changes to build/package example

* Update .spelling

* Remove another internal URL

* Name and link updates could be automated

* Move 'Note' to the top of 'Release Steps' section
2017-06-06 17:59:40 -07:00
Steve Lee
9eed401427 Add code cleanup and documentation labels to issue-management.md (#3908)
* Update issue-management.md to add `code cleanup` and `documentation needed` labels

* changed label to `Documentation Needed` based on feedback
2017-06-06 08:56:26 -07:00
Dongbo Wang
a543161d42 Update docs for beta.2 release (#3922) 2017-06-02 14:17:27 -07:00
Dongbo Wang
2d06c17093 update the doc about hosting powershell with a sample that uses beta.1 packages (#3770) 2017-05-12 15:25:41 -07:00
Dongbo Wang
95f96bc50d Update releasing.md about NuGet package suffix (#3759) 2017-05-11 10:30:19 -07:00
Joey Aiello
e43dcf4d23 Beta 1 known issues doc (#3583) 2017-05-10 15:52:19 -07:00
Dongbo Wang
ee779b58e0 Update docs for beta.1 release (#3748)
* First iteration

* Second iteration

* Third iteration

* Fourth iteration

* Fifth iteration

* Revert the temporary workaround

* beta.1 release only support Mac OSX 10.12+
2017-05-10 09:49:02 -07:00
Andrew
e70e410741 Installation docs update for Debian 8 and RHEL 7 (#3709)
* Debian8 update

* RHEL7 update

* Main page update

* Fixed 'MD024 Multiple headers with the same content'

* Update linux.md

Added explicit text about compatibility of Ubuntu14.04 pkg on Debian8 to avoid confusion about URLs

* Update linux.md
2017-05-09 13:18:01 -07:00
Dmitrii Evdokimov
5938688d86 Fix a pipe char in the table formatting (#3714)
Set the proper escaping for a pipe char inside of a cell text in Markdown.
2017-05-07 22:38:07 -07:00
Sergei Vorobev
c7e377891b Add updating homebrew instruction (#3533) 2017-05-02 15:34:12 -07:00
Mike Richmond
0f5e9f876e Add documentation about the Univeral C Runtime dependency (#3495) 2017-05-02 10:14:17 -07:00
Dongbo Wang
79a1f80309 Update build script to always use 'dotnet publish' (#3589)
Also update 2 building docs
2017-04-18 13:12:35 -07:00
Travis Plunk
8d4db01a5d Add sudo for adding cert for OpenSUSE (#3524) 2017-04-11 13:37:53 -07:00
Travis Plunk
68bcd4b528 Removed trailing whitespace (#3485) 2017-04-11 09:44:43 -07:00
Dongbo Wang
64f52edbd5 Update docs to use the new windows package names (#3507) 2017-04-07 12:03:29 -07:00
Dongbo Wang
b5c1473484 Alpha.18 release doc updates (#3492) 2017-04-06 21:27:48 -07:00
Travis Plunk
459b0b5f29 OpenSUSE42.1 docs update and download.sh (#3478) 2017-04-04 17:41:40 -07:00
Travis Plunk
7e5814abf5 Expand md lint tests (#3451) 2017-03-29 17:13:19 -07:00
Travis Plunk
737058f62e Add markdown lint test (#3420)
* Fix markdown syntax and spelling issues
* update spelling dictionary
2017-03-27 16:44:28 -07:00
Dongbo Wang
3826e47313 Update installing docs as we have moved to .NET Core SDK 1.0.1 (#3432) 2017-03-27 15:26:22 -07:00
Dongbo Wang
8598a51823 Add documentation about hosting PowerShell Core (#3409)
* Add documentation about hosting PowerShell Core

* fix spelling error

* Address review comments

* Update .spelling again

* Address new comments
2017-03-24 17:53:24 -07:00
ewhitesides
fba35cff3c Include info in installation docs on Microsoft Package Repository (#3396) 2017-03-24 16:46:05 -07:00
ScriptAutomate
2c812f128a Add Linux repository instructions
Based on Windows PowerShell Blog:

https://blogs.msdn.microsoft.com/powershell/2017/02/01/installing-latest-powershell-core-6-0-release-on-linux-just-got-easier/

Use apt-get over apt due to man page pointing out apt as a tool for
interactive use, but apt-get as the proper tool to be used in scripted
installations (in order to retain backward compatibility in the event
that apt is modified).
2017-03-23 13:18:25 -07:00
Dongbo Wang
54fa658e31 Migrate from project.json to MSBuild (#3398)
- FullCLR build is disabled in this change.
- FullCLR build related functionalities in `build.psm1` and `AppVeyor.psm1` are disabled. They are not cleaned up from `build.psm1` and `AppVeyor.psm1` yet. We need to adopt .NET Core 2.0 to verify the portable module concept, and if that works well, we will remove the Windows PowerShell source code and clean up our scripts.
- `dnxcore50` and `portable-net5+win8` target framework monikers are removed.
- Dependency on `Microsoft.NETCore.Portable.Compatibility` is removed. It's not necessary, but it may come back when we work on supporting the `portable module`. Its necessity can be reviewed at that time.
- I didn't spend the time to try building powershell in Visual Studio 2017. We should have a separate issue for that. It's tracked by #3400

The `TypeCatalogParser` project is replaced by a MSBuild target to gather the dependency information.
Due to .NET Core SDK issue [#1021](https://github.com/dotnet/sdk/issues/1021), our meta-package project `Microsoft.PowerShell.SDK` starts to generate an empty assembly during the build and that results in an empty assembly `Microsoft.PowerShell.SDK.dll` appear in `publish` folder and in `.deps.json` file. We cannot simply remove the assembly because it's now part of the TPA, and removing it will cause powershell to crash at startup. We have to live with this empty assembly until that .NET Core SDK issue is fixed.  It's tracked by #3401.
2017-03-23 13:04:52 -07:00
Jason Werry
1d33e12762 Fixed typos and improved text (#3394) 2017-03-22 10:17:21 -07:00
Travis Plunk
70f6e176de Fix Markdown lint issues (#3357)
* Fix Markdown lint issues

Make header styles consistent

Make header names unique (make anchors usable)

* Fix spelling of sign up

* Add words used in readme to spelling dictionary.
2017-03-21 15:20:11 -07:00
Travis Plunk
e631651d0b Remove opensuse 13.2 because it is not supported by dotnet or opensuse (#3351) 2017-03-17 09:21:38 -07:00
Steve Lee
76de340e79 corrected use of PSModulePath casing to be consistent with Windows PowerShell (#3255)
* corrected use of PSModulePath casing to be consistent with Windows PowerShell
addresses #3227

* addressing review feedback
make "PSModulePath" into const
fixed some test workarounds due to failures for external reasons that wasn't meant to be checked in

* addressing review feedback
make "PSModulePath" into const
fixed some test workarounds due to failures for external reasons that wasn't meant to be checked in
2017-03-15 12:04:28 -07:00
Travis Plunk
02512fafe9 Fix typo in the instruction to install for OpenSUSE 13.2 (#3305) 2017-03-10 22:55:39 -08:00
Dongbo Wang
3a960db5b0 Update docs for alpha.17 release (#3298) 2017-03-10 11:32:19 -08:00
Kevin Marquette
302b5200e0 Corect xUnit heading and other MD linting warnings (#3272) 2017-03-08 13:28:42 -08:00
Keith Hill
4a0afd85cb Update VSCode install/debug instructions. (#3262) 2017-03-06 09:19:25 -08:00
Steve Lee
402ffeceb1 Update issue-management.md (#3253) 2017-03-04 22:51:21 -08:00
Kyle Sferrazza
ca874e966b Add Arch Linux installation information (#3215) 2017-03-01 17:38:24 -08:00
Mike Richmond
254afcba04 Add instructions for installation on Nano Server (Fixes #3151) (#3195) 2017-02-24 15:38:29 -08:00
Steve Lee
152de40852 Merge pull request #2082 from andschwa/appimage
Generate AppImage
2017-02-21 10:41:24 -08:00
noahleigh
69841d5c57 Fixed broken link in create-powershell-scripts.md (#3171)
* Changed broken link to a working blog post

"run-ps" isn't a linkable document, so I changed the "Running PowerShell Scripts Is as Easy as 1-2-3" to link to an external article on Windows IT Pro with the same name.
2017-02-19 17:02:29 -08:00
probonopd
0c1b11724e Add AppImage documentation 2017-02-17 11:09:36 -08:00
Dongbo Wang
d60dc730a4 doc updates for release alpha.16 (#3160)
* doc changes for alpha.16 release

* update spelling ignore file for new release
2017-02-16 09:09:45 -08:00
Steve Lee
803b70f318 Update KNOWNISSUES.md (#3085)
Added some issue #s for open issues.  Removed some rows from the table that have been fixed.
2017-02-03 17:55:47 -08:00
Jason Shirk (POWERSHELL)
4f02f48c69 Update links and docs for alpha.15 2017-01-18 15:09:50 -08:00
Hemant Mahawar
4c41e3c34d Added Area-DSC 2017-01-12 09:12:48 -08:00
Dongbo Wang
906c750386 Add release checklist and add '-PSModuleRestore' to 'Start-PSBuild' in a few docs (#2946) 2017-01-03 14:32:54 -08:00
Jason Shirk (POWERSHELL)
dd584a817a Update alpha.13 to alpha.14 2016-12-14 15:04:15 -08:00
Adam Bertram
e07e1b596d Fixed PowerShell extension broken link (#2874) 2016-12-12 10:17:43 -08:00
Naadir Jeewa
32a8601f92 Rebase onto .NET Core 1.1 (#2737)
* Rebase onto .NET Core 1.1

Modify `Build.psm1` and `project.json` files to use .NET Core 1.1.

.NET Core 1.1 ships with an older dotnet/cli than has currently been used,
so we revert to use case-sensitive directory names for dependencies.

.NET Core 1.1 is a pre-requisite for supporting Fedora 24.

* PSReadLine: Bump major version of PSReadline to 6.0.0-*

* Microsoft.PowerShell.Commands.Utility: Bump major version of Microsoft.CodeAnalysis.Csharp

* Microsoft.PowerShell.SDK: Revert attempt to import netcoreapp1.1 instead of dnxcore

* build.psm1: Restore ability to specify version of dotnet-install.sh
2016-12-07 18:29:21 -08:00
Hemant Mahawar
b51b52d6b2 Update issue-management.md (#2823)
* Added description for 2 'committee' tags
* Fixing slashes direction
2016-12-01 11:19:02 -08:00
Sergei Vorobev
d64c80f729 Remove obsolete entries in FAQ.md (#2755) 2016-11-22 23:12:24 -08:00
Dongbo Wang
581050ec43 Update docs with release alpha.13 (#2765)
* Update docs with release alpha.13
* Additional doc updates
* Update the 'Get PowerShell' table
2016-11-22 17:50:45 -08:00
iSazonov
40437ba809 Correct samples in testing-guidelines (#2691)
Replace 'Start-PSPester -Directory' with 'Start-PSPester -Path'
2016-11-16 10:37:26 -08:00
Steve Lee
58e2755709 Update issue-management.md (#2673)
* Update issue-management.md

* Update issue-management.md

fixed link to PR code review
2016-11-15 16:54:07 -08:00
Dongbo Wang
dad2c7d155 Update releasing doc to include steps to create Linux/macOS packages and NuGet packages (#2663)
* Update releasing.md with package creation steps for Linux and macOS

* Add documentation for creating NuGet Packages

* Minor fixes
2016-11-11 17:13:04 -08:00
Sebastian N
611f7f9b77 Fix small typo (#2647)
it's -> its
2016-11-09 10:19:53 -08:00
Steve Lee
7c302856d8 Update KNOWNISSUES.md (#2624)
Removed select-xml from the unsupported table based on #2316 as it appear to be working on PSCore on windows
2016-11-04 16:35:52 -07:00
Mike Richmond
ea6cacafd7 Change log and 6.0.0-alpha.12 version number updates (#2593) 2016-11-03 14:23:05 -07:00
Steve Lee
f102fce1dd Update KNOWNISSUES.md (#2586)
Update Remoting and JEA/Linux based on current status
2016-11-01 22:47:19 -07:00
Andy Li
44f7951313 automatic spellchecking .md files in TravisCI (#838) 2016-10-31 18:02:26 -07:00
Mike Richmond
025a3a6d9b Adding details for the Windows release instructions (#2536) 2016-10-25 14:12:33 -07:00
Mike Richmond
35ab4293e3 Adding Windows path to the VS Code Debugging setup document. (#2512) 2016-10-20 14:02:45 -07:00
Dongbo Wang
289e6958ef Update docs/scripts to use the alpha.11 release packages (#2498) 2016-10-18 13:09:09 -07:00
Dongbo Wang
d26b1d7155 Update coding-guidelines to encourage adding code comments (#2489) 2016-10-18 10:12:20 -07:00
Andrew Schwartzmeyer
5e1661df59 Document Start-ResGen and Start-TypeGen (#2487) 2016-10-17 15:21:57 -07:00
Dongbo Wang
2e402cfef1 Update powershell to depend on latest dotnet core packages (preview1-24530-04 from 9/30/2016) 2016-10-14 10:02:44 -07:00
James Truher [MSFT]
b211f5f59b Add query to track action plan in issues (#2439)
fix ActionPlan list to be formatted correctly
2016-10-10 18:55:31 +00:00
James Truher [MSFT]
b89533f123 First draft of test roadmap plan (#2332)
Add test roadmap plan document
Update document with clarifying language for code coverage
Also add an acceptance criteria for remoting tests
include Jenkins with mention of MS Build Lab for possible test infrastructure
2016-10-05 16:50:35 -07:00
Andrew Schwartzmeyer
cc8842c631 Add .NET Core debug build instructions (#2410)
These are thanks to Eric St John from .NET Core.
2016-10-04 13:10:19 -07:00
Sergei Vorobev
d1d82d03b4 Make Invoke-AppVeyorTest run elevated and non-elevated tests separately
- Add RequireAdminOnWindows to the list of blessed tags
- Fix a bug in Get-PesterTag where we accepted 'Slow' as a proper priority
- Fix missed comma in Start-PSPester parameters
- Add documentation about new Pester tag
- Fix finishing logic for Start-PSPester -Unelevate
2016-09-29 12:29:27 -07:00
James Truher [MSFT]
379cc52b95 update testing guidelines
* correct links in test-guidelines.md (issue #1665)

added specific links for PesterDoAndDont and WritingPesterTests
added new section in WritingPesterTests.md on bulk skipping tests

* update test directories to include a directory for remoting tests

* fix lines in document to use semantic line breaks

also remove trailing spaces after "."
2016-09-27 12:55:47 -07:00
James Truher [MSFT]
e143b41533 move native execution tests to Language/Scripting/NativeExecution (#2333)
update testing-guidelines.md with new locations
2016-09-22 11:57:42 -07:00
Andrew Schwartzmeyer
8a24d26e8d Patch System.Net.Http.Native.dylib
Again, .NET Core expects users to forcibly link the third party OpenSSL
libraries into system directories, which the Homebrew team advises
strongly against (and attempts to prevent). This also affects the
System.Net.Http library, and results in runtime errors during SSL
certificate validation. So instead, we patch what we can, when we can.
2016-09-20 14:34:32 -07:00
Andrew Schwartzmeyer
1b0a99fc13 Add one-line installation instruction 2016-09-20 14:10:40 -07:00
Andrew Schwartzmeyer
153ff43b50 Update Linux installation docs to resolve dependencies
Use `dpkg -i` followed by `apt-get install -f`. Alternatives considered
included using `apt install`, which does not work, and copying the
PowerShell package to `/var/cache/apt/archives` which is just as messy
as this. At least this follows the same steps as `download.sh`.
2016-09-20 14:02:16 -07:00
Josh Soref
552640506e grammar: may be
maybe be -- does not really make sense, it should almost always be
written as simply: may be.
2016-09-16 02:40:19 +00:00
Dongbo Wang
e908b9a675 update nuget package version number in FAQ.md 2016-09-15 21:37:18 -07:00
Dongbo Wang
1825b60217 Merge pull request #2276 from andschwa/post-alpha.10
Update documentation and scripts for alpha.10
2016-09-15 21:11:53 -07:00
Sergei Vorobev
1c3c719521 Update testing guidelines (#2244)
* Move PesterDoAndDont.md into WritingPesterTests.md

* Add powershell language moniker to codesnippets

in WritingPesterTests.md
Add extra new-lines for formatting

* Adding here-string info to testings docs
2016-09-15 15:21:26 -07:00
Andrew Schwartzmeyer
d264501f31 Update documentation names and links for alpha.10 2016-09-15 13:59:46 -07:00
Li Li
889cbb6437 .NET CLI tools need to be in path for VS Code (#2204) 2016-09-15 11:45:04 -07:00
Alex Jordan
33e2ea9e23 Add uninstallation instructions for PowerShell pkg 2016-09-13 05:09:47 -07:00
Andrew Schwartzmeyer
832f1a679d Update documentation 2016-09-12 15:01:19 -07:00
Josh Soref
fe08ab64ee Issue management (#2197)
* punctuation: issue management

* grammar: issue management

* capitalization: issue management

* miscellaneous: issue management
2016-09-07 11:32:31 -07:00
Andrew Schwartzmeyer
8911e72477 Fix incorrect function references in releasing.md
This documentation is meant to describe Start-PSPackage, not Start-PSBuild.
2016-09-06 15:53:09 -07:00
Douglas Thrift
948f05d609 Fix link to Build Manually in Linux build document (#2180) 2016-09-05 21:55:09 -07:00
Andrew Schwartzmeyer
7c10dac20c Update macOS install docs for OpenSSL 2016-09-04 12:40:57 -07:00
Sergei Vorobev
95d05d66b6 Add label "Review - Abandoned" description 2016-09-02 16:39:27 -07:00
KaliszAd
e7e82ede96 Added Debian compatibility notice (#2010)
Ubuntu 16.04 LTS is very similar to Debian 9 Strech (now in testing). I can confirm, the instructions work and PS will install successfully.
2016-08-29 19:28:26 -07:00
Aleksandar Nikolić
71b9a75de6 fix Markdown formatting to follow one-sentence-per-line recommendation (#2080) 2016-08-26 17:28:45 -07:00
Aleksandar Nikolić
65988ac2c0 fix Markdown formatting to follow one-sentence-per-line in windows-full.md (#2081) 2016-08-26 17:04:16 -07:00
Zakaria Ridouh
e4f3f8fd69 OS X -> macOS (#1934)
Fix all documentation references of "OS X" to be "macOS", Apple's new brand.

Code is left unchanged because we're matching .NET Core.
2016-08-26 15:08:50 -04:00
Josh Soref
de64180d56 spelling fixes: docs
additional fixes to grammar in windows-full.md per alexandair
2016-08-25 17:43:20 +00:00
David Wilson
b3362fef1d Update using-vscode.md to fix broken link
This change fixes a broken link in the Using Visual Studio Code
documentation.  This link is pointing to a GitHub repo that will never
made public.  The resolution is to change the link to point to the public
vscode-powershell repo.
2016-08-24 16:30:01 -07:00
Dongbo Wang
5658159d45 Merge pull request #2039 from rnelson0/patch-1
Install via URL on CentOS 7
2016-08-24 08:52:15 -07:00
Hal Rottenberg
4026dab15f Clarifying OSX, adding issue with Install-Package (#2033)
* Clarifying OSX, adding issue with Install-Package

- Changing first section to "non-Windows" and clarifying that most of these issues apply to both Linux & OSX.
- Fixed a few typos.
- Adding known issue with Install-Package per #1773

* Mac OSX -> macOS

Complying with convention used in #1934

* added alpha build # to install-package notice

* typo

* Typo
2016-08-24 09:28:26 -04:00
Nilesh Londhe
19e61216c6 Fix documentation on docker image to say you must build before running (#1987)
* Can not run before building

unless you provide a library/powershell image

* Update docker.md
2016-08-24 09:21:39 -04:00
David Wilson
7bd7966189 Update VS Code docs to mention OpenSSL requirement
This change updates the "Using Visual Studio Code" documentation to
mention the requirement of having OpenSSL installed on OS X.  Brief
installation instructions have been included.
2016-08-23 16:33:39 -07:00
Rob Nelson
eb22fd5d78 Install via URL on CentOS 7 2016-08-23 20:22:20 +00:00
Matt Wrock
63659bb74c remove misleading note about dotnet 1.0.1 2016-08-22 22:08:34 -07:00
Jason Shirk
aac88584fd Add Area-Remoting label to issue-management.md 2016-08-22 08:46:11 -07:00
Mike Hsu
7f82c2902f Updated URL to dotnet install. (#1990)
The current URL ends in a 404 error. It looks like the filename was changed from install.ps1 to dotnet-install.ps1
2016-08-21 08:22:34 -07:00