Skip to content

Commit 68bcd4b

Browse files
TravisEz13daxian-dbw
authored andcommitted
Removed trailing whitespace (PowerShell#3485)
1 parent 18c28f8 commit 68bcd4b

File tree

14 files changed

+149
-149
lines changed

14 files changed

+149
-149
lines changed

docs/building/linux.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Build PowerShell on Linux
22
=========================
33

4-
This guide will walk you through building PowerShell on Linux.
4+
This guide will walk you through building PowerShell on Linux.
55
We'll start by showing how to set up your environment from scratch.
66

77
Environment
88
===========
99

10-
These instructions are written assuming the Ubuntu 14.04 LTS, since that's the distro the team uses.
10+
These instructions are written assuming the Ubuntu 14.04 LTS, since that's the distro the team uses.
1111
The build module works on a best-effort basis for other distributions.
1212

1313
Git Setup
1414
---------
1515

16-
Using Git requires it to be set up correctly;
16+
Using Git requires it to be set up correctly;
1717
refer to the [Working with the PowerShell Repository](../git/README.md),
1818
[README](../../README.md), and [Contributing Guidelines](../../.github/CONTRIBUTING.md).
1919

@@ -22,8 +22,8 @@ refer to the [Working with the PowerShell Repository](../git/README.md),
2222
Toolchain Setup
2323
---------------
2424

25-
We use the [.NET Command-Line Interface][dotnet-cli] (`dotnet`) to build the managed components,
26-
and [CMake][] to build the native components.
25+
We use the [.NET Command-Line Interface][dotnet-cli] (`dotnet`) to build the managed components,
26+
and [CMake][] to build the native components.
2727
Install the following packages for the toolchain:
2828

2929
- `dotnet`: Must be installed from the `Start-PSBootstrap` module as described below.
@@ -32,13 +32,13 @@ Install the following packages for the toolchain:
3232
- `g++`
3333

3434
Unfortunately, the `apt-get` feed for `dotnet` has been deprecated,
35-
and the latest version is only distributed in the form of three separate packages,
35+
and the latest version is only distributed in the form of three separate packages,
3636
which require manual dependency resolution.
3737

38-
Installing the toolchain is as easy as running `Start-PSBootstrap` in PowerShell.
38+
Installing the toolchain is as easy as running `Start-PSBootstrap` in PowerShell.
3939
Of course, this requires a self-hosted copy of PowerShell on Linux.
4040

41-
Fortunately, this is as easy as [downloading and installing the package](../installation/linux.md).
41+
Fortunately, this is as easy as [downloading and installing the package](../installation/linux.md).
4242
The `./tools/download.sh` script will also install the PowerShell package.
4343

4444
In Bash:
@@ -49,7 +49,7 @@ In Bash:
4949
powershell
5050
```
5151

52-
You should now be in a `powershell` console host that is installed separately from any development copy you're about to build.
52+
You should now be in a `powershell` console host that is installed separately from any development copy you're about to build.
5353
Just import our module, bootstrap the dependencies, and build!
5454

5555
In PowerShell:
@@ -78,16 +78,16 @@ If you have any problems installing `dotnet`, please see their [documentation][c
7878

7979
The version of .NET CLI is very important; the version we are currently using is `1.0.1`.
8080

81-
Previous installations of DNX, `dnvm`, or older installations of .NET CLI can cause odd failures when running.
81+
Previous installations of DNX, `dnvm`, or older installations of .NET CLI can cause odd failures when running.
8282
Please check your version and uninstall prior any prior versions.
8383

8484
[cli-docs]: https://www.microsoft.com/net/core
8585

8686
Build using our module
8787
======================
8888

89-
We maintain a [PowerShell module](../../build.psm1) with the function `Start-PSBuild` to build PowerShell.
90-
Since this is PowerShell code, it requires self-hosting.
89+
We maintain a [PowerShell module](../../build.psm1) with the function `Start-PSBuild` to build PowerShell.
90+
Since this is PowerShell code, it requires self-hosting.
9191
If you have followed the toolchain setup section above, you should have `powershell` installed.
9292

9393
> If you cannot or do not want to self-host, `Start-PSBuild` is just a
@@ -134,8 +134,8 @@ where `dotnet` consumes it as "content" and thus automatically deploys it.
134134
Build the managed projects
135135
--------------------------
136136

137-
The `powershell` project is the .NET Core PowerShell host.
138-
It is the top level project, so `dotnet build` transitively builds all its dependencies, and emits a `powershell` executable.
137+
The `powershell` project is the .NET Core PowerShell host.
138+
It is the top level project, so `dotnet build` transitively builds all its dependencies, and emits a `powershell` executable.
139139
The `--configuration Linux` flag is necessary to ensure that the preprocessor definition `LINUX` is defined (see [issue #673][]).
140140

141141
```sh
@@ -144,14 +144,14 @@ cd src/powershell-unix
144144
dotnet build --configuration Linux
145145
```
146146

147-
The executable will be in `./bin/[configuration]/[framework]/[rid]/[binary name]`,
148-
where our configuration is `Linux`, framework is `netcoreapp1.1`,
149-
runtime identifier is `ubuntu.14.04-x64`, and binary name is `powershell`.
150-
The function `Get-PSOutput` will return the path to the executable;
147+
The executable will be in `./bin/[configuration]/[framework]/[rid]/[binary name]`,
148+
where our configuration is `Linux`, framework is `netcoreapp1.1`,
149+
runtime identifier is `ubuntu.14.04-x64`, and binary name is `powershell`.
150+
The function `Get-PSOutput` will return the path to the executable;
151151
thus you can execute the development copy via `& (Get-PSOutput)`.
152152

153153
For deploying PowerShell, `dotnet publish` will emit a `publish` directory that contains a flat list of every dependency required for
154-
PowerShell.
154+
PowerShell.
155155
This can be copied to, for example, `/usr/local/share/powershell` or packaged.
156156

157157
[issue #673]: https://github.com/PowerShell/PowerShell/issues/673

docs/building/windows-core.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Build PowerShell on Windows for .NET Core
22
=========================================
33

4-
This guide will walk you through building PowerShell on Windows, targeting .NET Core.
4+
This guide will walk you through building PowerShell on Windows, targeting .NET Core.
55
We'll start by showing how to set up your environment from scratch.
66

77
You can also [build PowerShell for Full .NET framework](windows-full.md) on Windows.
@@ -24,14 +24,14 @@ This guide assumes that you have recursively cloned the PowerShell repository an
2424
Visual Studio
2525
----------------
2626

27-
You will need to install an edition of Visual Studio 2015 (Community, Enterprise, or Professional) with the optional feature 'Common Tools for Visual C++' installed.
27+
You will need to install an edition of Visual Studio 2015 (Community, Enterprise, or Professional) with the optional feature 'Common Tools for Visual C++' installed.
2828
The free Community edition of Visual Studio 2015 can be downloaded [here](https://www.visualstudio.com/visual-studio-community-vs/).
2929

3030
.NET CLI
3131
--------
3232

3333
We use the [.NET Command Line Interface][dotnet-cli] (`dotnet`) to build PowerShell.
34-
The version we are currently using is `1.0.1`.
34+
The version we are currently using is `1.0.1`.
3535
The `Start-PSBootstrap` function will automatically install it and add it to your path:
3636

3737
```powershell
@@ -69,17 +69,17 @@ Start-PSBuild
6969

7070
Congratulations! If everything went right, PowerShell is now built and executable as `./src/powershell-win-core/bin/Debug/netcoreapp1.1/win10-x64/powershell`.
7171

72-
This location is of the form `./[project]/bin/[configuration]/[framework]/[rid]/[binary name]`,
73-
and our project is `powershell`, configuration is `Debug` by default,
74-
framework is `netcoreapp1.1`, runtime identifier is **probably** `win10-x64`
75-
(but will depend on your operating system;
76-
don't worry, `dotnet --info` will tell you what it was), and binary name is `powershell`.
77-
The function `Get-PSOutput` will return the path to the executable;
72+
This location is of the form `./[project]/bin/[configuration]/[framework]/[rid]/[binary name]`,
73+
and our project is `powershell`, configuration is `Debug` by default,
74+
framework is `netcoreapp1.1`, runtime identifier is **probably** `win10-x64`
75+
(but will depend on your operating system;
76+
don't worry, `dotnet --info` will tell you what it was), and binary name is `powershell`.
77+
The function `Get-PSOutput` will return the path to the executable;
7878
thus you can execute the development copy via `& (Get-PSOutput)`.
7979

80-
The `powershell` project is the .NET Core PowerShell host.
81-
It is the top level project, so `dotnet build` transitively builds all its dependencies,
82-
and emits a `powershell` executable.
80+
The `powershell` project is the .NET Core PowerShell host.
81+
It is the top level project, so `dotnet build` transitively builds all its dependencies,
82+
and emits a `powershell` executable.
8383
The cross-platform host has built-in documentation via `--help`.
8484

8585
You can run our cross-platform Pester tests with `Start-PSPester`.

docs/community/governance.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
## Terms
44

5-
* [**PowerShell Committee**](#powershell-committee): A committee of project owners who are responsible for design decisions, approving [RFCs][RFC-repo], and approving new maintainers/committee members
5+
* [**PowerShell Committee**](#powershell-committee): A committee of project owners who are responsible for design decisions, approving [RFCs][RFC-repo], and approving new maintainers/committee members
66
* **Project Leads**: Project Leads support the PowerShell Committee, engineering teams, and community by working across Microsoft teams and leadership, and working through industry issues with other companies.
77
They also have optional votes on the PowerShell Committee when they choose to invoke them. The initial Project Leads for PowerShell are Angel Calvo ([AngelCalvo](https://github.com/AngelCalvo)) and Kenneth Hansen ([khansen00](https://github.com/khansen00)).
88
* [**Repository maintainer**](#repository-maintainers): An individual responsible for merging pull requests (PRs) into `master` when all requirements are met (code review, tests, docs, and RFC approval as applicable).
99
Repository Maintainers are the only people with write permissions into `master`.
10-
* [**Area experts**](#area-experts): People who are experts for specific components (e.g. PSReadline, the parser) or technologies (e.g. security, performance).
11-
Area experts are responsible for code reviews, issue triage, and providing their expertise to others.
10+
* [**Area experts**](#area-experts): People who are experts for specific components (e.g. PSReadline, the parser) or technologies (e.g. security, performance).
11+
Area experts are responsible for code reviews, issue triage, and providing their expertise to others.
1212
* **Corporation**: The Corporation owns the PowerShell repository and, under extreme circumstances, reserves the right to dissolve or reform the PowerShell Committee, the Project Leads, and the Corporate Maintainer.
1313
The Corporation for PowerShell is Microsoft.
1414
* **Corporate Maintainer**: The Corporate Maintainer is an entity, person or set of persons, with the ability to veto decisions made by the PowerShell Committee or any other collaborators on the PowerShell project.
15-
This veto power will be used with restraint since it is intended that the community drive the project.
15+
This veto power will be used with restraint since it is intended that the community drive the project.
1616
The Corporate Maintainer is determined by the Corporation both initially and in continuation.
1717
The initial Corporate Maintainer for PowerShell is Jeffrey Snover ([jpsnover](https://github.com/jpsnover)).
18-
* [**RFC process**][RFC-repo]: The "review-for-comment" (RFC) process whereby design decisions get made.
18+
* [**RFC process**][RFC-repo]: The "review-for-comment" (RFC) process whereby design decisions get made.
1919

2020
## PowerShell Committee
2121

@@ -31,7 +31,7 @@ The PowerShell Committee and its members (aka Committee Members) are the primary
3131

3232
### Committee Member Responsibilities
3333

34-
Committee Members are responsible for reviewing and approving [PowerShell RFCs][RFC-repo] proposing new features or design changes.
34+
Committee Members are responsible for reviewing and approving [PowerShell RFCs][RFC-repo] proposing new features or design changes.
3535

3636
#### Changes that require an [RFC][RFC-repo]
3737

@@ -45,14 +45,14 @@ The following types of decisions require a written RFC and ample time for the co
4545

4646
#### Changes that don't require an RFC
4747

48-
In some cases, a new feature or behavior may be deemed small enough to forgo the RFC process
48+
In some cases, a new feature or behavior may be deemed small enough to forgo the RFC process
4949
(e.g. changing the default PSReadline `EditMode` to `Emacs` on Mac/Linux).
50-
In these cases, [issues marked as `1 - Planning`][issue-process] require only a simple majority of Committee Members to sign off.
50+
In these cases, [issues marked as `1 - Planning`][issue-process] require only a simple majority of Committee Members to sign off.
5151
After that, a Repository Maintainer should relabel the issue as `2 - Ready` so that a contributor can begin working on it.
5252

53-
If any Committee Members feels like this behavior is large enough to warrant an RFC, they can add the label `RFC-required` and the issue owner is expected to follow the RFC process.
53+
If any Committee Members feels like this behavior is large enough to warrant an RFC, they can add the label `RFC-required` and the issue owner is expected to follow the RFC process.
5454

55-
#### Committee Member DOs and DON'Ts
55+
#### Committee Member DOs and DON'Ts
5656

5757
As a PowerShell Committee Member:
5858

@@ -73,23 +73,23 @@ Members are encouraged to share their opinions, but they should be presented as
7373
### PowerShell Committee Membership
7474

7575
The initial PowerShell Committee consists of Microsoft employees.
76-
It is expected that over time, PowerShell experts in the community will be made Committee Members.
77-
Membership is heavily dependent on the level of contribution and expertise: individuals who contribute in meaningful ways to the project will be recognized accordingly.
76+
It is expected that over time, PowerShell experts in the community will be made Committee Members.
77+
Membership is heavily dependent on the level of contribution and expertise: individuals who contribute in meaningful ways to the project will be recognized accordingly.
7878

79-
At any point in time, a Committee Member can nominate a strong community member to join the Committee.
79+
At any point in time, a Committee Member can nominate a strong community member to join the Committee.
8080
Nominations should be submitted in the form of [RFCs][RFC-repo] detailing why that individual is qualified and how they will contribute.
81-
After the RFC has been discussed, a unanimous vote will be required for the new Committee Member to be confirmed.
81+
After the RFC has been discussed, a unanimous vote will be required for the new Committee Member to be confirmed.
8282

8383
## Repository Maintainers
8484

85-
Repository Maintainers are trusted stewards of the PowerShell repository responsible for maintaining consistency and quality of PowerShell code.
85+
Repository Maintainers are trusted stewards of the PowerShell repository responsible for maintaining consistency and quality of PowerShell code.
8686
One of their primary responsibilities is merging pull requests after all requirements have been fulfilled.
8787

8888
For more information on Repository Maintainers--their responsibilities, who they are, and how one becomes a Maintainer--see the [README for Repository Maintainers][maintainers].
8989

9090
## Area Experts
9191

92-
Area Experts are people with knowledge of specific components or technologies in the PowerShell domain. They are responsible for code reviews, issue triage, and providing their expertise to others.
92+
Area Experts are people with knowledge of specific components or technologies in the PowerShell domain. They are responsible for code reviews, issue triage, and providing their expertise to others.
9393

9494
They have [write access](https://help.github.com/articles/permission-levels-for-an-organization-repository/) to the PowerShell repository which gives them the power to:
9595

@@ -99,14 +99,14 @@ They have [write access](https://help.github.com/articles/permission-levels-for-
9999

100100
### Area Expert Responsibilities
101101

102-
If you are an Area Expert, you are expected to be actively involved in any development, design, or contributions in your area of expertise.
102+
If you are an Area Expert, you are expected to be actively involved in any development, design, or contributions in your area of expertise.
103103

104104
If you are an Area Expert:
105105

106106
1. **DO** assign the [correct labels][issue-process]
107107
1. **DO** assign yourself to issues labeled with your area of expertise
108108
1. **DO** code reviews for issues where you're assigned or in your areas of expertise.
109-
1. **DO** reply to new issues and pull requests that are related to your area of expertise
109+
1. **DO** reply to new issues and pull requests that are related to your area of expertise
110110
(while reviewing PRs, leave your comment even if everything looks good - a simple "Looks good to me" or "LGTM" will suffice, so that we know someone has already taken a look at it).
111111
1. **DO** make sure contributors are following the [contributor guidelines](../../.github/CONTRIBUTING.md).
112112
1. **DO** ask people to resend a pull request, if it [doesn't target `master`](../../.github/CONTRIBUTING.md#lifecycle-of-a-pull-request).
@@ -122,12 +122,12 @@ If you are an Area Expert:
122122

123123
See our [Issue Management Process][issue-process]
124124

125-
## Pull Request Process
125+
## Pull Request Process
126126

127127
See our [Pull Request Process][pull-request-process]
128128

129129
[RFC-repo]: https://github.com/PowerShell/PowerShell-RFC
130-
[pester]: ../testing-guidelines/WritingPesterTests.md
130+
[pester]: ../testing-guidelines/WritingPesterTests.md
131131
[ci-system]: ../testing-guidelines/testing-guidelines.md#ci-system
132132
[breaking-changes]: ../dev-process/breaking-change-contract.md
133133
[issue-process]: ../maintainers/issue-management.md

0 commit comments

Comments
 (0)