Skip to content

Commit 6654e4e

Browse files
committed
contributing: Intitial commit, based on Pantheon 2 repo contribution guidelines.
1 parent 22e2a56 commit 6654e4e

File tree

1 file changed

+17
-35
lines changed

1 file changed

+17
-35
lines changed

README.md

Lines changed: 17 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
1-
# publishing-tutorial-sample-repo
1+
# Publishing tutorial sample repo
22
A sample repo to be used in conjunction with the tutorial "Getting started publishing with Pantheon 2"
33

4-
[![Build Status](https://travis-ci.org/redhataccess/pantheon.png)](https://travis-ci.org/redhataccess/pantheon)
5-
[![Code Coverage](https://codecov.io/gh/redhataccess/pantheon/branch/master/graph/badge.svg)](https://codecov.io/github/redhataccess/pantheon?branch=master)
6-
7-
Pantheon 2 is a modular documentation management and publication system based on asciidoc
8-
and built on top of Apache sling.
9-
* [Contributing to Pantheon](#contributing-to-pantheon)
10-
* [Installing Pantheon](#installing-pantheon)
11-
* [Prerequisites](#prerequisites)
12-
* [Environment Variables](#environment-variables)
13-
* [Building the application](#building-the-application)
14-
* [Unit tests](#unit-tests)
15-
* [Running the application](#running-the-application)
16-
* [Live deploy of code](#live-deploy-of-code)
17-
* [Using the application](#using-the-application)
18-
* [Other use cases](#other-use-cases)
19-
* [Developing the frontend code](#developing-the-frontend-code)
20-
* [End user documentation](#end-user-documentation)
4+
* [Contributing to this repo](#contributing-to-pantheon)
215

226
## Contributing to Pantheon
237

24-
### Filing a bug for Pantheon 2 end-user documentation
8+
### Filing a bug
259

26-
If you have any suggestions to improve or extend the end-user documentation, create a new issue and tag @pantheon-doc-authors.
10+
If you have any suggestions to improve or extend this repo, add a new issue to the repo.
2711

2812
### Prerequisites
2913

@@ -38,45 +22,44 @@ If you have any suggestions to improve or extend the end-user documentation, cre
3822

3923
Fork the repository so that you can create and work with branches independently of the `redhataccess/pantheon` repository.
4024

41-
1. In a web browser, navigate to https://github.com/redhataccess/pantheon
25+
1. In a web browser, navigate to https://github.com/redhat-documentation/publishing-tutorial-sample-repo
4226
1. Click **Fork**.
4327
1. Click your user space in GitHub.
4428

4529
### Cloning the repository
4630

47-
After you have forked the repository, you must clone it to your local machine and add the original `redhataccess/pantheon` repository as an upstream remote.
31+
After you have forked the repository, you must clone it to your local machine and add the original `redhat-documentation/publishing-tutorial-sample-repo` repository as an upstream remote.
4832

4933
1. From a terminal, clone the repository:
5034

5135
```sh
52-
$ git clone [email protected]:<user-space>/pantheon.git
36+
$ git clone [email protected]:<user-space>/publishing-tutorial-sample-repo.git
5337
```
54-
1. Set up `redhataccess/pantheon` as the upstream:
38+
1. Set up `redhat-documentation/publishing-tutorial-sample-repo` as the upstream:
5539

5640
```sh
57-
$ cd pantheon
58-
$ git remote add upstream [email protected]:redhataccess/pantheon.git
41+
$ cd publishing-tutorial-sample-repo
42+
$ git remote add upstream [email protected]:redhat-documentation/publishing-tutorial-sample-repo.git
5943
```
6044

6145
### Creating a working branch
6246

63-
Whenever you work on a new issue, you must create a new working branch based on the latest version of the upstream master branch.
47+
Pull requests should have a corresponing issue in the repo. Whenever you work on a new issue, you must create a new working branch based on the latest version of the upstream main branch.
6448

65-
1. Ensure you are on master
49+
1. Ensure you are on main
6650

6751
```sh
68-
$ git checkout master
52+
$ git checkout main
6953
```
7054
1. Ensure your fork is up to date
7155

7256
```sh
73-
$ git pull upstream master
57+
$ git pull upstream main
7458
```
75-
1. Create a working branch based on the issue in JIRA. For example:
76-
59+
1. Create a working branch based on the issue ID. For example:
7760

7861
```sh
79-
$ git checkout -b FCCEUD-<ID#>
62+
$ git checkout -b 02
8063
```
8164

8265
### Creating a pull request and completing review
@@ -90,12 +73,11 @@ When your work is ready to be reviewed and merged, create a pull request.
9073
```
9174
1. From the repository page in GitHub, click **New pull request**.
9275
1. Select your working branch from the compare list.
93-
1. Add `WIP:` to the title of the pull request. This automatically converts the pull request to a draft pull request.
76+
1. Add `WIP:` to the title of the pull request. This automatically converts the pull request to a draft pull request, preventing it from being merged.
9477
1. Click **Create new pull request**.
9578
1. Add the **awaiting tech review** label to the pull request.
9679
1. In the pull request comment field, enter `@redhataccess/eud-tech-review Please review for technical completeness and accuracy`.
9780

98-
9981
### The review process
10082

10183
Both the technical review and peer review processes take place in pull requests in GitHub.

0 commit comments

Comments
 (0)