GitLab Bot
b8fcc8edb4
Add latest changes from gitlab-org/gitlab@master
2022-10-03 21:09:57 +00:00
GitLab Bot
9c5341dd08
Add latest changes from gitlab-org/gitlab@master
2022-08-01 12:12:10 +00:00
GitLab Bot
9bd7e5997e
Add latest changes from gitlab-org/gitlab@master
2022-07-15 09:10:09 +00:00
GitLab Bot
f167d24074
Add latest changes from gitlab-org/gitlab@master
2022-06-29 12:09:26 +00:00
GitLab Bot
6f0447dba0
Add latest changes from gitlab-org/gitlab@master
2021-11-03 03:13:15 +00:00
GitLab Bot
d6348d22dd
Add latest changes from gitlab-org/gitlab@master
2020-06-24 09:08:32 +00:00
GitLab Bot
dc889678d1
Add latest changes from gitlab-org/gitlab@master
2020-03-12 15:09:39 +00:00
GitLab Bot
4e375367b7
Add latest changes from gitlab-org/gitlab@master
2019-12-07 00:07:51 +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
Stan Hu
ef3e6785a2
Merge branch 'frozen_string_spec_lib' into 'master'
...
Add frozen_string_literal to spec/lib (part 1)
See merge request gitlab-org/gitlab-ce!31130
2019-07-26 20:37:26 +00:00
Thong Kuah
f540ffcef6
Add frozen_string_literal to spec/lib (part 1)
...
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:25:07 +12:00
Heinrich Lee Yu
1ce5bcacdb
Remove code related to object hierarchy in MySQL
...
These are not required because MySQL is not
supported anymore
2019-07-25 15:35:06 +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
Jarka Košanová
b1c3955385
Rename GroupHierarchy into ObjectHierarchy
...
- we now use the hierarchy class also for epics
- also rename supports_nested_groups? into supports_nested_objects?
- move it to a concern
2018-12-19 15:24:29 +01:00
Gabriel Mazetto
696a5fce68
Refactor Rainbow usage in specs
...
We don't test any specific string generated by it yet, so there is no
point in keeping it enabled when we are disabling it everywhere we test its output.
2018-08-16 21:31:19 +02:00
Alejandro Rodríguez
01de2b5df8
Refactor gitlab:import:repos task to remove direct disk access
2018-07-31 16:28:44 -04:00
Jacob Vosmaer (GitLab)
a0808df0b6
Find and mark more Git disk access locations
2018-06-05 15:51:14 +00: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
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
Jacob Vosmaer
008a6a6ce6
Route path lookups through legacy_disk_path
2018-03-21 18:18:32 +01:00
Zeger-Jan van de Weg
77f0906e4c
Change Gitlab::Shell#add_namespace to #create_namespace
...
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-14 09:56:22 +01:00
Nick Thomas
6b0c6e69e1
Use hashed storage in the specs
2018-02-07 13:40:46 +00:00
Stan Hu
35d3411f77
Fix hooks not being set up properly for bare import Rake task
...
Closes #41739
2018-01-09 23:39:19 -08:00
Douglas Barbosa Alexandre
08de4746dc
Refactoring Gitlab::BareRepositoryImport::Repository
2018-01-03 16:22:00 -02:00
Douglas Barbosa Alexandre
3f5403ab74
Remove unused variable from bare repository importer spec
2018-01-03 16:17:11 -02:00
Douglas Barbosa Alexandre
62ee2ccfcc
Refactoring spec for Gitlab::BareRepositoryImport::Repository
2018-01-03 16:13:32 -02:00
Douglas Barbosa Alexandre
58c2f3b579
Fix Repository#processable? to allow .git repos in the root folder
2018-01-03 16:13:32 -02:00
Douglas Barbosa Alexandre
582678b5f5
Import directory tree created with hashed storage using import rake task
2018-01-03 16:13:32 -02:00
James Lopez
f2d4b24a94
refactor code to use new import type
2018-01-03 09:10:43 +01:00
James Lopez
54f00b7487
fix wiki check
2018-01-02 10:42:18 +01:00
James Lopez
9d0bceb3f0
add extra spec check
2018-01-02 10:42:18 +01:00
James Lopez
02276f7a70
Fix import scheduled on bare repo import
2018-01-02 10:42:18 +01:00
Stan Hu
f1eaab7bf1
Remove the need for destroy and add a comment in the spec
2017-12-10 23:41:28 -08:00
Stan Hu
86661a3a0b
Use build instead of create in importer spec
2017-12-10 23:38:55 -08:00
Stan Hu
e8cced8077
Fix failing importer test case on MySQL due to missing trailing slash in root path
2017-12-08 16:48:24 -08:00
Stan Hu
78f7c3c8a2
Fix gitlab:import:repos Rake task moving repositories into the wrong location
...
If the source import directory were different from the destination directory,
GitLab would first create a blank repository and then erroneously move the
original one into a subdirectory. Adding an import type prevents this the project
from being initialized in the first place. It was accidentally removed in
1f917cbd49.
Closes #40765
2017-12-08 14:56:43 -08:00
James Lopez
1c8af321dd
Improve GitLab Import rake task to work with Hashed Storage and Subgroups
2017-11-07 19:11:42 +00:00