Find a file
2018-06-14 09:42:02 -07:00
.github/ISSUE_TEMPLATE
acl acl: IntentionDefault => IntentionDefaultAllow 2018-06-14 09:41:55 -07:00
agent agent/cache: send the RefreshTimeout into the backend fetch 2018-06-14 09:42:02 -07:00
api Adds api client code and tests for new Proxy Config endpoint, registering with proxy and seeing proxy config in /agent/services list. 2018-06-14 09:41:58 -07:00
bench
command Rework connect/proxy and command/connect/proxy. End to end demo working again 2018-06-14 09:41:57 -07:00
connect Fix various test failures and vet warnings. 2018-06-14 09:41:58 -07:00
demo
ipaddr
lib
logger
scripts
sentinel
snapshot
terraform
test
testrpc
testutil
tlsutil
types
ui
ui-v2 Merge pull request #4225 from hashicorp/bugfix/hide-anon-acl-delete 2018-06-14 16:58:07 +01:00
vendor
version
watch
website
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md Update CHANGELOG.md 2018-06-13 10:36:48 -04:00
GNUmakefile Add Makefile hack for tests to run 2018-06-14 09:42:02 -07:00
INTERNALS.md
LICENSE
main.go
main_test.go
README.md Readme for Fork Instructions 2018-06-14 09:41:39 -07:00
Vagrantfile

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