Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@13-4-stable-ee | GitLab Bot | 2020-09-19 | 1 | -4/+4 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-3-stable-ee | GitLab Bot | 2020-08-20 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-2-stable-ee | GitLab Bot | 2020-07-20 | 1 | -2/+30 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-0-stable-ee | GitLab Bot | 2020-05-20 | 1 | -0/+20 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-01-16 | 1 | -1/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-12-12 | 1 | -0/+4 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-12-07 | 1 | -2/+6 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-12-03 | 1 | -4/+18 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-11-21 | 1 | -3/+5 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-10-21 | 1 | -14/+4 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-10-18 | 1 | -0/+9 |
| | |||||
* | Use Rugged if we detect storage is NFS and we can access the diskjc-detect-nfs-for-rugged | John Cai | 2019-07-05 | 1 | -1/+1 |
| | | | | | Add a module we use as a singleton to determine whether or not rails is able to access the disk | ||||
* | Bring back Rugged implementation of ListCommitsByOid | Stan Hu | 2019-04-17 | 1 | -1/+36 |
| | | | | | | | | | | | | | 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. | ||||
* | Autocorrect with RSpec/ExampleWording cop | Thong Kuah | 2019-04-05 | 1 | -7/+7 |
| | | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only" | ||||
* | Enrich commits with full data in CommitCollection | Luke Duncalfe | 2019-03-22 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Bring back Rugged implementation of find_commit | Stan Hu | 2019-03-01 | 1 | -1/+15 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Send project name with Gitaly repository requests | Stan Hu | 2019-02-05 | 1 | -2/+2 |
| | | | | | | | 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 | ||||
* | Batch load only data from same repository when lazy object is accessed | Douwe Maan | 2018-11-26 | 1 | -0/+6 |
| | | | | | | | 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. | ||||
* | Revert "Merge branch 'revert-e2aa2177' into 'master'" | Zeger-Jan van de Weg | 2018-11-20 | 1 | -111/+83 |
| | | | This reverts merge request !23229 | ||||
* | Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"revert-e2aa2177 | Sean McGivern | 2018-11-20 | 1 | -83/+111 |
| | | | This reverts merge request !23140 | ||||
* | Merge branch 'zj-improve-gitaly-pb' into 'master' | Sean McGivern | 2018-11-20 | 1 | -111/+83 |
|\ | | | | | | | | | Show what RPC is called in the performance bar See merge request gitlab-org/gitlab-ce!23140 | ||||
| * | Remove duplicate tests for Gitaly | Zeger-Jan van de Weg | 2018-11-19 | 1 | -111/+83 |
| | | | | | | | | | | The disabling of Gitaly was basically stubbing `Feature.enabled?` call, which was never triggered. | ||||
* | | Fix typos in lib | George Tsiolis | 2018-11-15 | 1 | -1/+1 |
|/ | |||||
* | Remove Gitlab::Git::Repository#rugged and Gollum code | Alejandro Rodríguez | 2018-10-02 | 1 | -19/+12 |
| | | | | | | | | 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. | ||||
* | Refactor gitlab:import:repos task to remove direct disk access | Alejandro Rodríguez | 2018-07-31 | 1 | -1/+1 |
| | |||||
* | Remove unreachable Git code | Jacob Vosmaer (GitLab) | 2018-07-18 | 1 | -8/+10 |
| | |||||
* | FindAllCommits mandatory | Zeger-Jan van de Weg | 2018-06-28 | 1 | -66/+36 |
| | | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/326 | ||||
* | Make Gitaly signature RPC's mandatory | Jacob Vosmaer | 2018-06-27 | 1 | -26/+4 |
| | |||||
* | ListCommitByOid isn't called with an empty batch | Zeger-Jan van de Weg | 2018-06-13 | 1 | -0/+10 |
| | | | | | | 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. | ||||
* | Find and mark more Git disk access locations, part 2 | Jacob Vosmaer | 2018-06-12 | 1 | -5/+12 |
| | |||||
* | Fix encoding error in Gitaly::Commit::TreeEntry | Kim "BKC" Carlbäcker | 2018-05-30 | 1 | -2/+2 |
| | |||||
* | Add handling for commit/tags with big messages | Ahmad Sherif | 2018-05-18 | 1 | -3/+53 |
| | |||||
* | Workhorse to send raw diff and patch for commits | Zeger-Jan van de Weg | 2018-05-16 | 1 | -14/+0 |
| | | | | | | | | | | | | | 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 | ||||
* | Fetch commit signatures from Gitaly in batchesfeature/fetch-commit-signs-from-gitaly-in-batch | Ahmad Sherif | 2018-03-01 | 1 | -56/+86 |
| | | | | Closes gitaly#1046 | ||||
* | Add unit tests for Gitaly typeszj-unit-test-gitaly-arrays | Zeger-Jan van de Weg | 2018-02-20 | 1 | -0/+4 |
| | |||||
* | Retrieve commit signatures with Gitaly | Jacob Vosmaer (GitLab) | 2018-01-18 | 1 | -0/+78 |
| | |||||
* | Remove the Commit#tree methodremove-commit-tree | Jacob Vosmaer | 2018-01-04 | 1 | -1/+0 |
| | |||||
* | Speed up generation of commit stats by using Rugged native methodssh-optimize-commit-stats | Stan Hu | 2018-01-02 | 1 | -0/+5 |
| | | | | | | | | | | 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 | ||||
* | Migrate Gitlab::Git::Commit.shas_with_signaturesgitaly-764-commit-filter-shas-with-signature | Kim "BKC" Carlbäcker | 2017-12-05 | 1 | -0/+29 |
| | | | | - Added tests for Git::Commit.shas_with_signatures | ||||
* | Replaces `tag: true` into `:tag` in the specs | Jacopo | 2017-10-07 | 1 | -3/+3 |
| | | | | | | 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. | ||||
* | Add a factory for `Gitaly::GitCommit`s | Alejandro Rodríguez | 2017-09-30 | 1 | -27/+5 |
| | |||||
* | Migrate Gitlab::Git::Repository#log to Gitaly | Kim "BKC" Carlbäcker | 2017-09-25 | 1 | -1/+9 |
| | |||||
* | Migrate Git::CommitStats to Gitalygitaly-519-commit-stats | Kim "BKC" Carlbäcker | 2017-09-11 | 1 | -1/+9 |
| | |||||
* | Make gl_repository a G::G::Repository attribute | Jacob Vosmaer | 2017-08-23 | 1 | -4/+4 |
| | |||||
* | Handle missing .gitmodules when getting submodule urlsmalformed-submodule | Jacob Vosmaer | 2017-08-14 | 1 | -2/+2 |
| | |||||
* | Incorporate Gitaly's CommitService.FindCommit RPCgitaly-find-commit | Alejandro Rodríguez | 2017-08-07 | 1 | -1/+4 |
| | |||||
* | Refactor Gitlab::Git::Commit to include a repository | Alejandro Rodríguez | 2017-08-07 | 1 | -26/+26 |
| | |||||
* | Remove unnecessary 'raw' alias | Jacob Vosmaer | 2017-08-03 | 1 | -1/+1 |
| | |||||
* | Migrate Gitlab::Git::Commit.find_all to Gitalyfeature/migrate-commit-find-all-to-gitaly | Ahmad Sherif | 2017-07-20 | 1 | -50/+66 |
| | | | | Closes gitaly#396 | ||||
* | Incorporate Gitaly's Commits#between RPC | Alejandro Rodríguez | 2017-07-18 | 1 | -2/+13 |
| |