summaryrefslogtreecommitdiff
path: root/spec/services/merge_requests/refresh_service_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-10-stable-eev15.10.0-rc42GitLab Bot2023-03-201-0/+8
|
* Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42GitLab Bot2023-01-181-3/+3
|
* Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42GitLab Bot2022-10-201-26/+27
|
* Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42GitLab Bot2022-08-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42GitLab Bot2022-07-201-4/+19
|
* Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42GitLab Bot2022-06-201-9/+25
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-37/+25
|
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-201-2/+14
|
* Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot2021-03-161-0/+27
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-15/+26
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-6/+6
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-107/+54
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-1/+5
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-0/+3
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-4/+5
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-181-65/+99
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-14/+26
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-031-5/+51
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-071-0/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-121-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-031-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-291-46/+16
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-231-9/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-071-0/+124
|
* Abstract auto merge processesShinya Maeda2019-06-031-4/+6
| | | | | | | | | | | | We have one auto merge strategy today - Merge When Pipeline Succeeds. In order to add more strategies for Merge Train feature, we abstract the architecture to be more extensible. Removed arguments Fix spec
* Fix merge request pipeline exist methodfix-merge-request-pipeline-exist-methodShinya Maeda2019-05-061-11/+11
| | | | Refactor
* Add frozen_string_literal to spec/servicesfrozen_string_literal_spec_servicesThong Kuah2019-04-121-0/+2
| | | | Probably useful as we often move these files to "new" files.
* Fix naming of testce-6120-extract-ee-specific-files-lines-for-spec-services-merge_requestsHeinrich Lee Yu2019-04-111-3/+1
| | | | ALso makes it consistent with EE
* Prevent triggering pipelines when target branch is updatedprevent-running-mr-pipelines-when-target-updatedShinya Maeda2019-04-081-7/+27
| | | | | | Currently, pipelines for merge requests are triggered when source or target branch is updated. However, we should create only when source branch is updated, because it runs unexpected pipelines.
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-051-5/+5
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Backport attached merge request pipelinescreate-merge-pipelines-ceShinya Maeda2019-04-041-11/+0
| | | | Backport changes to CE
* Create detached merge request pipelinespersist-fulll-ref-path-for-mr-pipelinesShinya Maeda2019-03-291-7/+34
| | | | | | | | | | | | | | | | | | By using `refs/merge-requests/:iid/head` ok ok Improve naming nicely Add nice tests add nice tests fix some more revert
* Prepare suggestion implementation for multi-lineOswaldo Ferreira2019-03-271-9/+29
| | | | | | Adds the groundwork needed in order to persist multi-line suggestions, while providing the parsing strategy which will be reused for the **Preview** as well.
* Add suffix for merge request eventShinya Maeda2019-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fix ok Add spec Fix ok Fix Add changelog Fix Add memoization a fix
* Move validation logic to service layerHiroyuki Sato2019-01-281-3/+3
|
* Don't create merge request pipeline without commitsHiroyuki Sato2019-01-201-2/+6
|
* Add committers and authors methods on MergeRequestTiago Botelho2019-01-081-1/+1
| | | | These are used by the EE-only approvers feature
* Guard with feature flagMark Chao2018-12-071-9/+33
|
* Update merge request's merge_commit for branch updateMark Chao2018-12-071-0/+49
| | | | | | | | | Analyze new commits graph to determine each commit's merge commit. Fix "merged with [commit]" info for merge requests being merged automatically by other actions. Allow analyzing upto the relevant commit
* Merge request pipelinesShinya Maeda2018-12-051-0/+88
|
* Fix extra merge request versions created from forked merge requestssh-fix-issue-53153Stan Hu2018-10-291-0/+60
| | | | | | | | | | | | | | | | | | | | | | | When a forked merge request was created with the same branch name as the target name, MergeRequests::RefreshService would always create a new diff even though nothing had changed. For example, on GitLab.com: 1. There were a number of merge requests in the gitlab-ce and www-gitlab-com projects that had old merge requests from the community. 2. These merge requests originated from forked projects and used the source branch master. 3. When someone pushed to master in the main repository, MergeRequests::RefreshService would see that master matched the merge requests in question and generated a new diff. 4. This led to an explosion of merge request diffs and slowed down the "Changes" tab considerably. This change alters MergeRequests::RefreshService so that it will only refresh the diff if the merge request's source project and branch match. Otherwise, the refresh will only happen if a pushed commit contains a commit relevant to the existing merge request. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53153
* Send notification emails when push to a merge requestYarNayar/gitlab-ce-23460-send-email-when-pushing-more-commits-to-the-merge-requestYarNayar2018-03-261-0/+21
| | | | Closes #23460
* Fix and improve stubbed test for WIP commit refOswaldo Ferreira2018-02-021-31/+15
|
* Reload MRs memoization after diffs creationosw-system-notes-for-commits-regressionOswaldo Ferreira2018-02-011-0/+8
|
* Close and do not reload MR diffs when source branch is deletedOswaldo Ferreira2018-01-291-2/+23
|
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-2/+2
|
* Ensure pippeline corresponds with the sha of an MRJarka Kadlecova2017-12-051-0/+14
|
* Include the changes in issuable webhook payloadsRémy Coutable2017-10-091-4/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add a project forks spec helperBob Van Landuyt2017-10-071-3/+5
| | | | | The helper creates a fork of a project with all provided attributes, but skipping the creation of the repository on disk.
* Prepare Repository#merge for migration to Gitalyoperation-service-mergeJacob Vosmaer2017-09-151-3/+1
|