This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
forked from etcd-io/jetcd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from coreos/master
fetch latest jetcd changes
- Loading branch information
Showing
214 changed files
with
10,115 additions
and
3,678 deletions.
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.* | ||
!.gitignore | ||
!.travis.yml | ||
target/ | ||
*.iml | ||
logs/ | ||
|
Binary file not shown.
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 @@ | ||
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.2/apache-maven-3.5.2-bin.zip |
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 |
---|---|---|
@@ -1,7 +1,21 @@ | ||
sudo: required | ||
install: true | ||
language: java | ||
sudo: false | ||
|
||
services: | ||
- docker | ||
|
||
before_install: | ||
- curl -s "https://get.sdkman.io" | bash | ||
- source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
- sdk version | ||
- mkdir -p "$HOME/.sdkman/etc" | ||
- echo "sdkman_auto_answer=true" > "$HOME/.sdkman/etc/config" | ||
- echo "sdkman_auto_selfupdate=true" >> "$HOME/.sdkman/etc/config" | ||
- sdk install java 8u144-zulu | ||
|
||
script: | ||
- scripts/run_etcd.sh | ||
- mvn clean verify | ||
jdk: | ||
- oraclejdk8 | ||
- ./etc/scripts/run_etcd_docker.sh | ||
- sdk use java 8u144-zulu | ||
- java -version | ||
- ./mvnw clean install |
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,61 @@ | ||
# How to contribute | ||
|
||
jetcd is Apache 2.0 licensed and accepts contributions via GitHub pull requests. This document outlines some of the conventions on commit message formatting, contact points for developers, and other resources to help get contributions into etcd. | ||
|
||
# Email and chat | ||
|
||
- Email: [etcd-dev](https://groups.google.com/forum/?hl=en#!forum/etcd-dev) | ||
- IRC: #[etcd](irc://irc.freenode.org:6667/#etcd) IRC channel on freenode.org | ||
|
||
## Getting started | ||
|
||
- Fork the repository on GitHub | ||
|
||
## Reporting bugs and creating issues | ||
|
||
Reporting bugs is one of the best ways to contribute. However, a good bug report has some very specific qualities, so please read over our short document on [reporting bugs](https://github.com/coreos/etcd/blob/master/Documentation/reporting_bugs.md) before submitting a bug report. This document might contain links to known issues, another good reason to take a look there before reporting a bug. | ||
|
||
## Contribution flow | ||
|
||
This is a rough outline of what a contributor's workflow looks like: | ||
|
||
- Create a topic branch from where to base the contribution. This is usually master. | ||
- Make commits of logical units. | ||
- Make sure commit messages are in the proper format (see below). | ||
- Push changes in a topic branch to a personal fork of the repository. | ||
- Submit a pull request to coreos/jetcd. | ||
- The PR must receive a LGTM from at least one maintainer found in the [MAINTAINERS](https://github.com/coreos/etcd/blob/master/MAINTAINERS) file. | ||
|
||
Thanks for contributing! | ||
|
||
### Code style | ||
|
||
The coding style follows Google Java Style. See the [style doc](https://google.github.io/styleguide/javaguide.html) for details. | ||
|
||
Please follow this style to make jetcd easy to review, maintain, and develop. | ||
|
||
### Format of the commit message | ||
|
||
We follow a rough convention for commit messages that is designed to answer two | ||
questions: what changed and why. The subject line should feature the what and | ||
the body of the commit should describe the why. | ||
|
||
``` | ||
scripts: add the test-cluster command | ||
this uses tmux to setup a test cluster that can easily be killed and started for debugging. | ||
Fixes #38 | ||
``` | ||
|
||
The format can be described more formally as follows: | ||
|
||
``` | ||
<subsystem>: <what changed> | ||
<BLANK LINE> | ||
<why this change was made> | ||
<BLANK LINE> | ||
<footer> | ||
``` | ||
|
||
The first line is the subject and should be no longer than 70 characters, the second line is always blank, and other lines should be wrapped at 80 characters. This allows the message to be easier to read on GitHub as well as in various git tools. |
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,5 @@ | ||
Fanmin Shi <[email protected]> (@fanminshi) pkg:* | ||
Luca Burgazzoli <[email protected]> (@lburgazzoli) pkg:* | ||
Xiang Li <[email protected]> (@xiang90) pkg:* | ||
Anthony Romano <[email protected]> (@heyitsanthony) pkg:* | ||
|
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
File renamed without changes.
File renamed without changes.
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,15 @@ | ||
/** | ||
* Copyright 2017 The jetcd authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
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
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,13 @@ | ||
Copyright 2017 The jetcd authors | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
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
Oops, something went wrong.