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
2021-09-20Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2021-02-18Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-01-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-07-05Use Rugged if we detect storage is NFS and we can access the diskJohn Cai
Add a module we use as a singleton to determine whether or not rails is able to access the disk
2019-04-17Bring back Rugged implementation of ListCommitsByOidStan Hu
This brings back changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20432. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged may be faster than going through than Gitaly. This merge request introduces the feature flag `rugged_list_commits_by_oid` to activate the Rugged method. For one customer, we saw that ListCommitsByOid was the second highest used endpoint that may be causing increased load.
2019-04-05Autocorrect with RSpec/ExampleWording copThong Kuah
- rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
2019-03-22Enrich commits with full data in CommitCollectionLuke Duncalfe
Allow incomplete commit records to load their full data from gitaly. Commits can be based on a Hash of data retrieved from PostgreSQL, and this data can be intentionally incomplete in order to save space. A new method #gitaly? has been added to Gitlab::Git::Commit, which returns true if the underlying data source of the Commit is a Gitaly::GitCommit. CommitCollection now has a method #enrich which replaces non-gitaly commits in place with commits from gitaly. CommitCollection#without_merge_commits has been updated to call this method, as in order to determine a merge commit we need to have parent data. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58805
2019-03-01Bring back Rugged implementation of find_commitStan Hu
This brings back some of the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20339. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged is more performant than Gitaly. This merge request introduces the feature flag `rugged_find_commit` to activate Rugged paths. There are also Rake tasks `gitlab:features:enable_rugged` and `gitlab:features:disable_rugged` to enable/disable these feature flags altogether. Part of four Rugged changes identified in https://gitlab.com/gitlab-org/gitlab-ce/issues/57317.
2019-02-06Send project name with Gitaly repository requestsStan Hu
When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2018-11-26Batch load only data from same repository when lazy object is accessedDouwe Maan
By specifying `key`, we get a different lazy batch loader for each repository, which means that accessing a lazy object from one repository will only result in that repository's objects being fetched, not those of other repositories, saving us some unnecessary Gitaly lookups.
2018-11-20Revert "Merge branch 'revert-e2aa2177' into 'master'"Zeger-Jan van de Weg
This reverts merge request !23229
2018-11-20Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"Sean McGivern
This reverts merge request !23140
2018-11-20Merge branch 'zj-improve-gitaly-pb' into 'master'Sean McGivern
Show what RPC is called in the performance bar See merge request gitlab-org/gitlab-ce!23140
2018-11-19Remove duplicate tests for GitalyZeger-Jan van de Weg
The disabling of Gitaly was basically stubbing `Feature.enabled?` call, which was never triggered.
2018-11-15Fix typos in libGeorge Tsiolis
2018-10-02Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez
Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
2018-07-31Refactor gitlab:import:repos task to remove direct disk accessAlejandro Rodríguez
2018-07-18Remove unreachable Git codeJacob Vosmaer (GitLab)
2018-06-28FindAllCommits mandatoryZeger-Jan van de Weg
Closes https://gitlab.com/gitlab-org/gitaly/issues/326
2018-06-27Make Gitaly signature RPC's mandatoryJacob Vosmaer
2018-06-13ListCommitByOid isn't called with an empty batchZeger-Jan van de Weg
Batching commits for performance improvements, might lead to empty batches being used. This isn't the case yet, but to guard against this in future cases, a guard clause is added.
2018-06-12Find and mark more Git disk access locations, part 2Jacob Vosmaer
2018-05-30Fix encoding error in Gitaly::Commit::TreeEntryKim "BKC" Carlbäcker
2018-05-18Add handling for commit/tags with big messagesAhmad Sherif
2018-05-16Workhorse to send raw diff and patch for commitsZeger-Jan van de Weg
Prior to this change, this was done through unicorn. In theory this could time out. Workhorse has been sending these raw patches and diffs for a long time and is stable in doing so. Added bonus is the fact that `Commit#to_patch` can be removed. `Commit#to_diff` too, which closes https://gitlab.com/gitlab-org/gitaly/issues/324 Closes https://gitlab.com/gitlab-org/gitaly/issues/1196
2018-03-01Fetch commit signatures from Gitaly in batchesAhmad Sherif
Closes gitaly#1046
2018-02-20Add unit tests for Gitaly typesZeger-Jan van de Weg
2018-01-18Retrieve commit signatures with GitalyJacob Vosmaer (GitLab)
2018-01-04Remove the Commit#tree methodJacob Vosmaer
2018-01-03Speed up generation of commit stats by using Rugged native methodsStan Hu
The previous implementation iterated across the entire patch set to determine the number of lines added, deleted, and changed. Rugged has a native method `Rugged::Diff#stat` that does this already, which appears to be a little faster and require less RAM than doing this ourselves. Improves performance in #41524
2017-12-05Migrate Gitlab::Git::Commit.shas_with_signaturesKim "BKC" Carlbäcker
- Added tests for Git::Commit.shas_with_signatures
2017-10-07Replaces `tag: true` into `:tag` in the specsJacopo
Replaces all the explicit include metadata syntax in the specs (tag: true) into the implicit one (:tag). Added a cop to prevent future errors and handle autocorrection.
2017-09-30Add a factory for `Gitaly::GitCommit`sAlejandro Rodríguez
2017-09-25Migrate Gitlab::Git::Repository#log to GitalyKim "BKC" Carlbäcker
2017-09-11Migrate Git::CommitStats to GitalyKim "BKC" Carlbäcker
2017-08-23Make gl_repository a G::G::Repository attributeJacob Vosmaer
2017-08-14Handle missing .gitmodules when getting submodule urlsJacob Vosmaer
2017-08-08Incorporate Gitaly's CommitService.FindCommit RPCAlejandro Rodríguez
2017-08-08Refactor Gitlab::Git::Commit to include a repositoryAlejandro Rodríguez