Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
b853bcd5
Commit
b853bcd5
authored
Apr 17, 2019
by
Patrick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add doc about Go migration feature flags
parent
f8df8976
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
README.md
README.md
+37
-0
No files found.
README.md
View file @
b853bcd5
...
...
@@ -98,6 +98,43 @@ 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`
.
It should look something like this:
```
yaml
migration
:
enabled
:
true
features
:
[
'
discover'
]
```
Here are the following features that can be enabled:
-
`discover`
-
`2fa_recovery_codes`
### Configuring using Omnibus
If you're using Omnibus, these features can be enabled by adding something like this to
`gitlab.rb`
:
```
ruby
gitlab_shell
[
'migration'
]
=
{
enabled:
true
,
features:
[
'discover'
,
'2fa_recovery_codes'
]
}
```
This is equivalent to having this in
`config.yml`
:
```
yaml
migration
:
enabled
:
true
features
:
[
'
discover'
,
'
2fa_recovery_codes'
]
```
## Releasing a new version
GitLab Shell is versioned by git tags, and the version used by the Rails
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment