summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-04-17 12:32:55 +0800
committerPatrick Bajao <ebajao@gitlab.com>2019-04-17 12:37:38 +0800
commitba5196ccfb463ea622caa52a530dc150cf9c0acc (patch)
treef17871c03b23793a16340ccf104a47636290251f
parentf8df8976d039358c60522fcabb4cf56274f07f9f (diff)
downloadgitlab-shell-go-migration-feature-flags-doc.tar.gz
Add doc about Go migration feature flagsgo-migration-feature-flags-doc
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5bd0024..6226486 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,19 @@ Remove all keys from authorized_keys file:
Starting with GitLab 8.12, GitLab supports Git LFS authentication through ssh.
+## Migration to Go feature flags
+
+We are starting to migrate some features from Ruby to Go. To be able to do this
+incrementally, we hide the Go implementation behind a feature flag.
+
+To enable a feature, modify `migration` option in `config.yml` and ensure `enabled`
+is set to `true` and feature to be enabled is added to `features`.
+
+Here are the following features that can be enabled:
+
+- `discover`
+- `2fa_recovery_codes`
+
## Releasing a new version
GitLab Shell is versioned by git tags, and the version used by the Rails