GitLab Bot
5a5540954c
Add latest changes from gitlab-org/gitlab@master
2024-05-21 12:23:42 +00:00
GitLab Bot
44696847f6
Add latest changes from gitlab-org/gitlab@master
2023-10-13 03:10:36 +00:00
GitLab Bot
fdb5a6d73c
Add latest changes from gitlab-org/gitlab@master
2023-10-05 03:08:14 +00:00
GitLab Bot
49d36ce6e3
Add latest changes from gitlab-org/gitlab@master
2023-10-04 12:17:55 +00:00
GitLab Bot
2f08c2b7d2
Add latest changes from gitlab-org/gitlab@master
2023-10-03 15:10:59 +00:00
GitLab Bot
5ab92edc77
Add latest changes from gitlab-org/gitlab@master
2022-12-02 06:08:59 +00:00
GitLab Bot
e3748b81ca
Add latest changes from gitlab-org/gitlab@master
2022-11-16 12:09:30 +00:00
GitLab Bot
5b72415235
Add latest changes from gitlab-org/gitlab@master
2022-09-02 00:11:46 +00:00
GitLab Bot
e5e0589e09
Add latest changes from gitlab-org/gitlab@master
2021-04-26 12:09:44 +00:00
GitLab Bot
0eaa82ad61
Add latest changes from gitlab-org/gitlab@master
2020-09-11 12:08:50 +00:00
GitLab Bot
c6b3ec3f56
Add latest changes from gitlab-org/gitlab@master
2020-04-07 15:09:30 +00:00
GitLab Bot
154b9bae14
Add latest changes from gitlab-org/gitlab@master
2020-03-17 21:09:16 +00:00
GitLab Bot
cbfe03ae04
Add latest changes from gitlab-org/gitlab@master
2020-03-16 12:09:12 +00:00
GitLab Bot
cd52759ee3
Add latest changes from gitlab-org/gitlab@master
2020-03-12 12:09:17 +00:00
GitLab Bot
22e9af3c8b
Add latest changes from gitlab-org/gitlab@master
2020-01-27 12:08:35 +00:00
GitLab Bot
d10a462fed
Add latest changes from gitlab-org/gitlab@master
2019-12-16 12:07:43 +00:00
GitLab Bot
8cc5f27909
Add latest changes from gitlab-org/gitlab@master
2019-12-13 12:07:41 +00:00
GitLab Bot
b3e4ec8e8a
Add latest changes from gitlab-org/gitlab@master
2019-10-23 09:06:03 +00:00
GitLab Bot
3744bcc0d1
Add latest changes from gitlab-org/gitlab@master
2019-10-09 09:06:19 +00:00
GitLab Bot
1da3754b25
Add latest changes from gitlab-org/gitlab@master
2019-10-03 21:07:29 +00:00
GitLab Bot
4f4dcd3c5d
Add latest changes from gitlab-org/gitlab@master
2019-10-02 15:06:12 +00:00
GitLab Bot
80f61b4035
Add latest changes from gitlab-org/gitlab@master
2019-09-18 14:02:45 +00:00
Patrick Bajao
c08191e0d5
Remove the fallback path from gitlab-ce
2019-08-29 16:33:04 +08:00
Mayra Cabrera
0ab89d8e36
Add a rubocop for Rails.logger
...
Suggests to use a JSON structured log instead
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-10 19:26:47 +00:00
Patrick Bajao
26dadbc9c4
Integrate Gitlab::Keys with Gitlab::Shell
...
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-03-19 11:16:21 +00:00
Jacob Vosmaer
078f11a6b9
Prepare test suite for switch to Gitaly-embedded Git hooks
2019-02-27 10:58:21 +00:00
Zeger-Jan van de Weg
c00a1ec093
Only allow 30 RPCs per test case to Gitaly
...
Prior to this change, 35 Gitaly RPCs were allowed. But recently there's
been a renewed interest in performance. By lowering the number of
calls new N + 1's will pop up.
Later commits will add blocks to ignore the raised errors, followed by
an issue for each to be fixed.
2019-02-22 14:51:27 +00:00
Stan Hu
f929411c6d
Rename gl_project_name -> gl_project_path
...
Upgrade gitaly-proto to 1.10.0 to have this field.
2019-02-05 21:33:10 -08:00
Stan Hu
322402aada
Add more tests and comments around Wiki formatting
2019-02-05 21:33:10 -08:00
Stan Hu
b103f61450
Add convenience methods for creating project and Wiki repositories
...
This makes it easier to access other project arguments in the future.
2019-02-05 21:33:10 -08:00
Stan Hu
1af22dbe5c
Add comment to explain why gl_repository is blank
...
During creation of a repository, gl_repository may not be known because
that depends on a yet-to-be assigned project ID in the database
(e.g. project-1234), so for now it is blank.
2019-02-05 21:33:10 -08:00
Stan Hu
59a7d67fb9
Rename name -> disk_path in create_repository
...
With hashed storage, the project name may not necessarily be the project
name, so rename the variable to make it clear.
2019-02-05 21:33:09 -08:00
Stan Hu
a9ab6dbc63
Refactor use of Shell.import_repository for Wikis
...
The previous behavior would pass in a list of parameters
to Shell, but we can improve this by using the WikiFormatter
and Project models to give us the same information.
2019-02-05 21:33:09 -08:00
Stan Hu
6bac612dc4
Clean up Shell.fork_repository
...
Use project models instead of a list of parameters.
2019-02-05 21:33:09 -08:00
Stan Hu
82b6e5378a
Send project name with Gitaly repository requests
...
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
2019-02-05 21:33:09 -08:00
Valery Sizov
6670f838b5
Track Sentry error when namespace cannot be moved
...
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8926
2019-01-04 20:49:01 +02:00
Nick Thomas
668e5d63fa
Stop Repository#fetch_remote from using Gitlab::Shell
...
This indirection doesn't provide any value, so remove it
2018-11-06 12:42:00 +00:00
gfyoung
c858f70d07
Enable frozen string for lib/gitlab/*.rb
2018-10-22 07:00:50 +00:00
Robert Speicher
c7d1eef671
Merge branch 'rubocop-code-reuse' into 'master'
...
Add RuboCop cops to enforce code reusing rules
See merge request gitlab-org/gitlab-ce!21391
2018-09-13 14:53:05 +00:00
Alejandro Rodríguez
d3c5b07962
Remove Rugged and shell code from Gitlab::Git
2018-09-12 12:32:32 -03:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Jacob Vosmaer
a4e75e7a83
Use Gitaly for fetches and creating bundles
2018-07-09 12:50:17 +02:00
Jacob Vosmaer
c770d2f96e
Make more things mandatory
2018-07-06 14:44:54 +02:00
Zeger-Jan van de Weg
1dc0332726
Move forking to Gitaly
...
Closes https://gitlab.com/gitlab-org/gitaly/issues/817
Closes https://gitlab.com/gitlab-org/gitaly/issues/1236
2018-06-19 13:30:54 +02:00
Jacob Vosmaer
f376347f24
Find and mark more Git disk access locations, part 2
2018-06-12 14:33:37 +02:00
Zeger-Jan van de Weg
12be728b17
Remove old GitLab Shell implementation
...
Moves the calls to Gitaly, no matter what the feature flag values are.
2018-05-02 11:54:43 +02:00
Zeger-Jan van de Weg
ec4423665c
Gitlab::Shell works on shard name, not path
...
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-25 13:36:22 +02:00
🙈 jacopo beschi 🙉
c6b1043e9d
Resolve "Make a Rubocop that forbids returning from a block"
2018-04-18 09:19:40 +00:00
Ahmad Sherif
ddfc661f79
Use shard name in Git::GitlabProjects instead of shard path
...
Closes gitaly#1110
2018-04-03 16:22:13 +02:00
Sean McGivern
bb9d360c0a
Merge branch 'mark-legacy-git-access' into 'master'
...
Route path lookups through legacy_disk_path
See merge request gitlab-org/gitlab-ce!17743
2018-03-23 10:20:45 +00:00