- Sep 19, 2019
-
-
GitLab Bot authored
-
- Jun 26, 2019
-
-
Stan Hu authored
When FindCommit ref caching is enabled, negative matches would previously not be cached. However, if a source branch is deleted, there's no need to keep looking up the same commit. This change caches the result of a nil commit.
-
- May 20, 2019
-
-
Yoginth authored
-
- Apr 25, 2019
-
-
John Cai authored
Updates the gitaly client to use path_bytes field instead of the deprecated path field in list_last_commits_for_tree_response. Also adds a test to guard against non-utf8 path data
-
- Mar 27, 2019
-
-
Stan Hu authored
For a given merge request, it's quite common to see duplicate FindCommit Gitaly requests because the Gitaly CommitService caches the request by the commit SHA, not by the ref name. However, most of the duplicate requests use the ref name, so the cache is never actually used in practice. This leads to unnecessary requests that slow performance. This commit allows certain callers to bypass the ref name to OID conversion in the cache. We don't do this by default because it's possible the tip of the branch changes during the commit, which would cause the caller to get stale data. This commit also forces the Ci::Pipeline to use the full ref name so that caching can work for merge requests. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57083
-
- Feb 07, 2019
-
-
John Cai authored
Adds the client call for the gitaly rpc CountDivergingCommits fixing signature simplifying commit logic adding test for max-count refactoring tests
-
- Nov 13, 2018
-
-
gfyoung authored
Enables frozen string for the following: * lib/gitlab/fogbugz_import/**/*.rb * lib/gitlab/gfm/**/*.rb * lib/gitlab/git/**/*.rb * lib/gitlab/gitaly_client/**/*.rb * lib/gitlab/gitlab_import/**/*.rb * lib/gitlab/google_code_import/**/*.rb * lib/gitlab/gpg/**/*.rb * lib/gitlab/grape_logging/**/*.rb * lib/gitlab/graphql/**/*.rb * lib/gitlab/graphs/**/*.rb * lib/gitlab/hashed_storage/**/*.rb * lib/gitlab/health_checks/**/*.rb Partially address gitlab-org/gitlab-ce#47424.
-
- Oct 01, 2018
-
-
Tiago Botelho authored
Implements list_last_commits_for_tree to communicate with the ListLastCommitsForTree Gitaly RPC Bumps the Gitaly server version Bumps the Gitaly-Proto gem version
-
- Sep 24, 2018
-
-
Michael Kozono authored
Even if it doesn’t save lines of code, since people will tend to use code they’ve seen. And `SafeRequestStore` is safer since you don’t have to remember to check `RequestStore.active?`.
-
- Sep 17, 2018
-
-
Oswaldo Ferreir authored
This adds a basic interface to fetch diff statistics given two SHAs. It's a requirement for #49399 #20282 and #19232.
-
- Sep 11, 2018
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Sep 06, 2018
-
-
Oswaldo Ferreir authored
We used to apply this limitation on GitLab when using Rugged. Now that we've shifted to Gitaly, this parameter needs to be sent via a RPC request. Currently this value is hardcoded on Gitaly.
-
- Jul 09, 2018
-
-
Lin Jen-Shin authored
-
- Jul 05, 2018
-
-
Andrew Newdigate authored
-
- Jun 29, 2018
-
-
Sean McGivern authored
When we save merge request diffs to the database, we need to expand the diff before doing so. That's so that we can expand diffs (within the normal limits) without hitting the repository, but just by going to the database. This is done implicitly - diffs are expanded unless we say otherwise. However, we have another option we can pass, that lets us enforce diff size limits, that defaults to true. Prior to this commit: - The Rugged code path defaulted to setting `expanded: true` and `enforce_limits: true`. - The Gitaly code path defaulted to setting `expanded: false` and `enforce_limits: true`. This was introduced by eb36fa17, which implemented the initial feature. Since then, if the `gitaly_diff_between` feature flag was enabled, MRs would have diffs that could not be expanded in some cases, with no fix other than to disable the feature flag and force push to the MR to refresh the diff in the database.
-
- Jun 27, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jun 26, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jun 13, 2018
-
-
Zeger-Jan van de Weg authored
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.
-
- May 31, 2018
-
-
- May 30, 2018
-
-
Kim "BKC" Carlbäcker authored
-
- May 18, 2018
-
-
Ahmad Sherif authored
-
- Apr 12, 2018
-
-
Rubén Dávila authored
-
- Mar 02, 2018
-
-
Ahmad Sherif authored
-
- Mar 01, 2018
-
-
Ahmad Sherif authored
Closes gitaly#1046
-
- Feb 26, 2018
-
-
Ahmad Sherif authored
-
- Feb 07, 2018
-
-
Ahmad Sherif authored
-
- Jan 31, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jan 25, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jan 23, 2018
-
-
Lin Jen-Shin authored
when counting commit count.
-
- Jan 18, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jan 15, 2018
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Closes gitaly#915
-
Ahmad Sherif authored
Closes gitaly#907
-
- Dec 28, 2017
-
-
Alejandro Rodríguez authored
-
- Dec 27, 2017
-
-
Ahmad Sherif authored
-
- Dec 19, 2017
-
-
Zeger-Jan van de Weg authored
Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
-
- Dec 05, 2017
-
-
Kim "BKC" Carlbäcker authored
- Added tests for Git::Commit.shas_with_signatures
-
- Nov 29, 2017
-
-
Andrew Newdigate authored
-
- Nov 02, 2017
-
-
- Oct 03, 2017
-
-
Andrew Newdigate authored
-