- Apr 11, 2019
-
-
Patrick Bajao authored
This reverts commit 6c75bd01, reversing changes made to 1be7f5aa.
-
- Apr 02, 2019
-
-
Patrick Bajao authored
Add `GetArchiveRequest` to git-archive params. Modifies `Git::Repository#archive_metadata` to append `path` to `ArchivePrefix` so it'll not hit the cache of repository archive when it already exists.
-
- Mar 12, 2019
-
-
Yorick Peterse authored
EE added the ability to set timeouts when handling blobs. Since there's no particular reason for this to be EE specific we can just backport this to CE.
-
- Mar 06, 2019
-
-
Andrew Newdigate authored
This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
-
When `force` is set to `true` and `start_branch` is set, the branch will be ovewritten with the new commit based on the `HEAD` of the `start_branch`. This commit includes changes to update the `gitaly-proto` gem.
-
- Mar 04, 2019
-
-
Stan Hu authored
This brings back some of the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20095. 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_commit_is_ancestor` to activate the Rugged path. Part of four Rugged changes identified in https://gitlab.com/gitlab-org/gitlab-ce/issues/57317.
-
- Mar 01, 2019
-
-
Stan Hu authored
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.
-
- Feb 25, 2019
-
-
Oswaldo Ferreir authored
Adds the ground work for writing into the merge ref refs/merge-requests/:iid/merge the merge result between source and target branches of a MR, without further side-effects such as mailing, MR updates and target branch changes.
-
- 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
-
- Feb 06, 2019
-
-
Stan Hu authored
Upgrade gitaly-proto to 1.10.0 to have this field.
-
Stan Hu authored
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
-
- Jan 10, 2019
-
-
Nick Thomas authored
-
- Dec 07, 2018
-
-
Zeger-Jan van de Weg authored
When a project is forked, the new repository used to be a deep copy of everything stored on disk by leveraging `git clone`. This works well, and makes isolation between repository easy. However, the clone is at the start 100% the same as the origin repository. And in the case of the objects in the object directory, this is almost always going to be a lot of duplication. Object Pools are a way to create a third repository that essentially only exists for its 'objects' subdirectory. This third repository's object directory will be set as alternate location for objects. This means that in the case an object is missing in the local repository, git will look in another location. This other location is the object pool repository. When Git performs garbage collection, it's smart enough to check the alternate location. When objects are duplicated, it will allow git to throw one copy away. This copy is on the local repository, where to pool remains as is. These pools have an origin location, which for now will always be a repository that itself is not a fork. When the root of a fork network is forked by a user, the fork still clones the full repository. Async, the pool repository will be created. Either one of these processes can be done earlier than the other. To handle this race condition, the Join ObjectPool operation is idempotent. Given its idempotent, we can schedule it twice, with the same effect. To accommodate the holding of state two migrations have been added. 1. Added a state column to the pool_repositories column. This column is managed by the state machine, allowing for hooks on transitions. 2. pool_repositories now has a source_project_id. This column in convenient to have for multiple reasons: it has a unique index allowing the database to handle race conditions when creating a new record. Also, it's nice to know who the host is. As that's a short link to the fork networks root. Object pools are only available for public project, which use hashed storage and when forking from the root of the fork network. (That is, the project being forked from itself isn't a fork) In this commit message I use both ObjectPool and Pool repositories, which are alike, but different from each other. ObjectPool refers to whatever is on the disk stored and managed by Gitaly. PoolRepository is the record in the database.
-
- Nov 26, 2018
-
-
Bob Van Landuyt authored
Use shelling out to git to write refs instead of rugged, hoping to avoid creating invalid refs. To update HEAD we switched to using `git symbolic-ref`.
-
Douwe Maan authored
-
- Nov 21, 2018
-
-
Takuya Noguchi authored
Signed-off-by:
Takuya Noguchi <takninnovationresearch@gmail.com>
-
- Nov 20, 2018
-
-
Zeger-Jan van de Weg authored
This reverts merge request !23229
-
Sean McGivern authored
This reverts merge request !23140
-
- Nov 16, 2018
-
-
Zeger-Jan van de Weg authored
Now only the data was shown of the service, which is not valueable at times given some of those expose a lot of RPCs.
-
- Nov 14, 2018
-
-
Oswaldo Ferreir authored
-
- 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.
-
- Nov 07, 2018
-
-
Francisco Javier López authored
This new endpoint allow users to update a submodule's reference. The MR involves adding a new operation RPC operation in gitaly-proto (see gitlab-org/gitaly-proto!233) and change Gitaly to use this new version (see gitlab-org/gitaly!936). See gitlab-org/gitlab-ce!20949
-
- Nov 06, 2018
-
-
Nick Thomas authored
This indirection doesn't provide any value, so remove it
-
- Oct 30, 2018
-
-
Bob Van Landuyt authored
Having this in a concern allows us to reuse it for different single purpose classes that call out to git without going through the repository every time.
-
- Oct 12, 2018
-
-
Bob Van Landuyt authored
As we now support getting the merge base for multiple revisions in gitaly, we can provide this functionality in our API
-
- Oct 10, 2018
-
-
Zeger-Jan van de Weg authored
Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
-
- Oct 02, 2018
-
-
Alejandro Rodríguez authored
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.
-
- 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 19, 2018
-
-
- 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.
-
Nick Thomas authored
-
- Sep 12, 2018
-
-
Alejandro Rodríguez authored
-
- Sep 06, 2018
-
-
Douglas Barbosa Alexandre authored
-
- Aug 16, 2018
-
-
Zeger-Jan van de Weg authored
This has been tested on .com. So far no errors have been seen. Closes https://gitlab.com/gitlab-org/gitaly/issues/1310 Closes https://gitlab.com/gitlab-org/gitaly/issues/1246
-
- Aug 14, 2018
-
-
Zeger-Jan van de Weg authored
Introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20087, this has been tested on .com now, and is stable. Closes https://gitlab.com/gitlab-org/gitaly/issues/1286 Closes https://gitlab.com/gitlab-org/gitaly/issues/1233
-
- Aug 08, 2018
-
-
Rubén Dávila authored
-
- Aug 07, 2018
-
-
Rubén Dávila authored
-
- Jul 31, 2018
-
-
Alejandro Rodríguez authored
-
- Jul 27, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jul 24, 2018
-
-
Zeger-Jan van de Weg authored
-