You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Github issues SHOULD ONLY BE USED to report bugs, and for DETAILED feature requests. Everything else belongs to the Jedis Google Group.
3
+
* Github issues SHOULD BE USED to report bugs and for DETAILED feature requests. Everything else belongs in the [Jedis Google Group](https://groups.google.com/g/jedis_redis) or [Jedis Github Discussions](https://github.com/redis/jedis/discussions).
Please post general questions to Google Groups or Github discussions. These can be closed without response when posted to Github issues.
8
6
9
-
Please post General questions to Google Group. It can be closed without answer when posted to Github issue.
7
+
# How to contribute by Pull Request
8
+
9
+
1. Fork Jedis repo on github ([how to fork a repo](https://docs.github.com/en/get-started/quickstart/fork-a-repo))
10
+
2. Create a topic branch (`git checkout -b my_branch`)
11
+
3. Push to your remote branch (`git push origin my_branch`)
12
+
4. Create a pull request on github ([how to create a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request))
13
+
14
+
Create a branch with meaningful name, and do not modify the master branch directly.
15
+
16
+
Please add unit tests to validate your changes work, then ensure your changes pass all unit tests.
17
+
18
+
# Jedis Test Environment
19
+
20
+
Jedis unit tests run with the latest [Redis unstable branch](https://github.com/redis/redis/tree/unstable).
21
+
Please let them prepared and installed.
22
+
23
+
Jedis unit tests use many Redis instances, so we use a ```Makefile``` to prepare environment.
24
+
25
+
Start unit tests with ```make test```.
26
+
Set up test environments with ```make start```, tear down those environments with ```make stop``` and clean up the environment files with ```make cleanup```.
10
27
11
28
# Some rules of Jedis source code
12
29
13
30
## Code Convention
14
31
15
-
* Jedis uses ```HBase Formatter``` introduced by [HBASE-5961](https://issues.apache.org/jira/browse/HBASE-5961)
32
+
* Jedis uses HBase Formatter introduced by [HBASE-5961](https://issues.apache.org/jira/browse/HBASE-5961)
16
33
* You can import code style file (located to hbase-formatter.xml) to Eclipse, IntelliJ
17
34
* line break by column count seems not working with IntelliJ
18
35
* You can run ```make format``` anytime to reformat without IDEs
@@ -30,27 +47,4 @@ Please post General questions to Google Group. It can be closed without answer w
30
47
* Caution: use String.toBytes() directly will break GBK support!
1. Fork Jedis on github (https://help.github.com/articles/fork-a-repo/)
36
-
2. Create a topic branch (git checkout -b my_branch)
37
-
3. Push to your branch (git push origin my_branch)
38
-
4. Post a pull request on github (https://help.github.com/articles/creating-a-pull-request/)
39
-
40
-
I recommend you to create branch with meaningful name, not modifying master branch directly.
41
-
42
-
Please add unit tests in order to prove your modification works smoothly. And please make sure your modification passes all unit tests.
43
-
44
-
# Jedis Test Environment
45
-
46
-
Jedis unit tests run with latest [```Redis unstable branch```](https://github.com/antirez/redis).
47
-
Please let them prepared and installed.
48
-
49
-
Jedis unit tests use many Redis instances, so we use ```Makefile``` to prepare environment.
50
-
51
-
You can start test with ```make test```.
52
-
You can set up test environments by ```make start```, and tear down environments by ```make stop```.
53
-
54
-
If one or some of unit tests in current master branch of Jedis fails with Redis unstable branch, please post it to Github issue, and go ahead with other unit tests at your work.
Copy file name to clipboardExpand all lines: README.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,14 @@
13
13
14
14
Jedis is a Java client for [Redis](https://github.com/redis/redis"Redis") designed for performance and ease of use.
15
15
16
+
## Contributing
17
+
18
+
We'd love your contributions!
19
+
20
+
**Bug reports** are always welcome! [You can open a bug report on GitHub](https://github.com/redis/jedis/issues/new).
21
+
22
+
You can also **contribute documentation** -- or anything to improve Jedis. Please see [contribution guideline](https://github.com/redis/jedis/blob/master/.github/CONTRIBUTING.md) for more details.
23
+
16
24
## Getting started
17
25
18
26
To get started with Jedis, first add it as a dependency in your Java project. If you're using Maven, that looks like this:
@@ -94,19 +102,10 @@ Hit us up on the [Redis Discord Server](http://discord.gg/redis) or [open an iss
94
102
95
103
You can also find help on the [Jedis mailing list](http://groups.google.com/group/jedis_redis) or the [GitHub Discussions](https://github.com/redis/jedis/discussions).
96
104
97
-
## Contributing
98
-
99
-
We'd love your contributions!
100
-
101
-
**Bug reports** are always welcome! [You can open a bug report on GitHub](https://github.com/redis/jedis/issues/new).
102
-
103
-
You can also **contribute documentation** -- or anything to improve Jedis. Please see [CONTRIBUTING.md](https://github.com/redis/jedis/blob/master/.github/CONTRIBUTING.md) for more details.
104
-
105
105
## License
106
106
107
107
Jedis is licensed under the [MIT license](https://github.com/redis/jedis/blob/master/LICENSE.txt).
0 commit comments