Tiago Botelho
5b32a4aaff
Backports EE 38771 changes to CE.
2017-10-10 10:13:00 +01:00
Grzegorz Bizon
0430b76441
Enable Style/DotPosition Rubocop 👮
2017-06-21 13:48:12 +00:00
Tiago Botelho
810866ecb6
backports changed import logic from pull mirroring feature into CE
2017-06-05 23:09:10 +01:00
Robert Speicher
d49768296c
Auto-correct `RSpec/DescribedClass` violations
2017-05-01 11:13:33 -04:00
Robert Speicher
68e6718932
Use `:empty_project` where possible in worker specs
2017-03-27 18:45:37 -04:00
Douwe Maan
ad640bc5f9
Use Namespace#full_path instead of #path where appropriate
2017-02-23 17:55:01 -06:00
Alejandro Rodríguez
1dcfb1d3a7
Fix a bug where forking a project from a repository storage to another would fail
2016-07-26 17:22:13 -04:00
Alejandro Rodríguez
86359ec854
Refactor repository paths handling to allow multiple git mount points
2016-06-29 22:30:31 -04:00
Yorick Peterse
68a4c98f50
Cache output of Repository#exists?
...
This caches the output of Repository#exists? in Redis while making sure
it's flushed properly when creating new repositories, deleting them,
etc.
For the ProjectWiki tests to work I had to make ProjectWiki#create_repo!
public as testing private methods in RSpec is a bit of a pain.
2016-03-19 21:54:08 +01:00
Yorick Peterse
a9e0301c23
Expire caches after forking/importing a repository
...
This ensures the caches for Repository#empty? and
Repository#has_visible_content? are flushed after a repository has been
imported or forked.
Fixes gitlab-org/gitlab-ce#13505
2016-02-17 11:38:18 +01:00
Gabriel Mazetto
b5291f9599
Fixed Rubocop offenses
2015-12-15 00:53:52 -02:00
Douwe Maan
d0ec28827d
Fix specs
2015-11-18 12:02:09 +01:00
Stan Hu
9995f0806b
Import forked repositories asynchronously to prevent large repositories from timing out
...
Use import_status to track async import status and give feedback to the user
Closes #2388
Closes #2400
2015-09-11 00:34:04 -07:00