Skip to content
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

[pull] master from lettuce-io:master #1

Open
wants to merge 808 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
808 commits
Select commit Hold shift + click to select a range
ce632ff
Add shutdown logging to client, ClientResources, and EventLoopGroupPr…
mp911de Nov 12, 2018
600a923
Add flag to disable reporting of span tags #920
worldtiki Nov 15, 2018
83ffcae
Polishing #920
mp911de Nov 19, 2018
7f0c98a
Add support for XGROUP CREATE … MKSTREAM #898
mp911de Nov 19, 2018
5f27184
Polishing #898
mp911de Nov 19, 2018
ed8f349
Consider named/indexed parameters in DefaultCommandMethodVerifier #925
mp911de Nov 23, 2018
4f026e6
Allow configuration of discardReadBytes through ClientOptions.bufferU…
gavincook Nov 8, 2018
70d82c0
Polishing #906
mp911de Nov 23, 2018
c705fd4
Guard ToByteBufEncoder calls with try/finally #930
mp911de Nov 24, 2018
91e7675
Use Cluster write connections for read commands when using ReadFrom.M…
mp911de Nov 24, 2018
c99549b
Emit event on reconnect failure #885
mp911de Nov 24, 2018
523e036
Upgrade to Reactor Core 3.2.3.RELEASE #931
mp911de Nov 24, 2018
e50d95c
Upgrade to netty 4.1.31.Final #932
mp911de Nov 24, 2018
9d0c832
Upgrade to RxJava 2.2.4 #933
mp911de Nov 24, 2018
af7ece9
Polishing
mp911de Nov 24, 2018
f651039
Fix RedisTransactionalCommands.exec(…) Javadoc #942
mp911de Dec 3, 2018
1dc93bb
Upgrade to Maven Javadoc Plugin 3.0.2 snapshot #942
mp911de Dec 3, 2018
8664452
Allow usage of publishOn scheduler for reactive signal emission #905
mp911de Dec 3, 2018
c98108d
Extend year range to 2019 in license headers #950
mp911de Jan 1, 2019
98821f5
Fix Pub/Sub decoding of chunked out of band responses #936
mp911de Dec 19, 2018
337b017
Add adaptive refresh trigger for uncovered slots #672
mp911de Jan 2, 2019
4d62d49
Introduce adaptive trigger event #952
mp911de Jan 2, 2019
3c7050e
Add support for MEMORY USAGE command #853
zhangjessey Sep 26, 2018
657ed8a
Polishing #853
mp911de Jan 2, 2019
bdf304b
Add support for order-insensitive ReadFrom #834
mp911de Jan 2, 2019
561a535
Move ConcurrentHashMap.newKeySet() instead of Netty's ConcurrentSet #961
mp911de Jan 11, 2019
cda462a
Streamline communication sections in readme, issue templates and cont…
mp911de Jan 12, 2019
2d9067c
Rename ReadFrom.SLAVE… to ReadFrom.REPLICA…, add MasterReplica packag…
mp911de Jan 18, 2019
12d8a3f
Use replica terminology in variable names and tests #845
mp911de Jan 18, 2019
d6cab2d
Upgrade to stunnel 5.50 #968
mp911de Jan 18, 2019
9cb5082
Fix typo in log message #970
twz123 Jan 22, 2019
83a5afc
Fix snapshot version #843
mp911de Jan 28, 2019
61f2ea3
Do not require CLIENT LIST in cluster topology refresh #973
mp911de Jan 28, 2019
e9fc0a3
Update readme to reflect the current reactive API #974
pine Feb 6, 2019
3440628
Upgrade to Maven Javadoc Plugin 3.1.0-SNAPSHOT #942
mp911de Feb 7, 2019
52ee0dc
Align replica wording in Redis Cluster components #845
mp911de Feb 7, 2019
57b02bf
Upgrade to netty 4.1.33.Final #976
mp911de Feb 12, 2019
63eff29
Upgrade to Reactor 3.2.6.RELEASE #975
mp911de Feb 12, 2019
6eaf023
Upgrade to HdrHistogram 2.1.11 #978
mp911de Feb 12, 2019
589a799
Upgrade to RxJava 2.2.6 #979
mp911de Feb 12, 2019
171e2b9
Use JUnit BOM for dependency management and upgrade to JUnit 5.4.0 #980
mp911de Feb 12, 2019
dc93ebf
Use logj42 BOM for dependency management and upgrade to 2.11.2 #981
mp911de Feb 12, 2019
3588c9b
Polishing
mp911de Feb 12, 2019
b1cb5a3
Upgrade to AssertJ 3.12.0 #983
mp911de Feb 15, 2019
3ba2d7e
Fix out of order signals when published on another executor #986
trueinsider Feb 27, 2019
f6b1edc
Polishing #986
mp911de Feb 27, 2019
0beab1f
Cancel ClusterTopologyRefreshTask in RedisClusterClient.shutdownAsync…
mp911de Mar 6, 2019
2311123
Upgrade to AssertJ 3.12.1 #991
mp911de Mar 6, 2019
20d87ca
Upgrade to Maven Javadoc Plugin 3.1.0 #942
mp911de Mar 6, 2019
5141b8c
Return AsyncCommand object in AsyncExecutableCommand execution #994
mp911de Mar 10, 2019
30cfd1d
Synchronize ClientResources shutdown with channel close completion #998
Poorva17 Mar 12, 2019
f677da6
Polishing #998
mp911de Mar 14, 2019
5d979d6
Guard Pub/Sub callbacks against exceptions #997
mp911de Mar 14, 2019
89054be
Add CipherCodec #934
mp911de Nov 24, 2018
8e21d2e
Add support for Redis Sentinel authentication #1002
mp911de Mar 15, 2019
ee53b43
Fix buffer underrun when re-using pooled buffers #934
mp911de Mar 15, 2019
060f1ba
Improve mutators for ClientOptions, ClusterClientOptions, and ClientR…
mp911de Mar 21, 2019
25d0669
Upgrade to Reactor Core 3.2.8.RELEASE #1006
mp911de Mar 26, 2019
96995a9
Use GitHub labels in issues
mp911de Apr 11, 2019
f2ef90c
Use slots.equals(…) comparison in RedisClusterNode #1011
alessandrosimi-sa Apr 10, 2019
8b58469
Polishing #1011
mp911de Apr 11, 2019
212b8d2
Use GitHub labels in issues
mp911de Apr 18, 2019
30a1667
Upgrade to netty 4.1.35.Final #1017
mp911de Apr 18, 2019
a44973e
Update README.md
mp911de Apr 18, 2019
db3fe7d
Update README.md
mp911de Apr 18, 2019
b6de74e
Deprecate ClientOptions.pingBeforeActivateConnection(…) #965
mp911de Apr 18, 2019
be1b933
Migrate off TopicProcessor to EmitterProcessor #1032
mp911de May 12, 2019
0827ec0
Upgrade to Brave 5.6.3 #1031
mp911de May 12, 2019
e7c997f
Upgrade to Netty 4.1.36.Final #1033
mp911de May 12, 2019
2260ecc
Upgrade to JUnit 5.4.2 #1034
mp911de May 12, 2019
4f3c88e
Upgrade to Mockito 2.27.0 #1035
mp911de May 12, 2019
edee8b3
Upgrade to RxJava 2.2.8 #1036
mp911de May 12, 2019
c6ec062
Upgrade build plugin dependencies #1037
mp911de May 12, 2019
7f74a4d
Polishing #1032
mp911de May 12, 2019
916688c
Attach topology retrieval exceptions when Lettuce cannot retrieve a t…
mp911de May 19, 2019
e65ca76
Add support for XINFO #996
mp911de May 19, 2019
024facb
Polishing #1037
mp911de May 19, 2019
e2a567f
Fix missing "the" in RedisURI Javadoc #1049
perlun Jun 4, 2019
d7dd340
Fixed link in documentation #1050
Jun 5, 2019
83cec69
Upgrade TravisCI build to Xenial/Java 11 #1056
mp911de Jun 9, 2019
91b7752
Upgrade to jsr305 3.0.2 #1055
mp911de Jun 9, 2019
2005e40
Upgrade to RxJava 2.2.9 #1054
mp911de Jun 9, 2019
0b6d6d8
Support TLS connections in Sentinel mode #1048
mp911de Jun 15, 2019
ef7fd86
Update SSL settings for Java 11-based build #1062
mp911de Jun 15, 2019
5c91bae
Upgrade to OpenWebBeans 2.0.11 #1062
mp911de Jun 15, 2019
6b0752b
Reduce object allocations for assertions #1068
mp911de Jun 26, 2019
135b330
Reduce object allocations in ClusterTopologyParsing #1069
mp911de Jun 26, 2019
096be50
Unwrap RedisReactiveCommands prior to Reactive API usage #1075
mp911de Jul 6, 2019
a5e2405
Simplify Redis…CommandsImpl to accept connection interfaces #1077
mp911de Jul 8, 2019
86922f0
Use DirectProcessor in EventBus #1086
mp911de Jul 29, 2019
8691f98
Fix RedisClusterNode slot comparison #1089
mp911de Jul 29, 2019
be00283
Polishing #1089
mp911de Jul 29, 2019
6f770db
Upgrade to netty 4.1.38.Final #1093
mp911de Jul 30, 2019
c892b97
Upgrade to Mockito 3.0 #1095
mp911de Jul 30, 2019
3c5cfa5
Upgrade to Reactor Core 3.2.11.RELEASE #1094
mp911de Jul 30, 2019
c02334c
Upgrade to JUnit 5.5.1 #1096
mp911de Jul 30, 2019
744598e
Upgrade to Brave 5.6.9 #1097
mp911de Jul 30, 2019
6b5861a
Update plugin versions #1098
mp911de Jul 30, 2019
cb4acba
Polishing #1098
mp911de Jul 30, 2019
59fde44
Upgrade to Commons Pool 2.7.0 #1099
mp911de Jul 30, 2019
ce8553d
Polishing #1100
mp911de Jul 30, 2019
f2bf7b8
Made ListSubscriber public #1103
jruaux Aug 7, 2019
294b378
Polishing #1103
mp911de Aug 7, 2019
10bbfd9
Implement codec adapter #1122
dmandalidis Sep 14, 2019
2c2615a
Polishing #1122
mp911de Sep 19, 2019
c9df563
Use INFO CLIENTS for connected clients discovery in Redis Cluster #1126
Sep 18, 2019
ddfd84e
Polishing #1126
mp911de Sep 25, 2019
d1980bd
Remove duplicated ConnectionWatchdog #1132
Sep 23, 2019
f696bf0
Consider connect timeout in topology refresh in connect phase #1119
mp911de Sep 25, 2019
98e88ad
Upgrade to Reactor Core 3.3 #1030
mp911de Sep 25, 2019
41425ed
Upgrade to netty 4.1.42.Final #1131
mp911de Sep 25, 2019
ecf1cf6
Add default manifest entries and automatic module name #1135
mp911de Sep 25, 2019
1614b8e
Upgrade to Brave 5.7.0 #1136
mp911de Sep 26, 2019
b027811
Dependency upgrades #1136
mp911de Sep 26, 2019
c3c1020
Update changelog #1138
mp911de Sep 26, 2019
d4dc71a
Deprecate Utf8StringCodec in favor or StringCodec.UTF8 #1137
mp911de Sep 26, 2019
b50f98a
Polishing #1138
mp911de Sep 26, 2019
55ebef8
[maven-release-plugin] prepare release 5.2.0.RELEASE
mp911de Sep 26, 2019
2b572a3
[maven-release-plugin] prepare for next development iteration
mp911de Sep 26, 2019
68f4201
Polishing
mp911de Oct 16, 2019
45138d7
Simplify the condition to invoke resolveCodec method in AnnotationRed…
machi1990 Oct 15, 2019
edcc5a9
Polishing #1149
mp911de Oct 16, 2019
42490c2
Elevate visibility of ReadFrom.isOrderSensitive() to protected #1145
mp911de Oct 16, 2019
5d00a3d
Consider ReadFrom.isOrderSensitive() in cluster scan command #1146
mp911de Oct 16, 2019
4bbf9da
Prefer drain-loop instead of recursion in RedisSubscription #1140
mp911de Oct 25, 2019
9563067
Polishing #1140
mp911de Oct 25, 2019
476fe3b
Improve error logging for unreachable nodes #1152
mp911de Oct 25, 2019
7890d3b
Render Redis.toString() to a Redis URI #1040
mp911de Oct 27, 2019
606a6c0
Encode database in RedisURI in path when possible #1155
mp911de Oct 27, 2019
426fb0c
Make RedisAsyncCommands.select() and auth() async #1118
mp911de Oct 27, 2019
a84cd1b
Deprecate RedisURI.password(String) in favor of password(CharSequence…
mp911de Oct 27, 2019
c05dc0d
Remove deprecated timeout methods accepting TimeUnit #1158
mp911de Oct 27, 2019
8734e0c
Fix races in emission vs. request #1140
mp911de Oct 28, 2019
9978722
Upgrade to netty 4.1.43.Final #1161
mp911de Oct 29, 2019
26d2b24
Upgrade to RxJava 2.2.13 #1162
mp911de Oct 29, 2019
541d3d0
Add ByteBuf.touch(…) to aid buffer leak investigation #1164
mp911de Oct 30, 2019
03c7740
Add warning log if MasterReplica(…, Iterable<RedisURI>) contains mult…
mp911de Oct 30, 2019
ba70d19
Use String concatenation instead of String.format when forming BITFIE…
Nov 6, 2019
caa2748
Polishing #1175
mp911de Nov 7, 2019
9c583b9
Pass Allocator as RedisStateMachine constructor argument #1053
mp911de Nov 8, 2019
9115222
Remove deprecated LettuceCharsets class #1156
mp911de Nov 8, 2019
418bc1d
Consolidate Future utils #1039
mp911de Nov 9, 2019
eee5706
Polishing
mp911de Nov 15, 2019
abeedcc
Allow parsing of command details when running Redis 6
mp911de Nov 15, 2019
4ff9a07
Translate negative Commons Pool limits to Integer.MAX_VALUE #1181
mp911de Dec 26, 2019
045bbc5
Polishing
mp911de Dec 26, 2019
cb665e0
Add mutate method to SocketOptions #1193
mp911de Dec 26, 2019
061ed4c
Allow client to pick a specific TLS version for Redis connection #1167
amohtashami12307 Dec 26, 2019
7c78b79
Polishing #1167
mp911de Dec 26, 2019
17cea59
Move SocketAddress resolution from RedisURI to SocketAddressResolver …
mp911de Dec 27, 2019
5ca5da2
Adapt GEOHASH tests to 10 chars #1196
mp911de Dec 27, 2019
872272c
Initial RESP3 support #964
mp911de Apr 20, 2019
9e26ad3
Adapt to RESP3 changes #964
mp911de Jun 11, 2019
ee61acc
Update Map and Geo outputs #964
mp911de Jun 11, 2019
f15c852
Polishing #964
mp911de Jun 12, 2019
ed89bb3
Adapt to RESP3 changes #964
mp911de Nov 10, 2019
68cfed6
Reintroduce ping before activation, rename to handshake event #964
mp911de Nov 10, 2019
94108ac
Reset ACL after WithPassword tests #964
mp911de Dec 27, 2019
0c2c05c
Disable tests that fail because of Redis RESP3 failures #964
mp911de Dec 27, 2019
abbfdf6
Refactor connection activation to ConnectionInitializer #697
mp911de Dec 28, 2019
702081b
Add handshake to fallback to RESP2 if HELLO command is unknown #964
mp911de Dec 28, 2019
dab292e
Refactor ConnectionState into state and RedisHandshake #964
mp911de Dec 28, 2019
55571c5
Enable test for CLIENT SETNAME after Redis fix #964
mp911de Dec 29, 2019
39563e5
Use correct parser for double responses #964
mp911de Dec 29, 2019
1e334f6
Update license headers to 2020
mp911de Jan 1, 2020
b4e98d1
Migrate Master/Replica implementation to masterreplica package #1199
mp911de Jan 4, 2020
72149ed
Polishing
mp911de Jan 4, 2020
0c1e371
Fix false hits of license header upgrade
mp911de Jan 11, 2020
d74d2a9
Fix RedisURIBuilderUnitTests failing on Windows OS #1204
kshchepanovskyi Jan 13, 2020
0289f02
Provide a default port to RedisURI's Builder instead of 0 #1205
He-Pin Jan 13, 2020
b193839
Polishing #1205
mp911de Jan 13, 2020
1fed2f8
Pub/Sub resubscribe failures on connection activation #1201
mp911de Jan 13, 2020
a22864e
Update documentation for pub/sub to listen on the stateful connection…
judepereira Jan 15, 2020
8a1a22e
Use hostname and port from SocketAddress for peer verification #1209
mp911de Jan 15, 2020
f02c353
Polishing #1209
mp911de Jan 15, 2020
7ddef9c
Polishing #1209
mp911de Jan 15, 2020
68e55fb
Use String command representation in CommandLatencyId.equals/hashCode…
mp911de Jan 21, 2020
6371392
Add equals/hashCode to StringCommandType #1211
mp911de Jan 31, 2020
9667bb5
Un-deprecate ClientOptions.pingBeforeActivateConnection #1208
mp911de Jan 31, 2020
7d623d3
Improve documentation for AbstractRedisClient.shutdown #1212
mp911de Jan 31, 2020
974dd70
Use consistently a shutdown timeout of 2 seconds in all AbstractRedis…
mp911de Jan 31, 2020
f73b810
Fix StreamMessage parsing for XREAD #1216
mp911de Feb 6, 2020
bd2f18c
Add support for variadic hset invocation #1217
Feb 7, 2020
6f2493e
Polishing #1217
mp911de Feb 10, 2020
481d41f
Atomically send ASKING and redirected command #1218
mp911de Feb 10, 2020
3983e78
Upgrade dependencies #1224
mp911de Feb 11, 2020
9b34282
Use netty configuration defaults for heap/direct buffer allocation #1223
mp911de Feb 11, 2020
b48e087
Upgrade dependencies #1225
mp911de Feb 11, 2020
c8ce24c
Polishing #1222
mp911de Feb 11, 2020
265f9ec
Update project documentation
mp911de Feb 19, 2020
8a10a96
Add support for client id command #1197
dengliming Feb 14, 2020
7ed615f
Polishing #1197
mp911de Feb 21, 2020
6970214
Improve RedisURI documentation for sentinel authentication #1232
mp911de Feb 21, 2020
c1a2d55
Add support for KEEPTTL with SET #1234
mp911de Feb 21, 2020
527f0a6
Support JUSTID flag of XCLAIM command #1233
mp911de Feb 21, 2020
578a16b
Refactor script content argument types to String and byte[] instead o…
mp911de Feb 21, 2020
e4ec4f3
Refactor thrown exceptions during dispatch to command completion fail…
mp911de Feb 21, 2020
3ec6223
Add support for RxJava 3 #1235
mp911de Feb 25, 2020
efb0b6c
Reduce log level to DEBUG for native library logging #1238
mp911de Mar 10, 2020
4b602e7
Refactor cluster topology refresh to non-blocking operations #1107
mp911de Mar 13, 2020
87dc833
Reduce visibility of fields in AbstractRedisClient #1241
mp911de Mar 13, 2020
a253019
Fix return type of randomkey #1240
mp911de Mar 13, 2020
efed1c6
Update issue templates
mp911de Mar 19, 2020
dedb57e
Upgrade netty to 4.1.47.Final #1239
m1ngyuan Mar 21, 2020
71632e3
Retrieve username from URI when RedisURI is built from URL #1242
gkorland Mar 20, 2020
904447a
Polishing #1242
mp911de Mar 21, 2020
2be8108
Extend build config to build against multiple Java versions #1247
mp911de Mar 26, 2020
9ac43f3
Upgrade to stunnel 5.56 #1246
mp911de Mar 26, 2020
5f4dde5
Use read-only view when consuming Partitions #1252
mp911de Apr 1, 2020
2e508bc
Add auth command support for username and password #1202
tgrall Mar 29, 2020
c32a1b4
Polishing #1202
mp911de Apr 1, 2020
0bb981d
Polishing #1255
mp911de Apr 2, 2020
78cba4d
Do not re-issue activation commands #1255
mp911de Apr 2, 2020
a2be65a
Polishing #1202
mp911de Apr 2, 2020
3741d63
Upgrade dependencies #1259
mp911de Apr 2, 2020
e8411b0
Replace outdated Sonatype parent POM with plugin definitions #1258
mp911de Apr 2, 2020
d30ec4c
Fix infinite command timeout #1260
mp911de Apr 6, 2020
9691645
Upgrade to RxJava 3.0.2 #1261
mp911de Apr 6, 2020
82ddb31
Add test for connection handshake failures #1262
mp911de Apr 14, 2020
8f45d03
Prepare release notes #1268
mp911de Apr 15, 2020
78a8ce9
Enable Sentinel integration tests #1266
mp911de Apr 16, 2020
2c2f608
Fix SSL and client name propagation for Redis Sentinel #1266
mp911de Apr 16, 2020
7fbf9cb
Enable Stream commands for read-only routing #1271
mp911de Apr 23, 2020
4375f2e
Polishing #1271
mp911de Apr 23, 2020
c6fe4ee
Remove Java 11 from build matrix
mp911de Apr 23, 2020
c2d073a
Refactor PauseDetector retrieval #1269
mp911de Apr 27, 2020
290f827
Polishing
mp911de Apr 27, 2020
bfaafc3
Consolidate exception translation and bubbling #1275
mp911de Apr 27, 2020
a0bea2c
Reduce min thread count to 2 #1278
mp911de Apr 27, 2020
fb5bcfd
Introduce ThreadFactoryProvider to DefaultEventLoopGroupProvider for …
mp911de Apr 27, 2020
9407baa
Polishing
mp911de Apr 27, 2020
c8fcee8
Upgrade to Reactor Core 3.3.5 #1276
mp911de Apr 27, 2020
0459471
Upgrade dependencies #1277
mp911de Apr 27, 2020
6b83b7c
Update changelog #1268
mp911de Apr 27, 2020
7d7a19d
Update reference documentation #1268
mp911de Apr 27, 2020
497a690
[maven-release-plugin] prepare release 6.0.0.M1
mp911de Apr 27, 2020
bd72456
[maven-release-plugin] prepare for next development iteration
mp911de Apr 27, 2020
53c6268
Replace io.lettuce.core.resource.Futures utility with Netty's Promise…
mp911de May 5, 2020
83d45aa
Add customization hook for EventLoopGroup creation #1273
mp911de May 5, 2020
1a06733
Fix command duplication on asking #1304
koisyu Jun 4, 2020
c50d8d5
Polishing #1304
mp911de Jun 8, 2020
cde07e5
Add charset option to ScanArgs.match(…) #1285
gejun123456 May 7, 2020
679b187
Polishing #1285
mp911de Jun 8, 2020
f8d2b8b
Add guards to catch null arguments in AsyncConnectionProvider.forEach…
mp911de Jun 8, 2020
562fec2
Refactor PauseDetectorWrapper retrieval #1300
mp911de Jun 8, 2020
e4d6b91
Fix syntax error on xpending with unlimited count #1302
mp911de Jun 8, 2020
2a28d6f
Upgrade dependencies #1305
mp911de Jun 8, 2020
c046761
Polishing
mp911de Jun 8, 2020
bd68320
Upgrade to Reactor Core 3.3.6.RELEASE #1305
mp911de Jun 8, 2020
eb48cbd
Add FAQ section to reference docs #1307
mp911de Jun 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, and in the interest of fostering an open
and welcoming community, we pledge to respect all people who contribute through reporting
issues, posting feature requests, updating documentation, submitting pull requests or
patches, and other activities.

We are committed to making participation in this project a harassment-free experience for
everyone, regardless of level of experience, gender, gender identity and expression,
sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
religion, or nationality.

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic addresses,
without explicit permission
* Other unethical or unprofessional conduct

Project maintainers have the right and responsibility to remove, edit, or reject comments,
commits, code, wiki edits, issues, and other contributions that are not aligned to this
Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors
that they deem inappropriate, threatening, offensive, or harmful.

By adopting this Code of Conduct, project maintainers commit themselves to fairly and
consistently applying these principles to every aspect of managing this project. Project
maintainers who do not follow or enforce the Code of Conduct may be permanently removed
from the project team.

This Code of Conduct applies both within project spaces and in public spaces when an
individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
contacting a project maintainer at lettuce-redis-client-users@googlegroups.com. All complaints will
be reviewed and investigated and will result in a response that is deemed necessary and
appropriate to the circumstances. Maintainers are obligated to maintain confidentiality
with regard to the reporter of an incident.

This Code of Conduct is adapted from the
[Contributor Covenant](https://contributor-covenant.org), version 1.3.0, available at
[contributor-covenant.org/version/1/3/0/](https://contributor-covenant.org/version/1/3/0/).
83 changes: 72 additions & 11 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,82 @@
# Contributing to lettuce
# Contributing to Lettuce

If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.
Lettuce is released under the Apache 2.0 license. If you would like to contribute something, or simply want to hack on the code this document should help you get started.

When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
Formatting settings are provided for Eclipse in https://github.com/mp911de/lettuce/blob/master/formatting.xml
## Code of Conduct

This project adheres to the Contributor Covenant [code of
conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to lettuce-redis-client-users@googlegroups.com.

## Using GitHub Issues

We use GitHub issues to track bugs and enhancements. If you have a general usage question please ask on [Stack Overflow](https://stackoverflow.com).
The Lettuce team and the broader community monitor the [`lettuce`](https://stackoverflow.com/tags/lettuce) tag.

If you are reporting a bug, please help to speed up problem diagnosis by providing as much information as possible.
Ideally, that would include a small sample project that reproduces the problem.

## Quickstart

For the impatient, if you want to submit a quick pull request:

* Don't create a pull request upfront. Create a feature request ticket first, so we can discuss your idea.
* Upon agreeing the feature is a good fit for Lettuce, please:
* Make sure there is a ticket in GitHub issues.
* Make sure you use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
* Make sure you submit test cases (unit or integration tests) that back your changes.
* Try to reuse existing test sample code (domain classes). Try not to amend existing test cases but create new ones dedicated to the changes you’re making to the codebase. Try to test as locally as possible but potentially also add integration tests.

When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible. Formatting changes create a lot of noise and reduce the likelyhood of merging the pull request.
Formatting settings are provided for Eclipse in https://github.com/lettuce-io/lettuce-core/blob/master/formatting.xml

## Bugreports

If you report a bug, please ensure to specify the following:

* lettuce version (e.g. 3.2.Final)
* Contextual information (what were you trying to do using lettuce)
* Simplest possible steps to reproduce
* JUnit tests to reproduce are great but not obligatory
* Check GitHub issues whether someone else already filed a ticket. If not, then feel free to create another one.
* Comments on closed tickets are typically a bad idea as there's little attention on closed tickets. Please create a new one.
* Lettuce version (e.g. 3.2.Final).
* Contextual information (what were you trying to do using Lettuce).
* Simplest possible steps to reproduce:
* Ideally, a [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve).
* JUnit tests to reproduce are great but not obligatory.

## Features

If you want to request a feature, please ensure to specify the following:

* What do you want to achieve?
* Contextual information (what were you trying to do using Lettuce).
* Ideally, but not required: Describe your idea how you would implement it.

## Questions

If you have a question, then check one of the following places first as GitHub issues are for bugs and feature requests. Typically, forums, chats, and mailing lists are the best place to ask your question as you can expect to get an answer faster there:

**Checkout the docs**

* [Reference documentation](https://lettuce.io/docs/)
* [Wiki](https://github.com/lettuce-io/lettuce-core/wiki)
* [Javadoc](https://lettuce.io/core/release/api/)

**Communication**

* Google Group/Mailing List (General discussion, announcements and releases): [lettuce-redis-client-users](https://groups.google.com/d/forum/lettuce-redis-client-users) or [lettuce-redis-client-users@googlegroups.com](mailto:lettuce-redis-client-users@googlegroups.com)
* Stack Overflow (Questions): [Questions about Lettuce](https://stackoverflow.com/questions/tagged/lettuce)
* Gitter (General discussion): [![Join the chat at https://gitter.im/lettuce-io/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lettuce-io/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### Building from Source

Lettuce source can be built from the command line using Maven on JDK 1.8 or above.

The project can be built from the root directory using the standard Maven command:

## License
```bash
$ mvn clean test
```

By contributing your code, you agree to license your contribution under the terms of [Apache License 2.0] (http://www.apache.org/licenses/LICENSE-2.0).
You can run a full build including integration tests using the `make` command:

All files are released with the Apache 2.0 license.
```bash
$ make test
```
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: 🐛 Bug Report
about: If something isn't working as expected 🤔.
labels: 'type: bug'
---

## Bug Report

<!-- First of all: Have you checked the docs https://github.com/lettuce-io/lettuce-core/wiki, GitHub issues, or Stack Overflow whether someone else has already reported your issue? -->

#### Current Behavior

<!-- A clear and concise description of the behavior.-->

<details>
<summary>Stack trace</summary>

```java
// your stack trace here;
```

</details>

#### Input Code

<!-- Java/Kotlin/Scala/Groovy/… or Repo link if applicable: -->

<details>
<summary>Input Code</summary>

```java
// your code here;
```

</details>

#### Expected behavior/code

<!-- A clear and concise description of what you expected to happen (or code). -->

#### Environment

- Lettuce version(s): [e.g. 5.0.0.RELEASE, 4.2.2.Final]
- Redis version: [e.g. 4.0.9]

#### Possible Solution

<!-- Only if you have suggestions on a fix for the bug -->

#### Additional context

<!-- Add any other context about the problem here. Do not add code as screenshots. -->
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: 🚀 Feature Request
about: I have a suggestion (and may want to implement it 🙂)!
labels: 'type: enhancement'
---

## Feature Request

<!-- First of all: Have you checked the docs https://github.com/lettuce-io/lettuce-core/wiki, GitHub issues, or Stack Overflow whether someone else has already reported your issue? Maybe the feature already exists?-->

#### Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is. Ex. I have an issue when [...]

#### Describe the solution you'd like

A clear and concise description of what you want to happen. Add any considered drawbacks.

#### Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

#### Teachability, Documentation, Adoption, Migration Strategy

If you can, explain how users will be able to use this and possibly write out a version the docs.
Maybe a screenshot or design?
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/Help_us.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: 🤝 Support us on Lettuce
about: If you would like to support our efforts in maintaining this community-driven project 🙌!

---

Help support Lettuce!

Lettuce has always been a community project, not really backed or owned by any single (or group) of companies. While some maintainers used to work at companies supporting open source no one was working on it full time and there certainly isn't a huge company or team anywhere doing all this work.

---

As a group of volunteers you can help us in a few ways

- Giving developer time on the project. (Message us on [Twitter](https://twitter.com/LettuceDriver) or [Gitter](https://gitter.im/lettuce-io/Lobby) for guidance). Companies should be paying their employees to contribute back to the open source projects they use everyday.
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Questions
url: https://gitter.im/lettuce-io/Lobby
about: Please ask questions on Gitter or StackOverflow.
7 changes: 4 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ Thank you for proposing a pull request. This template will guide you through the
-->
Make sure that:

- [ ] You have read the [contribution guidelines](https://github.com/mp911de/lettuce/blob/master/.github/CONTRIBUTING.md).
- [ ] You use the code formatters provided [here](https://github.com/mp911de/lettuce/blob/master/formatting.xml) and have them applied to your changes. Don’t submit any formatting related changes.
- [ ] You have read the [contribution guidelines](https://github.com/lettuce-io/lettuce-core/blob/master/.github/CONTRIBUTING.md).
- [ ] You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
- [ ] You use the code formatters provided [here](https://github.com/lettuce-io/lettuce-core/blob/master/formatting.xml) and have them applied to your changes. Don’t submit any formatting related changes.
- [ ] You submit test cases (unit or integration tests) that back your changes.

<!--
Great! Live long and prosper.
-->
-->
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
target/
*.rdb
*.aof

-
atlassian-ide-plugin.xml
*.iml
Expand All @@ -14,8 +13,4 @@ work/
.settings
dependency-reduced-pom.xml
.idea
.vagrant
Vagrantfile
CluTest.java

CluTest.java
.flattened-pom.xml
75 changes: 58 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,67 @@
dist: xenial

os: linux

language: java
jdk:
- oraclejdk8
env:
matrix:
- PROFILE=netty-40
- PROFILE=netty-41
sudo: false
before_install:
- if [[ ! -f stunnel.tar.gz ]]; then wget -O stunnel.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.33.tar.gz; fi
- if [[ ! -f ./stunnel-5.33/configure ]]; then tar -xzf stunnel.tar.gz; fi
- if [[ ! -f ./stunnel-5.33/src/stunnel ]]; then cd ./stunnel-5.33; ./configure; make; cd ..; fi
- export PATH="$PATH:$(pwd)/stunnel-5.33/src"
install: make prepare ssl-keys
script: make test-coveralls PROFILE=${PROFILE}

jobs:
include:
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=unstable
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- PROFILE=jmh
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=6.0
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=5.0
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=4.0
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=3.2
- env: JDK='OpenJDK 12'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 12
- env: JDK='OpenJDK 13'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 13
- env: JDK='OpenJDK 14'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 14
- env: JDK='OpenJDK EA'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh
allow_failures:
- env: JDK='OpenJDK EA'

install:
- if [[ ! -f downloads/stunnel-5.56.tar.gz ]]; then wget -O downloads/stunnel-5.56.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.56.tar.gz; fi
- if [[ ! -f ./stunnel-5.56/configure ]]; then tar -xzf downloads/stunnel-5.56.tar.gz; fi
- if [[ ! -f ./stunnel-5.56/src/stunnel ]]; then cd ./stunnel-5.56; ./configure; make; cd ..; fi
- export PATH="$PATH:$(pwd)/stunnel-5.56/src"
- make prepare ssl-keys

script: make test-coverage PROFILE=${PROFILE:-ci}

after_success:
- bash <(curl -s https://codecov.io/bash)

cache:
directories:
- '$HOME/.m2/repository'
- '$TRAVIS_BUILD_DIR/stunnel-5.33'
- 'downloads'
- 'stunnel-5.56'

notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c34b69f37ca13d2f8642
- https://webhooks.gitter.im/e/7c2a962829d225c47a31
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
Loading