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
> _A system for parallelizing POSIX shell scripts._
4
+
> _Hosted by the [Linux Foundation](https://linuxfoundation.org/press-release/linux-foundation-to-host-the-pash-project-accelerating-shell-scripting-with-automated-parallelization-for-industrial-use-cases/)._
Copy file name to clipboardExpand all lines: docs/contributing/contrib.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
## Commits & Commit Messages
2
+
3
+
Here are a few important guidelines w.r.t to `git` and GitHub:
4
+
5
+
1. Push your work in a separate branch and create a PR when ready. PRs are always *squashed* so you can push as many corrections as you want to a PR.
6
+
7
+
2. Strive for [clear and short commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). At a minimum, start with an 80-character summary, with verbs in present tense.
8
+
9
+
3. Add the `--signoff` or `-s` flag to `git commit`. This flag is intended to certify that you have created the patch in question, or that you certify that to the best of your knowledge, it was created under an appropriate open-source license, or that it has been provided to you by someone else under those terms.
10
+
11
+
> To admins: You can always add `Signed-off-by: Name <email>` when squashing commits.
12
+
13
+
1
14
## PaSh on Docker: A Pocket Guide
2
15
3
16
This is a pocket guide for running PaSh in a docker container.
@@ -109,7 +122,7 @@ Restart-Computer
109
122
Run the `wsl` command (or find the installed Linux distribution in Windows Start menu and run it).
110
123
After a few minutes of installation, enter a username and password for the internal WSL account to be created.
111
124
112
-
Continue the PaSh installation process from [here](https://github.com/binpash/pash/blob/main/docs/tutorial.md#installation) inside the WSL installation.
125
+
Continue the PaSh installation process from [here](https://github.com/binpash/pash/blob/main/docs/tutorial/tutorial.md#installation) inside the WSL installation.
(You can use `rebase` instead of `merge` if your branch is local and hasn't been pushed to GitHub, but `merge` if your branch is already pushed.)
155
168
156
-
## Commit Messages
157
-
158
-
It's important to write [clear commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
159
-
At a minimum, a short single-line summary at the top with verbs in present tense:-)
160
-
161
169
## Process for Using EC2 Instance
162
170
163
171
A reason to use Amazon Elastic Compute Cloud (EC2) is having insufficient computing power in your local machine. The steps to do are as follows. The generated key is of the form user@hostname.
As noted at the end of `setup-pash.sh`, make sure you set `PASH_TOP` pointing to the absolute path of the directory `pa.sh` resides (you can optionally place that in your `PATH`).
44
+
45
+
### Docker Setup
46
+
47
+
If Docker [is available](https://docs.docker.com/get-docker/), PaSh can be used as part of a Docker container.
48
+
Depending on the setup, PaSh running on Docker may or may not be able to exploit all available hardware resources.
49
+
There are two main options for setting up PaSh on Docker:
50
+
51
+
_Pull from DockerHub (Major Releases):_
52
+
To `pull` the docker image [from Docker Hub](https://hub.docker.com/r/binpash/pash), run:
53
+
```sh
54
+
docker pull binpash/pash
55
+
```
56
+
We refresh this image (as well as other images) on every major release.
57
+
58
+
[//]: #"TODO(@nvasilakis, @dkarnikis): Need to automate this per release."
59
+
60
+
_Build Image (Latest Commit):_
61
+
To build the latest Docker container, run `docker build` in [scripts/docker](https://github.com/binpash/pash/tree/main/scripts/docker):
0 commit comments