Jacob Vosmaer
6bcc52a536
Refine Git garbage collection
2016-11-04 14:30:11 +01:00
Grzegorz Bizon
cfd0d66c83
Reassign secret token when regenerating one
2016-10-13 10:04:58 +02:00
Justin DiPierro
fe46e4eb35
Load Github::Shell's secret token from file on initialization instead of every request.
2016-10-06 11:22:37 -04:00
Jacob Vosmaer
67ec96e3e0
Strip comments before sending keys to gitlab-shell
...
Avoid issues with text encoding by not sending out non-7-bit ASCII
text.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/22167
2016-09-16 11:49:11 +02:00
Elan Ruusamäe
ab43e9c1f9
update gitlab shell secret file also when it is empty
2016-09-13 09:38:51 +03:00
Jacob Vosmaer
7a99826694
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into remove-grack-lfs
2016-08-09 12:27:37 +02: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
Jacob Vosmaer
df3ca41e62
Remove obsolete code
2016-07-22 17:54:04 +02:00
Kamil Trzcinski
bb9f827ddc
Fix fetching LFS objects for private CI projects
2016-07-15 14:23:26 +02:00
Grzegorz Bizon
9e211091a8
Enable Style/EmptyLines cop, remove redundant ones
2016-07-01 21:56:17 +02:00
Alejandro Rodríguez
20b9bb2029
Create (if necessary) and link the gitlab-shell secret file on the rake install task
2016-06-29 22:30:33 -04:00
Alejandro Rodríguez
86359ec854
Refactor repository paths handling to allow multiple git mount points
2016-06-29 22:30:31 -04:00
Grzegorz Bizon
28bafd5354
Enable Style/SpaceAfterComma Rubocop cop
2016-06-29 15:23:44 +02:00
Kamil Trzcinski
2f545a15c0
Merge remote-tracking branch 'origin/master' into ci-lfs-fetch
2016-06-21 10:11:14 +02:00
Jacob Vosmaer
c32e61251e
Get rid of Gitlab::ShellEnv
2016-06-15 14:59:37 +02:00
Kamil Trzcinski
95a10f4533
Merge remote-tracking branch 'origin/master' into ci-lfs-fetch
2016-06-10 22:27:06 +02:00
Jacob Vosmaer
0e896ffe4e
Improve Gitlab::Auth method names
...
Auth.find was a very generic name for a very specific method.
Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also
looks in Kerberos.
2016-06-10 14:51:16 +02:00
Jacob Vosmaer
1fab583266
Remove instances of Auth.new
2016-06-03 17:08:44 +02:00
Kamil Trzcinski
17c6bec79d
WIP
2016-06-03 13:57:40 +02:00
Jacob Vosmaer
fea591e5c5
Rename finder to find_in_gitlab_or_ldap
2016-06-02 13:42:18 +02:00
Jacob Vosmaer
8299fc277d
Merge branch 'master' into git-http-controller
...
Conflicts:
config/routes.rb
2016-06-02 13:31:11 +02:00
Connor Shea
9cc0937b3a
Enable the Rubocop DeprecatedClassMethods cop
...
This reports uses of `File.exists?` and `Dir.exists?`, which were both
deprecated in Ruby and will eventually be removed in favor of
`.exist?`. Also fixes all existing uses of the deprecated methods.
2016-05-08 15:33:34 -06:00
Rémy Coutable
44f89eafc0
Use Rugged's TagCollection#create instead of gitlab-shell's Repository#add_tag for better performance
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-04 17:19:13 +02:00
Jacob Vosmaer
d1f5019511
Use correct auth finder
2016-05-02 13:19:39 +02:00
Jacob Vosmaer
b1ffc9f0fe
Make CI/Oauth/rate limiting reusable
2016-04-29 18:58:55 +02:00
Robert Speicher
34b0561560
Merge branch 'pmq20/gitlab-ce-psvr/change-head' into 'master'
...
Use rugged to change HEAD
_Originally opened at !2850 by @pmq20._
Needless to invoke gitlab_shell here, which is slow.
See merge request !3705
2016-04-15 16:44:21 +00:00
Rémy Coutable
8b7bf2a0e0
Merge branch 'rugged-delete-tag' into 'master'
...
Delete tags via rugged
Improve the performance by directly using rugged instead of shelling out to a git operation.
See merge request !3748
2016-04-15 14:42:05 +00:00
Robert Schilling
3c704c33e0
Delete tags via rugged
2016-04-15 16:05:04 +02:00
Robert Schilling
106c443e76
Remove unused backend methods
2016-04-15 13:30:33 +02:00
Rémy Coutable
f8e8a61c9c
Remove Gitlab::Shell#update_repository_head since it's not used anymore
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-15 11:38:59 +02:00
Jacob Vosmaer
6cc6d9730a
Delete dead code
2016-04-06 17:27:52 +02:00
Drew Blessing
5f38dbc026
Increase project import timeout from 4 minutes to 15 minutes
...
Many users were experiencing timeouts when we only allowed
4 minutes before a timeout. A 15 minute timeout is more
than reasonable and prevents us from having to add a
configuration for this.
Fixes gitlab-org/gitlab-ee#246
2016-02-04 13:41:42 -06:00
James Lopez
ecb174bfea
fixed move project method in migration
2016-02-02 17:28:14 +01:00
Jeroen Nijhof
9b28220f88
Merge gitlab.com:gitlab-org/gitlab-ce
2016-01-06 14:55:44 +01:00
Gabriel Mazetto
b5291f9599
Fixed Rubocop offenses
2015-12-15 00:53:52 -02:00
Kamil Trzcinski
dd8102f2d1
Fix specs
2015-12-11 18:02:10 +01:00
Kamil Trzcinski
8cdd54cc06
Add runners token
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Douwe Maan
841a7c6897
Store and show reason why import failed.
2015-11-18 12:00:56 +01:00
Marin Jankovski
14032d8eb1
Add support for git lfs.
2015-11-16 12:39:13 +01:00
Jacob Vosmaer
c5132e94e1
Switch to gitlab-workhorse
2015-10-29 14:21:24 +01:00
Stan Hu
64a270a645
Fix cloning Wiki repositories via HTTP
...
Cloning a project Wiki over HTTP would end up cloning the main repository
since the .wiki extension was being stripped.
Closes #3106
2015-10-22 13:53:12 -07:00
Jeroen Nijhof
4f0a38f1a8
Added housekeeping for git repositories
2015-10-21 15:15:54 +02:00
Douwe Maan
c993481d99
Merge branch 'master' into git-archive-golang
2015-10-15 11:47:36 +02:00
Robert Speicher
69b41ba043
Normalize space-like characters in keys before output to gitlab-shell
...
gitlab-shell expects only one tab separator per key, and an SSH key with
a tab character in the comment, for example, would break things.
Closes #2970
2015-10-08 20:34:50 -04:00
Jacob Vosmaer
cb13980db8
Let gitlab-git-http-server handle archive downloads
...
This change relies on changes in gitlab_git and gitlab-git-http-server.
2015-10-08 17:12:00 +02:00
Dmitriy Zaporozhets
d9f794a850
Merge branch 'grack-auth-new-instance' into 'master'
...
Avoid instance variable re-use trouble
This is the quickest/dumbest/safest way I could think of to prevent
the instance variable reuse problems we have on dev.gitlab.org now.
See merge request !1237
2015-09-02 18:05:16 +00:00
Jacob Vosmaer
30bf2b9cc3
Avoid instance variable re-use trouble
...
This is the quickest/dumbest/safest way I could think of to prevent
the instance variable reuse problems we have on dev.gitlab.org now.
2015-09-02 18:47:56 +02:00
Kirilll Zaitsev
263abda3fd
Drone CI service
2015-09-02 05:52:16 +03:00
Jacob Vosmaer
4027a26e7b
Replace grack with gitlab-git-http-server
2015-08-31 15:30:15 +02:00