Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-21Add more storage statisticsMarkus Koller
This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.
2016-10-28Fix lightweight tags not processed correctly by GitTagPushServiceAlejandro Rodríguez
When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing to the sha of the tag to the sha of the commit the tag points to. The problem is that only annotated tags have `object_sha`s, lightweight tags don't (it's nil), so (only) in their case we still need to use `tag.target`.
2016-08-12Simplify the name for data builder, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
2016-08-11Merge remote-tracking branch 'origin/master' into pipeline-hooks-without-slackKamil Trzcinski
# Conflicts: # app/models/ci/pipeline.rb # app/services/ci/create_pipeline_service.rb # spec/models/project_services/hipchat_service_spec.rb
2016-08-11Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski
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.
2016-08-04Move those builders to their own namespace, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
2016-07-28Update to gitlab_git 10.4.1 and take advantage of preserved Ref objectsAlejandro Rodríguez
2016-07-24Revert "Merge branch ↵Alejandro Rodríguez
'17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-…" This reverts merge request !5375
2016-07-22Update to gitlab_git 10.4.1 and take advantage of preserved Ref objectsAlejandro Rodríguez
2016-07-06Services: code style fixes, minor refactoringValery Sizov
2016-05-30Enable Style/NegatedIf Rubocop copGrzegorz Bizon
Favor `unless` over `if` for negative conditions (or control flow ||). See #17478
2016-05-04Expire repository exists? and has_visible_content? caches after a push if ↵Stan Hu
necessary Closes #17012
2016-04-19Using single builder for push and tag eventsGabriel Mazetto
2016-04-19Refactor GitTagPushService and fig tags_push system event hookGabriel Mazetto
2016-04-19Added System Hooks for push and tag_pushGabriel Mazetto
Code is based on Project Webhooks, removing deprecations and without commits listing.
2016-03-08Cache & flush tag/branch countsYorick Peterse
The methods used for this are Repository#tag_count and Repository#branch_count which cache their output in Redis as well as memoizing it in an instance variable. Both methods have a corresponding methods/hooks to flush the caches at the right time.
2016-02-23Moved cache expiration code to Repository hooksYorick Peterse
This keeps all the cache expiration code in a single file/class instead of spreading it all across the codebase.
2015-12-11Remove ci_ prefix from all ci related thingsKamil Trzcinski
2015-07-17Build missing cache items in background job after each pushDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-24Use project.commit convenience method.Douwe Maan
2015-03-21Extend push_tag event to include tag message and last commitKamil Trzcinski
2015-03-13More consistent method naming.Douwe Maan
2015-03-13Set push data object kind in PushDataBuilder.Douwe Maan
2015-03-03Set correct object_kind on tag push data.Douwe Maan
2015-03-03Don't execute GitlabCiService twice for pushed tags.Douwe Maan
2015-03-03Execute services for tag push.Douwe Maan
2015-02-13Move all event creation to EventCreateService.Douwe Maan
2015-01-12Refactor push data builder. Moved it to separate classDmitriy Zaporozhets
Also execute GitLab CI on creating tag via UI
2015-01-11Execute GitLab CI on tag pushDmitriy Zaporozhets
2014-03-13Create event and clear cache on new trag pushDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-06Renamed oldrev/newrev to before/afterJeroen van Baarsen
2014-03-06Added newrev and oldrev to the hook dataJeroen van Baarsen
2014-03-06Created a basic Git Tag Push serviceJeroen van Baarsen
This is the first version, and only has the most basic information about the tag that is created.