Skip to content

Commit ff53130

Browse files
authored
Merge pull request #30 from MetOffice/revert-29-develop
Revert "Merge v1.0 Develop into Master"
2 parents 09b0b7c + 01136e9 commit ff53130

30 files changed

+6024
-5108
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
.ipynb_checkpoints/
21
notebooks/.ipynb_checkpoints/
3-
/data/stash_select
42
*.pyc

CONTRIBUTING.ipynb

Lines changed: 0 additions & 253 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 14 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,29 @@
11
# Contributing Guidelines
22

3-
You'd like to help? Great! :tada:
4-
5-
[Clone your own local copy](https://help.github.com/en/articles/cloning-a-repository) of this repositry run the following in your terminal:
6-
7-
```shell
8-
git clone [email protected]:MetOffice/PyPRECIS.git
9-
```
10-
11-
Consider [creating a conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) from the PyPRECIS dependencies specified in the `environment.yml` file:
12-
```shell
13-
conda env create -f environment.yml
14-
```
15-
Remember to activate your new environment:
16-
```shell
17-
conda activate pyprecis-environment
18-
```
19-
20-
:exclamation: *Note: As of v1.0 we are unable to provison the model data necessary for reproducing the full PyPRECIS learning environment via github due to it's substanation size. Contact the PRECIS team for more information.*
21-
22-
## Before you start...
23-
Read through the current issues to see what you can help with. If you have your own ideas for improvements, please start a new issues so we can track and discuss your improvement. You must create a new branch for any changes you make.
24-
25-
**Please take note of the following guidelines when contributing to the PyPRECIS repository.**
26-
27-
* Please do **not** make changes to the `master` branch. The `master` branch is reserved for files and code that has been fully tested and reviewed. Only the core PyPRECIS developers can/should push to the `master` branch.
3+
Please take note of the following guidelines when contributing to the PyPRECIS repository:
284

5+
* Please do **not** make changes to the `master` branch. The `master` branch is reserved for files and code that has been fully tested and reviewed. If you think something is ready to be pushed to the `master` branch please check with Saeed or Hamish first.
296
* The `develop` branch contains the latest holistic version of the `PyPRECIS` repository. Please branch off `develop` to fix a particular issue or add a new feature.
307
* Please use the following tokens at the start of a new branch name to help sign-post and group branches:
31-
32-
Name | Description
33-
---- | -----------
34-
new | Branch adding new code/files that don't exist in the repo
35-
fix | Branch modifying code/files that already exist in the repo.
36-
junk | Throwaway branch created to experiment
37-
38-
* Git can pattern match branches to to give you an overview of all (e.g. fix) branches:
39-
```shell
8+
```
9+
new Branch adding new code/files that don't exist in the repo.
10+
fix Branch modifying code/files that already exist in the repo.
11+
junk Throwaway branch created to experiment
12+
```
13+
Git can pattern match branches to to give you an overview of all (e.g. fix) branches:
14+
```
4015
git branch --list "fix/*"
4116
```
4217
* Use a forward slash to separate the token from the branch name. For example:
4318
```
44-
new/Wks10
45-
fix/Wks2_units
19+
new/Worksheet5
20+
fix/worksheet2aUnits
4621
```
47-
* When you think your branch is ready to be merged into `develop`, open a new pull request.
48-
49-
## Signposting
50-
* **Issues** are tracked and discussed under the Issues tab. Please use issues to disucss proposed changes or capture improvements needed to work towards the next milestone. Issues or improvements that contribute to the next milestone to be captured in thr Wiki tab.
51-
* **Pull requests** show branches that are currently under review. New pull requests are created in reponse to branch fixes identified and recorded in the Issues tab.
52-
* **Wiki** is used for summarising update aims for future versions of the notebooks, and to record speculative improvements that cannot be action in the current milestone.
53-
54-
5522

5623
Other more general points to note:
5724

58-
* **Avoid long descriptive names.** Long branch names can be very helpful when you are looking at a list of branches but it can get in the way when looking at decorated one-line logs as the branch names can eat up most of the single line and abbreviate the visible part of the log.
25+
* **Avoid long descriptive names.** Long branch names can be very helpful when you are looking at a list of branches. But it can get in the way when looking at decorated one-line logs as the branch names can eat up most of the single line and abbreviate the visible part of the log.
5926
* **Do not use bare numbers.** Do not use use bare numbers (or hex numbers) as part of your branch naming scheme.
6027

61-
## CONTRIBUTING.ipynb
62-
The `CONTRIBUTING.ipyn` file contains the worksheet style guide. Please consult this for information on formatting the new and ammended worksheets in a consistent style.
63-
64-
**If in doubt, please contact the PRECIS team ([email protected]) if you
65-
have questions.**
66-
67-
<h5 align="center">
68-
<img src="notebooks/img/MO_MASTER_black_mono_for_light_backg_RBG.png" width="200" alt="Met Office"> <br>
69-
&copy; British Crown Copyright 2018 - 2019, Met Office
70-
</h5>
28+
**If in doubt, please contact Saeed Sadri ([email protected]) or Hamish Steptoe ([email protected]) if you
29+
have questions**

0 commit comments

Comments
 (0)