Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make merge request text after push clearer | Lisanne Fellinger | 2016-12-08 | 1 | -1/+1 | |
| | | | | | | Add changelog entry Editing changelog entry version | |||||
* | avoid Dir.exists? duplication by moving the check to match_hook_files | Elan Ruusamäe | 2016-12-01 | 1 | -6/+4 | |
| | ||||||
* | use String.end_with? instead of regexp | Elan Ruusamäe | 2016-12-01 | 1 | -1/+1 | |
| | ||||||
* | custom_hook: chain custom hooks | Elan Ruusamäe | 2016-12-01 | 1 | -11/+37 | |
| | | | | | | | | | | | | | update hooks lookup to use <hook>.d/* from repository hooks dir the order would be: 1. <repository>.git/custom_hooks/<hook_name> - per project hook 2. <repository>.git/custom_hooks/<hook_name>.d/* - per project hooks 3. <repository>.git/hooks/<hook_name>.d/* - global hooks only executable files are matched and backup files excluded (*~) and the resulting list is sorted per each lookup | |||||
* | custom_hook: add support for global custom hooks | Dirk Hörner | 2016-12-01 | 1 | -12/+22 | |
| | | | | | | | | | | | | | This commit adds the option of having another set of global custom hooks along with the already supported repository local custom hooks. The repository local custom hook is executed first (if available). If successful, execution continues with the global custom hook (if available). This way, local custom hooks get priority over global custom hooks. Global custom hooks can be enabled by placing an executable file into the "custom_hooks" directory within gitlab-shell (create if it does not exist, yet). | |||||
* | custom_hook: refactor to pull repo_path into class | Dirk Hörner | 2016-12-01 | 1 | -7/+8 | |
| | | | | | | This commit takes the GitlabCustomHook a bit clother to the other hook handling classes by receiving the repo_path as argument to initialize() instead of passing it to each method. | |||||
* | custom_hook: only execute hook if file is executable | Dirk Hörner | 2016-12-01 | 1 | -1/+1 | |
| | | | | | This commit fixes an issue where an existing but unexecutable hook would cause an uncaught execption. | |||||
* | Fetch repositories with --prune option by default.add-prune-option-to-fetch-command | Ruben Davila | 2016-11-29 | 1 | -0/+1 | |
| | | | | This will allow us to not recreate branches that has been deleted on the upstream and the mirror. | |||||
* | Fix gitlab_custom_hook dependencies70-push-fails-because-of-missing-dependencies-on-gitlab_custom_hooks | Alejandro Rodríguez | 2016-11-16 | 1 | -0/+1 | |
| | ||||||
* | Add instrumentation to push hooksmore-instrumentation-down-the-pipeline | Ahmad Sherif | 2016-11-16 | 3 | -6/+15 | |
| | | | | Related to #22053 | |||||
* | Use full repository path for API calls instead of extracting namedz-support-nested-namespaces | Dmitriy Zaporozhets | 2016-10-27 | 4 | -20/+9 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Re-use the default logger for performance metrics | Yorick Peterse | 2016-10-12 | 1 | -2/+3 | |
| | | | | | | | This removes the need for configuring anything extra. To make scraping easier each line is prefixed by "metrics:". Fixes #64 | |||||
* | Instrument GitLab Shell and log metrics data to a file | Paco Guzman | 2016-10-11 | 5 | -34/+121 | |
| | ||||||
* | Fix rsync with ionice command building | Alejandro Rodríguez | 2016-10-07 | 1 | -6/+7 | |
| | ||||||
* | Fix short circuit logic between rsync with and without ionice for | Alejandro Rodríguez | 2016-10-05 | 1 | -1/+3 | |
| | | | | storage migrations | |||||
* | added GL_IDadd_gl_id | Valery Sizov | 2016-10-05 | 1 | -3/+9 | |
| | ||||||
* | Enable GIT_TRACE/GIT_TRACE_PACKET/GIT_TRACE_PERFORMANCE by providing the ↵59-git-tracing | Paco Guzman | 2016-09-27 | 2 | -0/+30 | |
| | | | | | | git_trace_log_file config key The value of the variable if present must be a writable absolute path. If it’s not the case we log a proper message and not enable tracing to not throw output to the users. | |||||
* | Set a low IO priority for storage moves to lower performance impactionice-mv | Alejandro Rodríguez | 2016-09-20 | 1 | -1/+11 | |
| | ||||||
* | Properly rescue from JSON parse.lfs-authenticate-support | Patricio Cano | 2016-09-08 | 1 | -2/+6 | |
| | ||||||
* | Style fixes and better tests. | Patricio Cano | 2016-09-06 | 2 | -3/+3 | |
| | ||||||
* | Refactored LFS auth logic to use its own API endpoint. | Patricio Cano | 2016-09-06 | 4 | -18/+40 | |
| | ||||||
* | Refactored JSON header generation to its own class and added tests for it | Patricio Cano | 2016-09-06 | 2 | -10/+24 | |
| | ||||||
* | Added LFS support to SSH | Patricio Cano | 2016-09-06 | 3 | -5/+27 | |
| | | | | - Required changes to GitLab Shell include the actual handling of the `git-lfs-authenticate` command and the retrieval of the correct credentials. | |||||
* | Add option to recover 2FA via SSH | Drew Blessing | 2016-08-26 | 2 | -9/+56 | |
| | ||||||
* | Sentinel connection parameters in `config.yml` file | Gabriel Mazetto | 2016-08-18 | 1 | -0/+6 | |
| | ||||||
* | Merge branch 'dup-frozen-argv-key' into 'master' | Robert Speicher | 2016-08-11 | 1 | -1/+2 | |
|\ | | | | | | | | | | | | | | | | | In order to use chomp! on the input later, we need to dup the ARGV input string for keys Also updated the gitlab_key tests to freeze the ARGV variables. Fixes https://gitlab.com/gitlab-org/gitlab-shell/issues/56 See merge request !84 | |||||
| * | In order to use chomp! on the input later, we need to dup the ARGV input ↵dup-frozen-argv-key | DJ Mountney | 2016-08-10 | 1 | -1/+2 | |
| | | | | | | | | | | | | string for keys Also updated the gitlab_key tests to freeze the ARGV variables. | |||||
* | | Merge branch 'feature/new-merge-request-url' into 'master' | Douwe Maan | 2016-08-11 | 2 | -1/+36 | |
|\ \ | |/ |/| | | | | | | | | | Show Merge request link after pushing if new brach This is part of implementation for issue https://gitlab.com/gitlab-org/gitlab-ce/issues/18266 See merge request !77 | |||||
| * | print new merge request urls after push received | Scott Le | 2016-08-12 | 2 | -1/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update spec different text for new and existing merge request update spec fix style switch order of messages enhance message appearance remove extra spaces | |||||
* | | Update the keys permission check to open the file in write mode. | DJ Mountney | 2016-08-10 | 1 | -2/+2 | |
| | | | | | | | | That way the file is created if it does not exist. | |||||
* | | Changes proposed during review | Jacob Vosmaer | 2016-08-10 | 1 | -1/+1 | |
| | | ||||||
* | | Defense in depth for authorized_keys lines | Jacob Vosmaer | 2016-08-05 | 1 | -0/+5 | |
| | | ||||||
* | | Refactor 'GitlabKey' class awaysmall-fixes | Jacob Vosmaer | 2016-08-04 | 1 | -15/+11 | |
| | | | | | | | | | | It is not nice to have both 'GitlabKeys' and 'GitlabKey'. We also do not need GitlabKey to be a class when it has no state. | |||||
* | | Add permission check tests, improve checkauthorized-keys-permission-check | Jacob Vosmaer | 2016-08-03 | 1 | -3/+3 | |
| | | ||||||
* | | Improve authorized_keys check | Jacob Vosmaer | 2016-08-02 | 1 | -0/+13 | |
| | | | | | | | | | | | | The old check only looked if authorized_keys exists. With this change, we look whether we can actually open the file for reading and writing. When this fails we try to print useful diagnostic information. | |||||
* | | Manage authorized_keys permissions continuouslykeys-chmod | Jacob Vosmaer | 2016-08-01 | 1 | -4/+11 | |
|/ | | | | | | We can lazily create authorized_keys and set its permissions. This adds negligible overhead and it allows us to remove a setup step from GitLab both on source and in omnibus-gitlab. | |||||
* | Track ongoing pushes and reject mv-storage commands if there are push ↵mv-storage | Alejandro Rodríguez | 2016-07-27 | 3 | -3/+76 | |
| | | | | running (after waiting some time) | |||||
* | Add command to move repositories between repository storages | Alejandro Rodríguez | 2016-07-27 | 1 | -0/+32 | |
| | ||||||
* | Allow gitlab-project's fork-project command to fork projects between ↵ | Alejandro Rodríguez | 2016-07-26 | 1 | -1/+8 | |
| | | | | different repository storages | |||||
* | Add an error message when using shell commands with incompatible GitLab versions | Alejandro Rodríguez | 2016-07-06 | 1 | -0/+1 | |
| | ||||||
* | Make use of a constant for the used SSH protocol | Patricio Cano | 2016-07-05 | 1 | -2/+3 | |
| | ||||||
* | Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] and make it mandatory with no ↵ | Patricio Cano | 2016-07-05 | 3 | -3/+3 | |
| | | | | fallback value | |||||
* | Simplify protocol assign, and populate ENV['PROTOCOL'] variable when calling ↵ | Patricio Cano | 2016-07-05 | 1 | -1/+2 | |
| | | | | hooks via SSH | |||||
* | Allow GitLab Shell to check for allowed access based on the used Git protocol. | Patricio Cano | 2016-07-05 | 3 | -5/+7 | |
| | ||||||
* | use STDERR to output error messages | Valery Sizov | 2016-07-05 | 1 | -3/+3 | |
| | ||||||
* | Refactor repository paths handling to allow multiple git mount pointsshards | Alejandro Rodríguez | 2016-06-29 | 7 | -42/+34 | |
| | ||||||
* | Simplify custom hook output handlingcustom-hook-output | Jacob Vosmaer | 2016-06-24 | 1 | -29/+16 | |
| | ||||||
* | Merge branch 'gitlab-redis' into 'master' | Stan Hu | 2016-06-23 | 3 | -2/+3 | |
|\ | | | | | | | | | | | | | Put Redis loading code in one place Before this change you could not run the gitlab_net specs in isolation. See merge request !64 | |||||
| * | Put Redis loading code in one placegitlab-redis | Jacob Vosmaer | 2016-06-23 | 3 | -2/+3 | |
| | | ||||||
* | | Merge branch 'simplify-access-status' into 'master' | Valery Sizov | 2016-06-23 | 1 | -5/+4 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Simplify the GitAccessStatus class Make the optional 'message' argument required. Remove unused 'to_json' method. See merge request !65 |