Go to file
John Cowen 1c4b1ee798 Only offer to create a future service if the name doesn't already exist 2018-06-25 12:25:15 -07:00
.github/ISSUE_TEMPLATE
acl acl: IntentionDefault => IntentionDefaultAllow 2018-06-14 09:41:55 -07:00
agent agent/cache: always schedule the refresh 2018-06-25 12:25:14 -07:00
api Fix misc test failures (some from other PRs) 2018-06-25 12:25:13 -07:00
bench
command Fix unreachable code warning from go vet 2018-06-25 12:24:15 -07:00
connect Return defensive error if API response is jank 2018-06-25 12:25:10 -07:00
demo
ipaddr
lib lib/file: add tests for WriteAtomic 2018-06-14 09:42:12 -07:00
logger
scripts
sentinel
snapshot
terraform
test Revert "Certificate for Alice was too old, updating it for tests" 2018-05-16 18:59:57 +02:00
testrpc
testutil Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes. 2018-06-14 09:42:16 -07:00
tlsutil
types
ui
ui-v2 Only offer to create a future service if the name doesn't already exist 2018-06-25 12:25:15 -07:00
vendor Add missing vendor dep github.com/stretchr/objx 2018-06-14 09:42:13 -07:00
version Put version.go back in dev mode 2018-05-22 10:16:59 -04:00
watch connect/proxy: don't require proxy ID 2018-06-14 09:42:20 -07:00
website website: Fix getting started connect dependent service example 2018-06-25 12:25:13 -07:00
.gitattributes
.gitignore Update .gitignore - ignore some macos fs event notification stuff 2018-05-24 10:34:23 -04:00
.travis.yml
CHANGELOG.md Update CHANGELOG.md 2018-06-13 10:36:48 -04:00
GNUmakefile Remove temporary hacks from Makefile 2018-06-14 09:42:10 -07:00
INTERNALS.md
LICENSE
README.md Readme for Fork Instructions 2018-06-14 09:41:39 -07:00
Vagrantfile
key.pem Working proxy config reload tests 2018-06-14 09:42:05 -07:00
main.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00
main_test.go

README.md

This is a temporary README. We'll restore the old README prior to PR upstream.

Consul Connect

This repository is the forked repository for Consul Connect work to happen in private prior to public release. This README will explain how to safely use this fork, how to bring in upstream changes, etc.

Cloning

To use this repository, clone it into your GOPATH as usual but you must rename consul-connect to consul so that Go imports continue working as usual.

Important: Never Modify Master

NEVER MODIFY MASTER! NEVER MODIFY MASTER!

We want to keep the "master" branch equivalent to OSS master. This will make rebasing easy for master. Instead, we'll use the branch f-connect. All feature branches should branch from f-connect and make PRs against f-connect.

When we're ready to merge back to upstream, we can make a single mega PR merging f-connect into OSS master. This way we don't have a sudden mega push to master on OSS.

Creating a Feature Branch

To create a feature branch, branch from f-connect:

git checkout f-connect
git checkout -b my-new-branch

All merged Connect features will be in f-connect, so you want to work from that branch. When making a PR for your feature branch, target the f-connect branch as the merge target. You can do this by using the dropdowns in the GitHub UI when creating a PR.

Syncing Upstream

First update our local master:

# This has to happen on forked master
git checkout master

# Add upstream to OSS Consul
git remote add upstream https://github.com/hashicorp/consul.git

# Fetch it
git fetch upstream

# Rebase forked master onto upstream. This should have no changes since
# we're never modifying master.
git rebase upstream master

Next, update the f-connect branch:

git checkout f-connect
git rebase origin master