You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Checkout a new local branch from `master` for every change you want to make (bugfix, feature).
14
14
* Use lowercase-with-dashes for naming.
15
15
* Follow [Linus' recommendations][Linus] about history.
16
-
- "People can (and probably should) rebase their _private_ trees (their own work). That's a _cleanup_. But never other peoples code. That's a 'destroy history'...
17
-
You must never EVER destroy other peoples history. You must not rebase commits other people did.
18
-
Basically, if it doesn't have your sign-off on it, it's off limits: you can't rebase it, because it's not yours."
16
+
* "People can (and probably should) rebase their _private_ trees (their own work). That's a _cleanup_. But never other peoples code. That's a 'destroy history'...
17
+
You must never EVER destroy other peoples history. You must not rebase commits other people did.
18
+
Basically, if it doesn't have your sign-off on it, it's off limits: you can't rebase it, because it's not yours."
19
19
20
20
### Understand branches
21
21
22
22
***master** is the branch with the latest and greatest changes.
23
23
It could be unstable.
24
24
* Send your pull requests to **master**.
25
25
26
-
### Sync your local repo
26
+
### Sync your local repository
27
27
28
28
Use **git rebase** instead of **git merge** and **git pull**, when you're updating your feature-branch.
29
29
30
30
```sh
31
-
# fetch updates all remote branch references in the repo
31
+
# fetch updates all remote branch references in the repository
32
32
# --all : tells it to do it for all remotes (handy, when you use your fork)
33
33
# -p : tells it to remove obsolete remote branch references (when they are removed from remote)
34
34
git fetch --all -p
@@ -42,9 +42,7 @@ git rebase origin/master
42
42
Covering all possible git scenarios is behind the scope of the current document.
43
43
Git has excellent documentation and lots of materials available online.
44
44
45
-
We are leaving few links here:
46
-
47
-
[Git pretty flowchart](http://justinhileman.info/article/git-pretty/): what to do, when your local repo became a mess.
Copy file name to clipboardExpand all lines: docs/maintainers/releasing.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,20 +21,15 @@ This is to help track the release preparation work.
21
21
- Sign the MSI packages and DEB/RPM packages.
22
22
- Install and verify the packages.
23
23
1. Update documentation, scripts and Dockerfiles
24
-
- Summarize the change log for the release. It should be reviewed by PM(s) to make it more user-friendly.
25
-
- Update [CHANGELOG.md](../../CHANGELOG.md) with the finalized change log draft.
24
+
- Summarize the changelog for the release. It should be reviewed by PM(s) to make it more user-friendly.
25
+
- Update [CHANGELOG.md](../../CHANGELOG.md) with the finalized changelog draft.
26
26
- Update other documents and scripts to use the new package names and links.
27
27
1. Verify the release Dockerfiles.
28
28
1.[Create NuGet packages](#nuget-packages) and publish them to [powershell-core feed][ps-core-feed].
29
29
1.[Create the release tag](#release-tag) and push the tag to `PowerShell/PowerShell` repository.
30
-
1. Create the draft and publish the release in Github.
30
+
1. Create the draft and publish the release in GitHub.
31
31
1. Merge the `release-<Release Tag>` branch to `master` in `powershell/powershell` and delete the `release-<Release Tag>` branch.
32
32
1. Publish Linux packages to Microsoft YUM/APT repositories.
33
-
1. Trigger the release docker builds for Linux and Windows container images.
34
-
- Linux: push a branch named `docker` to `powershell/powershell` repository to trigger the build at [powershell docker hub](https://hub.docker.com/r/microsoft/powershell/builds/).
35
-
Delete the `docker` branch once the builds succeed.
36
-
- Windows: queue a new build in `PowerShell Windows Docker Build` on VSTS.
37
-
1. Verify the generated docker container images.
38
33
1.[Update the homebrew formula](#homebrew) for the macOS package.
39
34
This task usually will be taken care of by the community,
40
35
so we can wait for one day or two and see if the homebrew formula has already been updated,
@@ -104,7 +99,7 @@ this package will contain actual PowerShell bits
104
99
(i.e. it is not a meta-package).
105
100
These bits are installed to `/opt/microsoft/powershell/6.0.0-alpha.8/`,
106
101
where the version will change with each update
107
-
(and is the pre-release version).
102
+
(and is the prerelease version).
108
103
On macOS, the prefix is `/usr/local`,
109
104
instead of `/opt/microsoft` because it is derived from BSD.
Copy file name to clipboardExpand all lines: tools/performance/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
This directory contains useful scripts and related files for analyzing PowerShell performance.
5
5
6
-
If you use the [Windows Performance Toolkit](https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk), you can use the following to collect data and analyze a trace.
6
+
If you use the [Windows Performance Toolkit](https://learn.microsoft.com/windows-hardware/test/wpt/), you can use the following to collect data and analyze a trace.
0 commit comments