Skip to content

Read import sources from setting at first initialization

1. Given the following option in the setting config/gitlab.yml

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 and gitlab options are checked in import sources section of application setting

**This MR fixes that. **

Merge request reports