Commit graph

680 commits

Author SHA1 Message Date
Reece Dunham
6ee4521cd3 Update maintainer docs about the CLA PR labels (#8734) 2019-01-24 11:46:51 -08:00
Travis Plunk
2b81a706ae Add Andrew to the maintainer list (#8722)
* Add andrew to the maintainer list
* update dictionary
2019-01-23 15:08:53 -08:00
Reece Dunham
ac2512ff0d Update git clone URL (#8673) 2019-01-17 21:48:29 +05:00
Travis Plunk
7bf4641444
Fix broken urls (#8653)
Fix broken URL
  - Also, move other static analysis tests into that CI.
  - Also, make the link analysis a pester test (partly to make sure the step fails in case of an error)
2019-01-15 16:20:45 -08:00
Christoph Bergmeister [MVP]
1334b4cbf2 Update examples for hosting PSCore and remove old outdated examples (#8472) 2019-01-11 14:06:22 -08:00
xtqqczze
c1920da410 Update code coverage analysis document (#8543) 2019-01-08 10:18:46 -08:00
Dongbo Wang
4a63201139 Remove 'en-us' from our doc links (#8602) 2019-01-07 17:11:17 -08:00
Ilya
1be3f4cc0e Style: Add the ending period to the XML document texts (#8577) 2019-01-05 15:40:24 -08:00
Steve Lee
7ff5d4c681 Document First-time-issue and Hackathon/Hacktoberfest labels (#8575)
Seems like the convention is to have a `First-Time-Issue` to help first time contributors find easy issues they can work on to start learning about the project and make their first contribution.  Label is created, this PR adds documentation.  The `Hackathon`/`Hacktoberfest` label (changes depending on time of year) wasn't documented previously and added to issue management doc.

Fix https://github.com/PowerShell/PowerShell/issues/8562
2019-01-04 10:50:08 -08:00
jwmoss
83064138a2 Updated linux build link (#8579)
Updated to redirect to docs page, as current link is a 404.
2019-01-03 12:28:47 -08:00
Steve Lee
4af3068566 Code cleanup: Add space after closing brace where needed (#8530)
* Update TestService

* Update WebListener

* Update Controllers

* Update ExpTest

* Update MyApp

* Update Logic

* Update Logic

* Update MyApp

* Update Microsoft.Management.Infrastructure.CimCmdlets

* Update Microsoft.PowerShell.Commands.Diagnostics

* Update Microsoft.PowerShell.ScheduledJob

* Update Microsoft.WSMan.Management

* Update Microsoft.WSMan.Runtime

* Update ResGen

* Update TypeCatalogGen

* Update commands

* Update Eventing

* Update Reader

* Update utility

* Update ShowCommand

* Update trace

* Update WebCmdlet

* Update Common

* Update CoreCLR

* Update common

* Update format-object

* Update format-wide

* Update out-file

* Update out-printer

* Update out-string

* Update OutGridView

* Update LocalAccounts

* Update Commands

* Update security

* Update CoreCLR

* Update DscSupport

* Update engine

* Update help

* Update logging

* Update namespaces

* Update security

* Update utils

* Update config

* Update perfCounters

* Update tracing

* Update cmdletization

* Update other

* Update cim

* Update xml

* Update CoreCLR

* Update common

* Update DefaultFormatters

* Update out-console

* Update out-textInterface

* Update DisplayDatabase

* Update Utilities

* Update COM

* Update ComInterop

* Update CommandCompletion

* Update debugger

* Update ExperimentalFeature

* Update hostifaces

* Update interpreter

* Update lang

* Update Modules

* Update parser

* Update runtime

* Update client

* Update commands

* Update common

* Update fanin

* Update server

* Update WireDataFormat

* Update Binding

* Update Operations

* Update interface

* Update cmdletization

* Update cim

* Update management

* Update WindowsTaskbarJumpList

* Update msh
2018-12-24 11:20:06 +05:00
Sydney Smith
2b4199a78a Updating links to point to ms docs VS Code docs (#8468)
* Updated links to point to Microsoft Docs
* Delete using-vscode.md
* Delete vscode.png
2018-12-16 14:39:45 +05:00
Aditya Patwardhan
a62eb62701 Remove all reference to AppVeyor and Travis CI from docs (#8376) 2018-12-03 10:14:11 -08:00
Andrew Schwartzmeyer
54874180ce Remove build and doc references to Git submodules (#8177)
As of #7892, the PowerShell repository no longer uses Git submodules.
This is fantastic from a workflow standpoint, and so all the notes about
how to deal with submodules (and all the build steps explicitly
initializing and updating submodules) can be safely removed.
2018-11-05 10:39:29 -08:00
Mark Wragg
8215914b46 Updated Pester Syntax in Writing Tests Guide (#8039)
- Modified the Pester syntax for the `-Be` assertion (instead of just `Be`) to reflect the preferred use per latest version of Pester.
- Added an example showing use of `-BeOfType` to test the type of a variable.
- Other minor changes for grammar.
2018-10-29 17:49:12 -07:00
lassehastrup
7076d80631 Added updated photo of VScode due to new version of VScode (#8084) 2018-10-29 15:07:42 -07:00
Mike Cochran
81618bc2c1 Add Microsoft Docs link to FAQ (#8133)
Linked to the Microsoft Docs for PowerShell as a reference on where to learn PowerShell's syntax.
2018-10-28 09:44:47 +05:00
Andre van den Berg
4f134fc197 Update powershell-beginners-guide.md to add alias for Clear-Host (#7912) 2018-10-26 09:29:24 -07:00
tobvil
903c61a62b Added 'Learn Windows PowerShell in a Month of Lunches' as recommended reading (#8067) 2018-10-23 11:34:06 -07:00
Jan
734a139457 Correct typos in powershell-beginners-guide.md (#8088) 2018-10-20 22:01:22 +05:00
daviddreher2
f8782d197e Update README.md (#8059)
Fixed some spelling and grammar.
2018-10-17 16:22:55 +05:00
Victor Silva
56014708db Fix the "Basic cookbooks" link (#7934) 2018-10-10 13:35:11 -07:00
Victor Silva
e29b5ee839 Add cURL to the Bash users list in README.md (#7948) 2018-10-09 16:17:46 +05:00
tommymaynard
b941e62def Update governance.md (#7927)
Removed plural and added comma where necessary.
2018-10-03 15:21:32 -07:00
RDIL
bc4575f55a Optimize Images! (#7874)
My pal @ImgBotApp optimized all the images present in the repository.
2018-10-01 13:15:37 -07:00
Travis Plunk
8a0abf459c
update markdown tests (#7838)
update markdown tests

  - explicitly use gulp 4.0 beta because 3.9 depends on a vulnerable package
2018-09-24 10:14:43 -07:00
Frank Behrens
84634445ce Improve markdown Formatting of beginners guide (#7684) 2018-09-24 09:57:53 -07:00
Aditya Patwardhan
d487ff9e62 Change locale of mdspell to en-US (#7671)
Update the locale to use en-us for mdspell checker.
2018-08-31 14:32:54 -07:00
Christoph Bergmeister [MVP]
b3c961f882 Update docs about .NET Core version 2.0 to be about version 2.x (#7467) 2018-08-30 16:51:52 -07:00
Dongbo Wang
791159d615
Add 'Former Repository Maintainers' section in maintainers/README.md (#7475) 2018-08-08 12:38:45 -07:00
Aleksandar Nikolić
ca7f103a15 Fix casing of GitHub in best-practice.md (#7392)
Fix Github to GitHub.
2018-07-30 10:36:41 -07:00
Aleksandar Nikolić
27df6dcb32 Fix a typo in issue-management.md (#7393) 2018-07-27 17:44:59 -07:00
Aleksandar Nikolić
a5f9b50319 Fix typos in docs/maintainers/README.md (#7390) 2018-07-27 17:29:07 -07:00
Dongbo Wang
5c11f09706
Add maintainer's best practice document and update maintainer list (#7311) 2018-07-20 21:31:21 -07:00
Christoph Bergmeister
56e50ce632 Update 'Start-PSPester' to make it more user friendly (#7210)
- Make `Start-PSPester` call `Restore-Pester` automatically when needed,
- Make `-Path` a positional parameter for `Start-PSPester`.
2018-07-03 11:16:37 -07:00
Adam Gauthier
c83e0e8462 Update the powershell executable location in building guide docs (#7205) 2018-06-28 23:14:08 -07:00
Aleksandar Nikolić
bd598f3f1e Fix typos in DOCSMIGRATION.md (#7094) 2018-06-19 08:24:35 +05:00
Sergei Vorobev
69977718db Add instructions to update homebrew formula for the preview version powershell (#7067) 2018-06-14 12:03:17 -07:00
Dongbo Wang
9141a3599f Update 'internals.md' with the latest build changes (#7058) 2018-06-14 23:06:16 +05:00
Christoph Bergmeister
fa544c33db Update links that contain 'en-us' culture (#7013)
Update links that contain 'en-us' culture to remove 'en-us' culture (if possible) and in some cases update to newer re-directed link to docs.microsoft.com
2018-06-08 10:49:03 +05:00
Josh
0d51ea7aea Fix links to PowerShell install docs (#7001) 2018-06-07 17:24:41 +05:00
Sean Wheeler
1f918bb648 Migrating docs from source to docs repo (#6899)
* migrating docs to docs repo
2018-06-01 14:28:09 -07:00
Dongbo Wang
0a322ddb70
Update installation doc about Raspbian (#6859) 2018-05-14 12:39:38 -07:00
Robert Holt
5cc27e2059 Add code coverage report generation instructions (#6515)
* Add code coverage report generation instructions

* Add Publish-PSTestTools in docs

* Add references to coverage comparison commands
2018-05-04 09:51:08 -07:00
Ilya
84344cbb32 Update PowerShell to build with .NET Core SDK 2.1.300-rc1-008662 (#6718)
* Build Update
- Change `TargetFramework` to `netcoreapp2.1` and removed unnecessary `RuntimeFrameworkVersion` from `PowerShell.Common.props`
- Update dotnet SDK to 2.1.300-rc1-008662
- Update `TypeGen` target in `Build.psm1` to work with 2.1
- Rename macOS runtime to `osx-x64` as the old build logic expects 10.12 and breaks running on 10.13 system.
- Remove `PackageReference` to `System.Memory` as it's part of dotnetcore 2.1
- Update search for `crossgen` executable to find the matching version

* Test Update
- Update test tools `WebListener` to latest `asp.net core`
- Marked `AuthHeader Redirect` tests as `Pending` due to change in CoreFX
2018-05-02 16:58:39 -07:00
Klaudia Algiz
045e036205 Update documentation on how to write tests verifying errors conditions (#6687) 2018-04-25 17:26:24 -07:00
Joey Aiello
feb38cff70 Remove extraneous SSH and install docs from the 'demos' folder (#6628) 2018-04-13 15:50:54 -07:00
M-D-M
7c7204a1ba Doc: Update Ubuntu source creation commands to use 'curl -o' (#6510)
Updated the Ubuntu source creation commands to remove the need for piping
2018-03-27 14:57:29 -07:00
Dongbo Wang
b49fb7f1b3
Update 'macos.md' and 'windows.md' with the version number '6.0.2' (#6416) 2018-03-19 11:38:27 -07:00
Dongbo Wang
d0d4e3cf0c
Update the 'ChangeLog.md' for 6.0.2 release (#6417) 2018-03-19 11:37:27 -07:00
Andrew Palmer
be109922f3 Change 6.0.1 references to 6.0.2 for 'linux.md' (#6411) 2018-03-16 21:06:00 -07:00
Steve Lee
263c98858b Update to Governance doc to reflect current working model (#6323)
With some changes in the PowerShell Team, need to update Governance doc to reflect current working model being used
2018-03-16 15:04:32 -07:00
Steve Lee
4d0f8cc0f5 Add Waiting - DotNetCore label (#6406)
Also, organize labels in alphabetical order.
2018-03-16 14:36:59 -07:00
Klaudia Algiz
56b394d33b Update docs with test guidelines with RequireSudoOnUnix tag. (#6274)
* Updating testing docs with RequireSudoOnUnix tag.
2018-03-02 10:07:20 -08:00
Jamie Bilinski
390036c9a7 Updated install md bin path (not packaged documentation) (#5914) 2018-03-01 23:54:25 +04:00
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