3eef0e18e0
Refactor Ci::Commit and Ci::Build to have all builds for same :sha on single page This makes Ci::Commit to have only :sha and simplifies routing to have only :sha in path. The :ref and :push_data is now parameter of Ci::Build. All commit related data (git author, message and .gitlab-ci.yml) is read directly from repository. All code related for creating builds is moved to CreateBuildsService. Status deduction is rewritten to make if more efficient and easier to integrate with Commit Status API. This is partially working, tests are not yet touched. This slightly changes view of Commit: ![Screen_Shot_2015-10-02_at_15.21.47](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ad3f1ccdcc87659ea437d8db6c5b9f94/Screen_Shot_2015-10-02_at_15.21.47.png) @dzaporozhets What do you think? See merge request !1502 |
||
---|---|---|
.. | ||
gitlab_stubs | ||
matchers | ||
api_helpers.rb | ||
capybara.rb | ||
capybara_helpers.rb | ||
db_cleaner.rb | ||
factory_girl.rb | ||
filter_spec_helper.rb | ||
fixture_helpers.rb | ||
login_helpers.rb | ||
markdown_feature.rb | ||
mentionable_shared_examples.rb | ||
relative_url.rb | ||
repo_helpers.rb | ||
select2_helper.rb | ||
services_shared_context.rb | ||
setup_builds_storage.rb | ||
stub_configuration.rb | ||
stub_gitlab_calls.rb | ||
stub_gitlab_data.rb | ||
taskable_shared_examples.rb | ||
test_env.rb | ||
webmock.rb |