Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename GitPushService -> Git::BranchPushService | Nick Thomas | 2019-03-25 | 1 | -7/+7 |
| | |||||
* | Rename GitTagPushService -> Git::TagPushService | Nick Thomas | 2019-03-25 | 1 | -6/+6 |
| | |||||
* | Fix failing test in spec/workers/post_receive_spec.rbsh-fix-ee-issue-8871 | Stan Hu | 2019-02-06 | 1 | -4/+11 |
| | | | | | | | | | | | | | | | | | This is what was happening before: 1. `Project#set_timestamps_for_create` was called at creation time and set the `last_activity_at` and `last_repository_updated_at` to the current timestamp T. 2. The test ran `PostReceive#perform`, which then called `PostReceive#process_wiki_changes`. If less than 500 milliseconds elapsed since T, then the update would just set the timestamp to T. To fix this problem, we can just use Timecop to ensure at least one second has elapsed after attempting to process changes. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/8871 | ||||
* | Removes idenfitication by commit from Gitlab::Identifier51335-fail-early-when-user-cannot-be-identified | Tiago Botelho | 2018-10-25 | 1 | -0/+11 |
| | | | | | | | Before we would need to identify a user when pushing through the GitLab UI. Since this is no longer the case we can remove the identification by commit and instead, use the identify_using_user | ||||
* | User not defined in PostReceive#process_project_changes | Tiago Botelho | 2018-10-25 | 1 | -56/+68 |
| | | | | | | | When Gitlab::GitPostReceive#changes_refs is empty user would not get defined and nil would be passed to PostReceive#after_project_changes_hooks which would then throw an error. | ||||
* | Update project activity when pushing to a wiki repositoryda-update-project-activity | Douglas Barbosa Alexandre | 2018-03-07 | 1 | -0/+12 |
| | |||||
* | Improve post_receive spec by not stubbing private methods | Grzegorz Bizon | 2017-10-10 | 1 | -5/+7 |
| | |||||
* | Fix post receive specs regarding pipeline creation | Grzegorz Bizon | 2017-09-26 | 1 | -5/+8 |
| | |||||
* | Removes default scope from sortable23079-remove-default-scope-in-sortable | Tiago Botelho | 2017-09-07 | 1 | -0/+2 |
| | |||||
* | Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-cop | Rémy Coutable | 2017-08-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge remote-tracking branch 'upstream/master' into 30634-protected-pipeline | Lin Jen-Shin | 2017-06-29 | 1 | -44/+31 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (1168 commits) Job details won't scroll horizontally to show long lines Bring back branches badge to main project page Limit OpenGraph image size to 64x64 Improve changelog Split up MergeRequestsController Add parent_id back to the tests Make changelog more descriptive Improve tests text Rename members_count to members_count_with_descendants and expose only to group admins Fix a bug where an invalid sort param value was passed to Gitaly Drop default ORDER scope when calling a find method on a Sortable model Add tests for project import state transition: [:started] => [:finished] Add CHANGELOG Perform housekeeping only when an import of a fresh project is completed Strip trailing whitespace in relative submodule URL Adjust projects spec on namespace fields Add "members_count" and "parent_id" data on namespaces API Removes redundant pending delete checks Fix gitaly ref encoding bugs Add ProjectWiki#ensure_repository ... | ||||
| * | Use gl_repository exclusively as identifier on post-receivepostreceive-gl-repository | Alejandro Rodríguez | 2017-06-27 | 1 | -25/+13 |
| | | |||||
| * | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 1 | -3/+3 |
| | | |||||
| * | Add “Project moved” error to Git-over-SSH | Michael Kozono | 2017-06-16 | 1 | -1/+1 |
| | | |||||
| * | Correct RSpec/SingleLineHook cop offenses | Robert Speicher | 2017-06-14 | 1 | -1/+3 |
| | | |||||
| * | Refactor PostReceive worker to limit merge conflictsport-post-receive-changes | Douglas Barbosa Alexandre | 2017-06-05 | 1 | -16/+13 |
| | | |||||
* | | Try to report why it's failing and fix tests | Lin Jen-Shin | 2017-06-06 | 1 | -0/+1 |
|/ | |||||
* | Disable auto_cancel_pending_pipelines in PostReceive test | Lin Jen-Shin | 2017-05-15 | 1 | -2/+5 |
| | |||||
* | Added repository_update hook | Gabriel Mazetto | 2017-05-12 | 1 | -1/+22 |
| | |||||
* | Allow gl-repository strings as project identifiers in PostReceive worker | Alejandro Rodríguez | 2017-05-05 | 1 | -11/+32 |
| | |||||
* | Auto-correct `RSpec/DescribedClass` violationsrs-described_class-cop-2 | Robert Speicher | 2017-05-01 | 1 | -9/+9 |
| | |||||
* | Use `:empty_project` where possible in worker specs | Robert Speicher | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | Update storage settings to allow extra values per shard28447-hybrid-repository-storages | Alejandro Rodríguez | 2017-03-03 | 1 | -1/+1 |
| | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility | ||||
* | replace `find_with_namespace` with `find_by_full_path` | Adam Pahlevi | 2017-02-03 | 1 | -3/+3 |
| | | | | add complete changelog for !8949 | ||||
* | Extract project#update_merge_requests and SystemHooks to its own worker from ↵15463-extract-update-merge-requests | Paco Guzman | 2016-10-13 | 1 | -1/+7 |
| | | | | GitPushService | ||||
* | Refactor Gitlab::Identifier | Yorick Peterse | 2016-10-05 | 1 | -1/+3 |
| | | | | | | This refactors Gitlab::Identifier so it uses fewer queries and is actually tested. Queries are reduced by caching the output as well as using 1 query (instead of 2) to find a user using an SSH key. | ||||
* | Pre-create all builds for Pipeline when a trigger is received | Kamil Trzcinski | 2016-08-11 | 1 | -1/+7 |
| | | | | | | | | | | | This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved. | ||||
* | adds second batch of tests changed to active tenseactive-tense-test-coverage | tiagonbotelho | 2016-08-09 | 1 | -3/+3 |
| | |||||
* | Refactor repository paths handling to allow multiple git mount points | Alejandro Rodríguez | 2016-06-29 | 1 | -1/+1 |
| | |||||
* | Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features | Kamil Trzcinski | 2016-06-03 | 1 | -2/+2 |
| | |||||
* | Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline | Kamil Trzcinski | 2016-06-02 | 1 | -4/+4 |
| | |||||
* | Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonot | Robert Speicher | 2016-05-24 | 1 | -1/+1 |
| | | | | Also removes the note from the development/testing.md guide | ||||
* | Fix creation of Ci::Commit object which can lead to pending, failed in some ↵ | Kamil Trzcinski | 2016-05-19 | 1 | -0/+16 |
| | | | | scenarios | ||||
* | Fix high CPU usage when PostReceive receives refs/merge-requests/<id>push-ref | Kamil Trzcinski | 2016-04-11 | 1 | -4/+39 |
| | |||||
* | web hooks to webhooks | ashleys | 2016-03-10 | 1 | -1/+1 |
| | |||||
* | Expire cache when merge request source branch was removedfix-branches-cache-after-merge | Dmitriy Zaporozhets | 2015-08-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Update mock and stub syntax for specs | Robert Speicher | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | Prevent gitlab-shell character encoding issues by receiving its changes as ↵ | Douwe Maan | 2015-03-15 | 1 | -9/+9 |
| | | | | raw data. | ||||
* | Updated rspec to rspec 3.x syntax | Jeroen van Baarsen | 2015-02-12 | 1 | -8/+8 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Fix post-receive specs | Dmitriy Zaporozhets | 2014-09-02 | 1 | -4/+7 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Merge branch 'improve/mr_diff' | Dmitriy Zaporozhets | 2014-01-23 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: features/steps/project/project_fork.rb features/steps/project/project_forked_merge_requests.rb features/steps/project/project_issue_tracker.rb features/steps/project/project_markdown_render.rb features/steps/shared/project.rb | ||||
| * | Make changes to tests | Dmitriy Zaporozhets | 2014-01-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * project_with_code -> project * project -> ermpty_project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | | Remove deprecated finders | skv | 2014-01-19 | 1 | -1/+1 |
|/ | |||||
* | fixed test using repo with commits but old factory | Dmitriy Zaporozhets | 2013-04-01 | 1 | -1/+1 |
| | |||||
* | Fixing tests | Dmitriy Zaporozhets | 2013-02-25 | 1 | -2/+0 |
| | |||||
* | fixing tests after refactoring | Dmitriy Zaporozhets | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | Fixed: post-receive, project remove, tests | Dmitriy Zaporozhets | 2013-02-05 | 1 | -2/+2 |
| | |||||
* | sidekiq with green tests | Dmitriy Zaporozhets | 2013-01-09 | 1 | -4/+4 |
| | |||||
* | Update uses of Gitolite.config.foo settings | Riyad Preukschas | 2012-12-20 | 1 | -1/+1 |
| | |||||
* | Fix spec/workers/post_receive_spec.rb | Dmitriy Zaporozhets | 2012-12-13 | 1 | -2/+2 |
| |