summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Store and show reason why import failed.Douwe Maan2015-11-181-3/+4
|
* Remove small code duplication in user_reference_filter.rbDmitriy Zaporozhets2015-11-171-6/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Set higher flay value to avoid unnecessary refactoring for nowDmitriy Zaporozhets2015-11-171-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove duplication in reference filtersDmitriy Zaporozhets2015-11-164-166/+119
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'refactor-duplication' into 'master' Dmitriy Zaporozhets2015-11-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Remove some code duplication * remove duplicate code in uploaders * remove duplicate code in NotificationHelper * remove duplicate code in Repository Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1800
| * Set less strict flay option for nowDmitriy Zaporozhets2015-11-161-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add support for git lfs.lfsMarin Jankovski2015-11-166-6/+426
|/
* Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqDmitriy Zaporozhets2015-11-161-1/+1
|\
| * Relative links in the README file shown on the repository homepage should pointAlec Cooper2015-11-141-1/+1
| | | | | | | | to the default branch, not to master
* | Merge branch 'releases-feature'Dmitriy Zaporozhets2015-11-165-54/+99
|\ \ | |/ |/|
| * Add API docs and correctly expose release apiDmitriy Zaporozhets2015-11-122-26/+26
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Expose release notes to tags apiDmitriy Zaporozhets2015-11-121-0/+6
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add releases apiDmitriy Zaporozhets2015-11-122-1/+22
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add grape routing printDmitriy Zaporozhets2015-11-121-0/+8
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Move git tags API to separate fileDmitriy Zaporozhets2015-11-123-35/+45
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'builds_feature' into 'master' Kamil Trzciński2015-11-132-1/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose builds feature Expose builds feature in project settings (as feature). Enable it by default for a new projects. I deliberately named it builds instead of CI, because we actualy allow to run tests using infrastructure built-in GitLab. I'm free to change it. ![Screen_Shot_2015-11-09_at_16.42.21](/uploads/a8af0a56fc0498688c0428ff22252d9c/Screen_Shot_2015-11-09_at_16.42.21.png) If we are ok, I'll add feature tests for it. /cc @sytses @dzaporozhets See merge request !1767
| * | Expose CI enable option in project featuresKamil Trzcinski2015-11-132-1/+7
| | | | | | | | | | | | - Enable CI by default for all new projects
* | | Merge branch 'refactor-complex-methods' into 'master' Dmitriy Zaporozhets2015-11-132-78/+102
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | Refactor complex methods Make flog part of CI check which is not allowed to fail. I used high score (70) and refactored most complex method. In future releases we should lower acceptable score to something like 40..50 Part of #3444 See merge request !1794
| * | Move spec to proper place and fix unused variablerefactor-complex-methodsDmitriy Zaporozhets2015-11-131-1/+0
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Even more refactoring to inline_diff.rbDmitriy Zaporozhets2015-11-131-16/+23
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Split complex methods in GoogleCodeImport::ImporterDmitriy Zaporozhets2015-11-131-46/+47
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Split complex Gitlab::InlineDiff::processing methodDmitriy Zaporozhets2015-11-131-19/+36
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add ignore white space option in merge request diffMinsik Yoon2015-11-131-2/+2
|/ | | | | | fix this issue(https://gitlab.com/gitlab-org/gitlab-ce/issues/1393). Add ignore whitespace optoin to Commits Compare view
* Merge branch 'caches' into 'master' Kamil Trzciński2015-11-121-4/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to define cache in `.gitlab-ci.yml` This extends `.gitlab-ci.yml` syntax to allow specifying caching files and directories between builds, making it easy to preserve ex. gems. ``` cache: paths: - .bundle - vendor/ before_script: - bundle install --path vendor/ rspec: script: - bundle exec rspec ``` This is based on Build Artifacts changes. /cc@dzaporozhets See merge request !1786
| * Allow to define cache in `.gitlab-ci.yml`cachesKamil Trzcinski2015-11-101-4/+26
| |
* | Merge branch 'flay' into 'master' Dmitriy Zaporozhets2015-11-111-0/+9
|\ \ | | | | | | | | | | | | | | | | | | Add flay: tool to find duplicate code Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1789
| * | Add flay: tool to find duplicate codeflayDmitriy Zaporozhets2015-11-111-0/+9
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'flog' into 'master' Dmitriy Zaporozhets2015-11-111-0/+25
|\ \ \ | |/ / | | | | | | | | | | | | | | | Add method complexity check to CI Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1783
| * | Allow flog failure for nowDmitriy Zaporozhets2015-11-111-1/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Add method complexity check to CIflogDmitriy Zaporozhets2015-11-101-0/+24
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'artifacts' into 'master' Kamil Trzciński2015-11-1114-4/+306
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Build Artifacts This implements #3028 1. It stores artifacts in shared/artifacts, 1. It adds `artifacts` to `.gitlab-ci.yml`, 1. We use GitLab Workhorse to offload artifacts uploading, 1. To download artifacts it uses GitLab Workhorse X-Sendfile extension, 1. There's one "artifact" per-build. The new upload removes previous one and creates a new one, 1. Default max artifact size is set to 100MB - this can be changed in settings. Missing things: 1. Support for `.gitlab-ci.yml`: `artifacts: true or git-ls-files` which will upload all non tracked files, 1. Artifacts passing between builds. GitLab Workhorse changes: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/5 GitLab Runner changes: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/46 Syntax: ``` artifacts: untracked: true # default: false paths: # default: empty - bin/files ``` See merge request !1584
| * | Final fixesKamil Trzcinski2015-11-101-1/+1
| | |
| * | Use normal file upload mechanism to upload artifactsKamil Trzcinski2015-11-102-15/+17
| | |
| * | Fix nginx config to use @gitlab-workhorseKamil Trzcinski2015-11-102-8/+8
| | |
| * | Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse nowKamil Trzcinski2015-11-101-1/+1
| | |
| * | Change artifacts syntax to allow uploading untracked filesKamil Trzcinski2015-11-101-3/+13
| | |
| * | Implement Build ArtifactsKamil Trzcinski2015-11-1014-3/+293
| |/ | | | | | | | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* | Merge branch 'add-allow-failure-status' into 'master' Stan Hu2015-11-101-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Add allow_failure field to commit status API Closes #3196 See merge request !1685
| * | Add allow_failure field to commit status APIStan Hu2015-11-031-1/+1
| | | | | | | | | | | | Closes #3196
* | | Improve Continuous Integration graphs pageDmitriy Zaporozhets2015-11-101-1/+2
| |/ |/| | | | | | | | | | | | | | | * fix commit duration graph * make graphs responsive * fix wrong padding * add a bit of explanation to colors Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Only load rblineprof when actually neededYorick Peterse2015-11-092-1/+2
| | | | | | | | | | This ensures the application can still boot when the "development" group is not available.
* | Track the amount of times views are renderedYorick Peterse2015-11-091-14/+43
| |
* | Added specs and source documentation for SherlockYorick Peterse2015-11-098-12/+119
| |
* | Added Sherlock, a custom profiling tool for GitLabYorick Peterse2015-11-099-0/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sherlock will be a new GitLab specific tool for measuring the performance of Rails requests (and SideKiq jobs at some point). Some of the things that are currently tracked: * SQL queries along with their timings, backtraces and query plans (using "EXPLAIN ANALYZE" for PostgreSQL and regular "EXPLAIN" for MySQL) * Timings of application files (including views) on a per line basis * Some meta data such as the request method, path, total duration, etc More tracking (e.g. Rugged or gitlab-shell timings) might be added in the future. Sherlock will replace any existing tools we have used so far (e.g. active_record_query_trace and rack-mini-profiler), hence the corresponding Gems have been removed from the Gemfile. Sherlock can be enabled by starting Rails as following: ENABLE_SHERLOCK=1 bundle exec rails s Recorded transactions can be found at `/sherlock/transactions`.
* | Enable shared runners for all new projectsKamil Trzcinski2015-11-051-1/+2
| |
* | Merge branch 'facebook-auth' into 'master' Robert Speicher2015-11-041-1/+8
|\ \ | | | | | | | | | | | | Add Facebook authentication See merge request !1740
| * | Use proper labels for OAuth providersDouwe Maan2015-11-031-1/+8
| |/
* | Replace all usages of `git` command with configurable binary pathrs-git-bin-pathRobert Speicher2015-11-036-15/+15
|/ | | | Closes #3311
* Merge branch 'spread-runner-last-updated-at' into 'master' Robert Speicher2015-11-031-1/+3
|\ | | | | | | | | | | | | | | Spread out runner contacted_at updates This is meant to prevent having too many concurrent UPDATE requests caused by runners checking in. See merge request !1722
| * Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵spread-runner-last-updated-atJacob Vosmaer2015-11-036-35/+59
| |\ | | | | | | | | | spread-runner-last-updated-at