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
2017-12-20Migrate to Project#empty_repo?Zeger-Jan van de Weg
2017-12-19[CE->EE] Fix spec/lib/gitlab/git/gitlab_projects_spec.rbValery Sizov
2017-12-18Merge branch 'sh-add-schedule-pipeline-run-now' into 'master'Kamil Trzciński
Add button to run scheduled pipeline immediately Closes #38741 See merge request gitlab-org/gitlab-ce!15700
2017-12-15Merge branch 'no-ivar-in-modules' into 'master'Robert Speicher
Add cop to make sure we don't use ivar in a module See merge request gitlab-org/gitlab-ce!12800
2017-12-15Merge branch 'rc/use-factory_bot_rails' into 'master'Robert Speicher
Replace factory_girl_rails with factory_bot_rails See merge request gitlab-org/gitlab-ce!15919
2017-12-15Merge branch 'dm-ldap-email-readonly' into 'master'Sean McGivern
Make sure user email is read only when synced with LDAP Closes #41033 See merge request gitlab-org/gitlab-ce!15915
2017-12-15Make sure user email is read only when synced with LDAPDouwe Maan
2017-12-15Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (671 commits) Make rubocop happy Use guard clause Improve language Prettify Use temp branch Pass info about who started the job and which job triggered it Docs: add indexes for monitoring and performance monitoring clearer-documentation-on-inline-diffs Add docs for commit diff discussion in merge requests sorting for tags api Clear BatchLoader after each spec to prevent holding onto records longer than necessary Include project in BatchLoader key to prevent returning blobs for the wrong project moved lfs_blob_ids method into ExtractsPath module Converted JS modules into exported modules spec fixes Bump gitlab-shell version to 5.10.3 Clear caches before updating MR diffs Use new Ruby version 2.4 in GitLab QA images moved lfs blob fetch from extractspath file Update GitLab QA dependencies ...
2017-12-14Import gitlab_projects.rb from gitlab-shellNick Thomas
By importing this Ruby code into gitlab-rails (and gitaly-ruby), we avoid 200ms of startup time for each gitlab_projects subprocess we are eliminating. By not having a gitlab_projects subprocess between gitlab-rails / sidekiq and any git subprocesses (e.g. for fork_project, fetch_remote, etc, calls), we can also manage these git processes more cleanly, and avoid sending SIGKILL to them
2017-12-14Replace factory_girl_rails with factory_bot_railsRémy Coutable
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14Merge branch 'dm-dedicated-sidekiq-queues' into 'master'Sean McGivern
Use a dedicated queue for each Sidekiq worker See merge request gitlab-org/gitlab-ce!15882
2017-12-13Merge branch 'pawel/cache_feature_check_for_5_minutes_for_method_call' into ↵Robert Speicher
'master' Cache feature check for 1 minute for MethodCall instrumentation toggle See merge request gitlab-org/gitlab-ce!15800
2017-12-13fix test case descriptionPawel Chojnacki
2017-12-13Merge branch 'add-tcp-check-rake-task' into 'master'Rémy Coutable
Add a gitlab:tcp_check rake task See merge request gitlab-org/gitlab-ce!15759
2017-12-13Add a gitlab:tcp_check rake taskNick Thomas
This allows us to avoid relying on telnet / netcat being installed
2017-12-13Merge branch 'bvl-backport-migration-spec-changes-to-ce' into 'master'Douwe Maan
Create models directly in migration specs See merge request gitlab-org/gitlab-ce!15874
2017-12-13Address review comments with playing pipeline schedulerStan Hu
2017-12-13Add spec for ActionRateLimiterStan Hu
2017-12-13Fix spec by avoiding monkeypatchingMichael Kozono
2017-12-12Merge branch ↵Robert Speicher
'tmlee/gitlab-ce-28004-consider-refactoring-member-view-by-using-presenter' into 'master' Refactor member view by using presenter Closes #28004 See merge request gitlab-org/gitlab-ce!15715
2017-12-12Merge branch 'zj-memoization-mr-commits' into 'master'Sean McGivern
Use memoization for commits on diffs See merge request gitlab-org/gitlab-ce!15857
2017-12-12Expire feature flag cache after 1minutePawel Chojnacki
2017-12-12use class variables instead of CONSTANTsPawel Chojnacki
2017-12-12Use AtomicFixNum to implement CAS isolated cache update.Pawel Chojnacki
i.e. Using compare and swap we update the expires_at value. The thread that actually is able to update this value will also set the cache holding method_call enabled state
2017-12-12Implemente measurement enabled cache using AtomicReferencePawel Chojnacki
2017-12-12Implement simple in memory cache that expires after 5 minutesPawel Chojnacki
2017-12-12Cache feature check for 5 minutes for MethodCall instrumentation togglePawel Chojnacki
2017-12-12Present member collection at the controller levelRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-12Fix rubocop offenceZeger-Jan van de Weg
2017-12-12Use a dedicated queue for each workerDouwe Maan
2017-12-12Use memoization for commits on diffsZeger-Jan van de Weg
The Gitaly CommitService is being hammered by n + 1 calls, mostly when finding commits. This leads to this gRPC being turned of on production: https://gitlab.com/gitlab-org/gitaly/issues/514#note_48991378 Hunting down where it came from, most of them were due to MergeRequest#show. To prove this, I set a script to request the MergeRequest#show page 50 times. The GDK was being scraped by Prometheus, where we have metrics on controller#action and their Gitaly calls performed. On both occations I've restarted the full GDK so all caches had to be rebuild. Current master, 806a68a81f1baee, needed 435 requests After this commit, 154 requests
2017-12-12Merge branch 'jprovazn-description' into 'master'Sean McGivern
Use message body for merge request description Closes #40968 See merge request gitlab-org/gitlab-ce!15839
2017-12-12Create models directly in migration specsBob Van Landuyt
Instead of using the factories. Since the factories might be using columns that aren't available in the schema at version the particular spec is running in.
2017-12-11Merge branch 'gitaly-mirroring-prep' into 'master'Robert Speicher
Gitaly mirroring migration prep Closes gitaly#816 See merge request gitlab-org/gitlab-ce!15775
2017-12-11Merge branch 'sh-remove-allocation-tracking-influxdb' into 'master'Yorick Peterse
Remove allocation tracking code from InfluxDB sampler for performance Closes gitlab-com/infrastructure#3250 See merge request gitlab-org/gitlab-ce!15834
2017-12-11Remove RubySampler#sample_objects for performance as wellStan Hu
2017-12-11Use message body for merge request descriptionJan Provaznik
When a merge request is created from email, use message body as merge request description. If message body is empty then merge request description is still created from the source branch commit (if there is only single commit in the merge request). If message body is empty and there are multiple commits in the source branch, then merge request description is left empty. Closes #40968
2017-12-11Remove the need for destroy and add a comment in the specStan Hu
2017-12-11Use build instead of create in importer specStan Hu
2017-12-11Remove allocation tracking code from InfluxDB sampler for performanceStan Hu
On GitLab.com, InfluxSampler#sample_objects appears to take 1.2 s or so to iterate through 1059 objects. This had led to delays of a couple hundred milliseconds in processing in the main thread. Remove this code since it's not really being used. Closes gitlab-com/infrastructure#3250
2017-12-09Fix failing importer test case on MySQL due to missing trailing slash in ↵Stan Hu
root path
2017-12-09Fix gitlab:import:repos Rake task moving repositories into the wrong locationStan Hu
If the source import directory were different from the destination directory, GitLab would first create a blank repository and then erroneously move the original one into a subdirectory. Adding an import type prevents this the project from being initialized in the first place. It was accidentally removed in 1f917cbd49. Closes #40765
2017-12-08Allow git pull/push on project redirectsMayra Cabrera
2017-12-08Merge branch 'jprovazn-ignore-anchors' into 'master'Sean McGivern
Use prefix for TableOfContents filter hrefs Closes #38473 See merge request gitlab-org/gitlab-ce!15806
2017-12-08Merge branch 'fix/gb/fix-pipeline-build-chain-tag-evaluation' into 'master'Douwe Maan
Fix invalid pipeline build chain tag evaluation Closes #40944 See merge request gitlab-org/gitlab-ce!15805
2017-12-08Use prefix for TableOfContents filter hrefsJan Provaznik
TableOfContents filter generates hrefs for each header in markdown, if the header text consists from digits and redacted symbols only, e.g. "123" or "1.0 then the auto-generated href has the same format as issue references. If the generated id contains only digits, then 'anchor-' prefix is prepended to the id. Closes #38473
2017-12-08Fix RubocopKamil Trzcinski
2017-12-08Add Chain::Command specsKamil Trzcinski
2017-12-08Implement and use Gitlab::Ci::Pipeline::Chain::CommandKamil Trzcinski
2017-12-08Fix invalid pipeline build chain tag evaluationGrzegorz Bizon