-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a CONTRIBUTING.md #30
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
45082b3
Add a CONTRIBUTING based on UCL-ARC/python-tooling.
samcunliffe db49984
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2ab2120
Attempt to fix callout.
samcunliffe c338f1d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8e53255
Workaround prettier/prettier/#15479
samcunliffe 6b0cf7e
I can English such goodly.
samcunliffe 147b162
Adjust `prettier` ignore
paddyroddy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Contributing Guide | ||
|
||
This repository is a collection of best practices and coding standards. It has been made by [research | ||
software engineers] at [UCL's Centre for Advanced Research Computing][UCL ARC]. Some of it is from our internal | ||
documentation and recommendations pulled out and made public. The content is stored in [GitHub flavoured markdown], and | ||
is rendered as a live [webpage]. | ||
|
||
Any changes should be reviewed by a member or associate member of ARC. If the additions are taken from ARC's internal | ||
documentation, **please add the original author** as a reviewer to check that they're OK with their content being made | ||
public under a CC-by-4.0 license. If something seems like it's broken, please go ahead and [open an issue]! | ||
|
||
<!-- prettier-ignore --> | ||
> [!NOTE] | ||
> We're open for contributions from anyone but it's the UCL ARC recommended best-practices, so ulitmately it | ||
> belongs to the software teams at ARC and we may not adopt suggestions from outside (sorry!). | ||
|
||
## Development workflow | ||
|
||
To contribute a change, please: | ||
|
||
1. Create a new branch (or fork if you're not in [@UCL-ARC/collaborations]). | ||
2. Modify an existing page, or create a new one. a. Run [pre-commit] which will lint your changes. | ||
3. Open a _pull request_ (PR) with changes. | ||
4. Ask someone who did not contribute to the PR from [@UCL-ARC/collaborations] to review it. | ||
5. If approved with no comments, then the last approving reviewer should merge the PR. | ||
6. If changes are requested, the PR author should address the comments, and then ask for review again. | ||
|
||
<!-- links here --> | ||
|
||
[GitHub flavoured markdown]: | ||
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax | ||
Comment on lines
+30
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is valid syntax, so no need to ignore There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! |
||
[webpage]: http://github-pages.arc.ucl.ac.uk/coding-standards/ | ||
[UCL ARC]: https://ucl.ac.uk/arc | ||
[open an issue]: https://github.com/UCL-ARC/coding-standards/issues/new/choose | ||
[Research software engineers]: https://society-rse.org/about/history | ||
[pre-commit]: https://pre-commit.com | ||
[@UCL-ARC/collaborations]: https://github.com/orgs/UCL-ARC/teams/collaborations |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will mean only the
[!NOTE]
is not formatted. The rest will be (which is the bit that isn't broken).