- 08 Apr, 2016 1 commit
-
-
Kirill Smelkov authored
[ Sent upstream: https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/40 This was filed upstream but decided the better way to go is to configure default git templates to be just empty. Until we implement that, we continue to carry this patch as NXD ] gitlab-shell uses completely own whole set of git hooks and just symlinks repo.git/hooks to path/to/gitlab-shell/hooks/. Original hooks that git added there - when initializing repository - from its template, and which are by default deactivated, are currently moved to repos.git/hooks.old.<timestamp>, e.g. $ ls -F nexedi/helloweb.git/ config description HEAD hooks@ --> ...path/to/gitlab-shell/hooks/ hooks.old.1446564288/ info/ packed-refs refs/ $ ls -F nexedi/helloweb.git/hooks.old.1446564288/ applypatch-msg.sample* post-update.sample* pre-commit.sample* pre-push.sample* update.sample* commit-msg.sample* pre-applypatch.sample* prepare-commit-msg.sample* pre-rebase.sample* On the other hand, hooks.old.<timestamp> are not used anywhere and are left there "just in case". But what is the point to keep those pristine samples git creates by default? And we are sure those files are always results of gitlab-shell initializing a repository, as it is gitlab-shell's job to create/remove/update/etc repositories. So do not keep old hooks, remove them. P.S. The patch that introduced whole-hooks-dir-symlinking is db81327b (Symlink the whole hooks directory). /cc @dzaporozhets, @jacobvosmaer
-
- 18 Mar, 2016 2 commits
-
-
Douwe Maan authored
Fix git-annex issue when using SSH on a custom port Easiest thing here is to use the full repo path on the server side. Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/166 See merge request !45
-
James Lopez authored
-
- 16 Mar, 2016 3 commits
-
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
- 14 Mar, 2016 2 commits
-
-
Robert Speicher authored
Do not prune objects during 'git gc' This is a workaround to reduce the impact of https://gitlab.com/gitlab-org/gitlab-ce/issues/13524 . See merge request !44
-
Jacob Vosmaer authored
This is a workaround to reduce the impact of https://gitlab.com/gitlab-org/gitlab-ce/issues/13524 .
-
- 08 Mar, 2016 1 commit
-
-
Rémy Coutable authored
[ci skip]
-
- 03 Mar, 2016 3 commits
-
-
Douwe Maan authored
Added an optional --force parameter for gitlab-projects fetch-remote The optional parameter will decide wheter to fetch using --force or not. fetching with --force is a requirement for Gitlab Geo (https://gitlab.com/gitlab-org/gitlab-ee/issues/76) secondary node replication. This is a dependency for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/179 See merge request !41
-
Douwe Maan authored
-
Gabriel Mazetto authored
The optional parameter will decide wheter to fetch using --force or not. fetching with --force is a requirement for Gitlab Geo secondary node replication.
-
- 10 Feb, 2016 5 commits
-
-
Jacob Vosmaer authored
workaround for webrick issue on ruby 2.2 Workaround that fixes https://gitlab.com/gitlab-org/gitlab-shell/issues/36 See merge request !38
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
- 09 Feb, 2016 7 commits
-
-
James Lopez authored
-
Douwe Maan authored
Increase HTTP timeout and log request durations On some GitLab deployments internal API calls regularly take more than 60 seconds (the default HTTP read timeout of Ruby's Net::HTTP). Until we understand the cause of this slowness, by raising the client timeout in gitlab-shell we can at least spare end users having to retry their `git pull` or `git push`. See merge request !37
-
Jacob Vosmaer authored
-
Douwe Maan authored
Add relative URL info Relevant MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2770 See merge request !36
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
Achilleas Pipinellis authored
[ci skip]
-
- 05 Jan, 2016 1 commit
-
-
Douwe Maan authored
Added git gc for housekeeping This merge request will add the gc functionality used by the housekeeping function in the project settings page. see gitlab-org/gitlab-ce#3041 and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1658 See merge request !23
-
- 04 Jan, 2016 2 commits
-
-
Jeroen Nijhof authored
-
-
- 14 Dec, 2015 2 commits
-
-
Douwe Maan authored
Remove trailing slashes from gitlab_url They do not play nice with gitlab-workhorse (or rather Golang net/http DefaultServemux). See merge request !35
-
Jacob Vosmaer authored
-
- 11 Dec, 2015 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
They do not play nice with gitlab-workhorse (or rather Golang net/http DefaultServemux).
-
- 01 Dec, 2015 1 commit
-
-
Dmitriy Zaporozhets authored
Stricter exec cmd In response to the gitlab-shell 2.6.6-2.6.7 remote code execution vulnerability. See merge request !33
-
- 26 Nov, 2015 1 commit
-
-
Jacob Vosmaer authored
-
- 25 Nov, 2015 7 commits
-
-
Dmitriy Zaporozhets authored
Pass $HOME to git as well [ this patch has the same rationale and reasoning as https://gitlab.com/gitlab-org/gitlab-workhorse/commit/0d0bd209 details follow ] Git has 3 places for configs: - system - global (per user), and - local (per repository) System config location is hardcoded at git compile time (to usually $prefix/etc/gitconfig). Local configuration is usually picked because we pass full repo path to subcommand. But global configuration is currently not picked at all, because HOME env variable is not passed to git. Pass $HOME through and let git see it's "global" config. Currently GitLab omnibus stores gitlab user name/email + "autocrlf = true" in global config, so missing it should not be a blocker for receive/send-pack operations. But having it is more correct and can be handy in the future if/when more git operations are done from-under gitlab-shell. Having $HOME properly set is also needed when one cannot change system git config and have to put site-wide configuration into global git config under $HOME. That was the case I've hit and the reason for this patch. /cc @dzaporozhets, @jacobvosmaer See merge request !32
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
Hoping this makes it more obvious when code touches the very unsafe contents of this variable.
-
Jacob Vosmaer authored
Passing strings to Kernel::exec leads to remote code execution.
-
Dmitriy Zaporozhets authored
Revert "Run git-lfs-authenticate script with original command line arguments" This reverts commit 8449979f. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Related to: #35, gitlab/gitlabhq#2635 See merge request !68
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-