Diff of /CONTRIBUTING.md [000000] .. [36b44b]

Switch to unified view

a b/CONTRIBUTING.md
1
Contribute
2
==========
3
4
Being an open source project, TorchDrug welcomes all kinds of contribution to keep it growing and thriving. Everyone can contribute, and we value every contribution.
5
6
It is also an incentive to the developers if you can acknowledge TorchDrug whenever it helps you. You can refer the library in your blog or papers, or star the repository to say "thank you".
7
8
Typical Contributions
9
---------------------
10
11
Here are some typical contributions you can make. All of them are equally important to the project.
12
13
- New features
14
- Datasets and models
15
- Application solutions
16
- Documents and tutorials
17
- Bug fixes
18
19
Implementation is not always required. You can also write proposals and discuss them with the community.
20
21
If you are a new open source contributor, we recommend you to take a look at these [guidelines].
22
23
[guidelines]: http://www.contribution-guide.org/
24
25
Submit an Issue
26
---------------
27
28
In the following cases, you are encouraged to [submit an issue] on GitHub.
29
30
[submit an issue]: https://github.com/DeepGraphLearning/torchdrug/issues
31
32
- Issues or bug reports
33
- Feature requests
34
35
We strongly recommend you to search the issue board before you submit any new issue. Sometimes the same issue may have been solved and you can find the solution in a closed issue.
36
37
Be as concrete as possible. For issues or bug reports, this means you are supposed to include all relevant information, such as code snippets, logs and package versions. For feature requests, please clearly describe the motivation, and possible scenarios for the feature.
38
39
It is not recommended to ask open-ended questions, such as a research problem on GitHub. Please post them in [TorchDrug Google Group].
40
41
[TorchDrug Google Group]: https://github.com/DeepGraphLearning/torchdrug/
42
43
Make a pull request
44
-------------------
45
46
You can contribute code to the project through pull requests. To make a pull request, you need
47
48
- [Fork the TorchDrug repository]
49
- Clone it to your local computer
50
- Implement your code and test it
51
- Push it to your GitHub repository
52
- [Create a pull request] in TorchDrug
53
54
[Fork the TorchDrug repository]: https://github.com/DeepGraphLearning/torchdrug/fork
55
[Create a pull request]: https://github.com/DeepGraphLearning/torchdrug/pulls
56
57
If your forked repository is behind the latest version, you can create a pull request in your repository to pull the latest version from TorchDrug.
58
59
You can directly make a pull request for trivial changes. For non-trivial changes, it is better to discuss it in an issue before you implement the code.
60
61
Code Development
62
----------------
63
64
Here are a few steps you need to develop TorchDrug.
65
66
First, uninstall existing TorchDrug in your environment. Alternatively, you can switch to a new conda environment.
67
68
```bash
69
conda uninstall torchdrug
70
```
71
72
Clone the repository and setup it in `develop` mode.
73
74
```bash
75
git clone https://github.com/DeepGraphLearning/torchdrug/
76
cd torchdrug
77
python setup.py develop
78
```
79
80
Now any change in the local code base will be reflected in the code importing them.