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
2022-12-20Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42GitLab Bot
2022-09-20Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42GitLab Bot
2021-07-20Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-04-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-20Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-23Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-09Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-29Remove the fallback path from gitlab-cePatrick Bajao
2019-08-22Add frozen_string_literal to lib part 2Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-05-30Remove hook directory requirement from ShellZeger-Jan van de Weg
It used to be the case that GitLab created symlinks for each repository to one copy of the Git hooks, so these ran when required. This changed to set the hooks dynamically on Gitaly when invoking Git. The side effect is that we didn't need all these symlinks anymore, which Gitaly doesn't create anymore either. Now that means that the tests in GitLab-Rails should test for it either. Related: https://gitlab.com/gitlab-org/gitaly/issues/1392#note_175619926
2019-03-19Integrate Gitlab::Keys with Gitlab::ShellPatrick Bajao
In this commit, some methods that aren't being used are removed from `Gitlab::Shell`. They are the ff: - `#remove_keys_not_found_in_db` - `#batch_read_key_ids` - `#list_key_ids` The corresponding methods in `Gitlab::Keys` have been removed as well.
2019-02-27Prepare test suite for switch to Gitaly-embedded Git hooksJacob Vosmaer
2019-02-06Clean up Shell.fork_repositoryStan Hu
Use project models instead of a list of parameters.
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-06Stop Repository#fetch_remote from using Gitlab::ShellNick Thomas
This indirection doesn't provide any value, so remove it
2018-09-12Remove Rugged and shell code from Gitlab::GitAlejandro RodrĂ­guez
2018-07-09Use Gitaly for fetches and creating bundlesJacob Vosmaer
2018-06-19Move forking to GitalyZeger-Jan van de Weg
Closes https://gitlab.com/gitlab-org/gitaly/issues/817 Closes https://gitlab.com/gitlab-org/gitaly/issues/1236
2018-06-12Find and mark more Git disk access locations, part 2Jacob Vosmaer
2018-06-05Find and mark more Git disk access locationsJacob Vosmaer (GitLab)
2018-04-25Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg
Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-18Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉
2018-04-03Use shard name in Git::GitlabProjects instead of shard pathAhmad Sherif
Closes gitaly#1110
2018-03-23Merge branch 'mark-legacy-git-access' into 'master'Sean McGivern
Route path lookups through legacy_disk_path See merge request gitlab-org/gitlab-ce!17743
2018-03-21Route path lookups through legacy_disk_pathJacob Vosmaer
2018-03-14Change Gitlab::Shell#add_namespace to #create_namespaceZeger-Jan van de Weg
Prior to this change, this method was called add_namespace, which broke the CRUD convention and made it harder to grep for what I was looking for. Given the change was a find and replace kind of fix, this was changed without opening an issue and on another feature branch. If more dynamic calls are made to add_namespace, these could've been missed which might lead to incorrect bahaviour. However, going through the commit log it seems thats not the case.
2018-03-06Make --prune a configurable parameter in fetching a git remoteStan Hu
By default, --prune is added to the command-line of a `git fetch` operation, but for repositories with many references this can take a long time to run. We shouldn't need to run --prune the first time we fetch a new repository.
2018-02-07Use hashed storage in the specsNick Thomas
2018-01-10Merge branch 'zj-migrate-gitlab-project-rm-mv' into 'master'Douwe Maan
Migrate GitlabProject (re)move project endpoints Closes gitaly#873 See merge request gitlab-org/gitlab-ce!16249
2018-01-09Migrate GitlabProject (re)move project endpointsZeger-Jan van de Weg
Migration is done through a small refactoring, which makes us call endpoins which are performing the same actions for namespaces. Tests are added to ensure only the project is removed that should be removed. Closes gitlab-org/gitaly#873
2018-01-09Merge branch 'jej/backport-authorized-keys-to-ce' into 'master'Douwe Maan
Backport authorized_keys Closes gitlab-ee#3953 See merge request gitlab-org/gitlab-ce!16014
2018-01-08Fix spec in shell_spec.rbJames Edwards-Jones
The spec for "#add_key does nothing" would always have passed, since the expectation was on both the wrong object and message.
2018-01-08Backport spec fixes in spec/lib/gitlab/shell_spec.rbValery Sizov
2018-01-08Backport authorized_keys_enabled defaults to true'Michael Kozono
Originally from branch 'fix-authorized-keys-enabled-default-2738' via merge request https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2240 Removed background migrations which were intended to fix state after using Gitlab without a default having been set Squashed commits: Locally, if Spring was not restarted, `current_application_settings` was still cached, which prevented the migration from editing the file. This will also ensure that any app server somehow hitting old cache data will properly default this setting regardless. Retroactively fix migration This allows us to identify customers who ran the broken migration. Their `authorized_keys_enabled` column does not have a default at this point. We will fix the column after we fix the `authorized_keys` file. Fix authorized_keys file if needed Add default to authorized_keys_enabled setting Reminder: The original migration was fixed retroactively a few commits ago, so people who did not ever run GitLab 9.3.0 already have a column that defaults to true and disallows nulls. I have tested on PostgreSQL and MySQL that it is safe to run this migration regardless. Affected customers who did run 9.3.0 are the ones who need this migration to fix the authorized_keys_enabled column. The reason for the retroactive fix plus this migration is that it allows us to run a migration in between to fix the authorized_keys file only for those who ran 9.3.0. Tweaks to address feedback Extract work into background migration Move batch-add-logic to background migration Do the work synchronously to avoid multiple workers attempting to add batches of keys at the same time. Also, make the delete portion wait until after adding is done. Do read and delete work in background migration Fix Rubocop offenses Add changelog entry Inform the user of actions taken or not taken Prevent unnecessary `select`s and `remove_key`s Add logs for action taken Fix optimization Reuse `Gitlab::ShellAdapter` Guarantee the earliest key Fix migration spec for MySQL
2018-01-08Backport option to disable writing to `authorized_keys` fileMichael Kozono
Originally branch 'mk-toggle-writing-to-auth-keys-1631' See merge request !2004 Squashed commits: Add authorized_keys_enabled to Application Settings Ensure default settings are exposed in UI Without this change, `authorized_keys_enabled` is unchecked when it is nil, even if it should be checked by default. Add “Speed up SSH operations” documentation Clarify the reasons for disabling writes Add "How to go back" section Tweak copy Update Application Setting screenshot
2018-01-06Pass timeout to RepositoryService.FetchRemote Gitaly RPC callsAlejandro RodrĂ­guez
2018-01-04Move delete_remote_branches from Gitlab::Shell to Gitlab::Git::RepositoryAlejandro RodrĂ­guez
2018-01-04Move push_remote_branches from Gitlab::Shell to Gitlab::Git::RepositoryAlejandro RodrĂ­guez
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-04Fix the fork project functionality for projects with hashed storageNick Thomas
Note the dependency on gitlab-shell v5.10.0
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-10-05Gitaly namespace service enabled for GitLabZeger-Jan van de Weg