File: CONTRIBUTING.md

package info (click to toggle)
gr-framework 0.73.22%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,476 kB
  • sloc: ansic: 87,950; cpp: 58,388; objc: 3,057; javascript: 2,647; python: 1,000; yacc: 855; pascal: 554; sh: 281; fortran: 228; makefile: 174
file content (39 lines) | stat: -rw-r--r-- 3,570 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributing to GR

*GR* is open source and contributions by different users will help to make it as useful as possible. Thank you for considering contributing to GR!

## Reporting Issues

- If you encounter any issues using *GR*, please open an issue on GitHub.
  - If the issue is with the *GR* runtime or the C library, [open an issue in this repo](https://github.com/sciapp/gr/issues/new)
  - If the issue is with a language binding, open an issue in the corresponding repo ([Python](https://github.com/sciapp/python-gr/issues/new), [Julia](https://github.com/jheinen/GR.jl/issues/new), [Ruby](https://github.com/red-data-tools/GR.rb/issues/new)).
  - If the issue is with a package that uses *GR* internally, such as the Julia package *Plots*, instead of *GR* itself, please report the issue to the developers of that package.
- Describe the situation to help us reproduce it. This might include providing a [minimal working example](https://stackoverflow.com/help/minimal-reproducible-example).
- Describe what you expected to happen.
- Describe what actually happened. Please include logs, screenshots or screen recordings to help us understand the issue.
- List the version of *GR* you are using:
  - *Python*: `print(gr.version())`
  - *Julia*: `GR.version()`
  - *C*: `puts(gr_version());`
- If possible, try to reproduce your issue using the current `develop` branch of both the *GR* runtime and the language binding, if any.

## Submitting Feature Requests

- We strive to improve *GR*, so if you would like to request a new feature, please open an issue on GitHub and label it as *enhancement*.
  - If the feature is for the *GR* runtime or the C library, [open an issue in this repo](https://github.com/sciapp/gr/issues/new)
  - If the feature is for a language binding, open an issue in the corresponding repo ([Python](https://github.com/sciapp/python-gr/issues/new), [Julia](https://github.com/jheinen/GR.jl/issues/new), [Ruby](https://github.com/red-data-tools/GR.rb/issues/new)).
  - If the feature is for a package that uses *GR* internally, such as the Julia package *Plots*, instead of *GR* itself, please contact the developers of that package.
- Describe the desired behavior and your use cases for it.
- If you would like to see a feature implemented faster, perhaps consider implementing it and submitting the changes as a pull request (see below).

## Building the *GR* Runtime

- If you want to build the *GR* runtime yourself during development, see the [*GR* documentation](https://gr-framework.org/building.html).

## Submitting Changes

- This repository contains the *GR* runtime. If you wish to submit a change to a language binding, please see the corresponding repository ([Python](https://github.com/sciapp/python-gr/), [Julia](https://github.com/jheinen/GR.jl/), [Ruby](https://github.com/red-data-tools/GR.rb/))
- We aim to support a wide variety of use cases. Please keep this in mind and prefer generic solutions to specialized ones.
- Adhere to the code style. You can use `clang-format` and `cmake-format` to apply the code style to individual files, or set up a [pre-commit githook](https://github.com/sciapp/gr/blob/develop/.githooks/pre-commit) by running `git config core.hooksPath .githooks/` in the root directory of your GR clone.
- Once you are done, push your changes to your fork of *GR* and open up a [pull request](https://github.com/sciapp/gr/compare).
- If you introduce a new feature or change existing functionality, please document it in the [*GR* documentation](https://github.com/sciapp/gr-documentation).