Read import sources from setting at first initialization
config/gitlab.yml
1. Given the following option in the setting production: &base
gitlab:
import_sources: [ 'github', 'gitlab' ]
2. MySql database is blank
3. Run the following command
bundle exec rake gitlab:setup RAILS_ENV=production
Current behaviour
- All import sources in application setting are checked
Expected behaviour
- Only
github
andgitlab
options are checked in import sources section of application setting
**This MR fixes that. **