summaryrefslogtreecommitdiff
path: root/doc/user
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'update-metrics-for-k8s-1.7' into 'master'Tim Zallmann2017-11-141-2/+2
|\ | | | | | | | | Update queries to remove duplicate entries (CE version) See merge request gitlab-org/gitlab-ce!15254
| * Uodate docsupdate-metrics-for-k8s-1.7Joshua Lambert2017-11-121-2/+2
| |
* | Merge branch 'fix/sm/31771-do-not-allow-jobs-to-be-erased-new' into 'master'Kamil Trzciński2017-11-141-0/+2
|\ \ | | | | | | | | | | | | | | | | | | Do not allow jobs to be erased Closes #31771 See merge request gitlab-org/gitlab-ce!15216
| * \ Merge branch 'master' into fix/sm/31771-do-not-allow-jobs-to-be-erased-newShinya Maeda2017-11-074-6/+23
| |\ \
| * | | Add doc. Fix spec. Add erase_build in protected_ref ruleShinya Maeda2017-11-071-0/+2
| | | |
* | | | Fix permissions link for project member docsMark Fletcher2017-11-101-1/+1
| |_|/ |/| |
* | | Merge branch 'github-importer-refactor' into 'master'Douwe Maan2017-11-081-1/+28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the GitHub importer to perform work in parallel and greatly improve performance Closes #33135, #38621, and #39361 See merge request gitlab-org/gitlab-ce!14731
| * | | Rewrite the GitHub importer from scratchYorick Peterse2017-11-071-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this MR there were two GitHub related importers: * Github::Import: the main importer used for GitHub projects * Gitlab::GithubImport: importer that's somewhat confusingly used for importing Gitea projects (apparently they have a compatible API) This MR renames the Gitea importer to Gitlab::LegacyGithubImport and introduces a new GitHub importer in the Gitlab::GithubImport namespace. This new GitHub importer uses Sidekiq for importing multiple resources in parallel, though it also has the ability to import data sequentially should this be necessary. The new code is spread across the following directories: * lib/gitlab/github_import: this directory contains most of the importer code such as the classes used for importing resources. * app/workers/gitlab/github_import: this directory contains the Sidekiq workers, most of which simply use the code from the directory above. * app/workers/concerns/gitlab/github_import: this directory provides a few modules that are included in every GitHub importer worker. == Stages The import work is divided into separate stages, with each stage importing a specific set of data. Stages will schedule the work that needs to be performed, followed by scheduling a job for the "AdvanceStageWorker" worker. This worker will periodically check if all work is completed and schedule the next stage if this is the case. If work is not yet completed this worker will reschedule itself. Using this approach we don't have to block threads by calling `sleep()`, as doing so for large projects could block the thread from doing any work for many hours. == Retrying Work Workers will reschedule themselves whenever necessary. For example, hitting the GitHub API's rate limit will result in jobs rescheduling themselves. These jobs are not processed until the rate limit has been reset. == User Lookups Part of the importing process involves looking up user details in the GitHub API so we can map them to GitLab users. The old importer used an in-memory cache, but this obviously doesn't work when the work is spread across different threads. The new importer uses a Redis cache and makes sure we only perform API/database calls if absolutely necessary. Frequently used keys are refreshed, and lookup misses are also cached; removing the need for performing API/database calls if we know we don't have the data we're looking for. == Performance & Models The new importer in various places uses raw INSERT statements (as generated by `Gitlab::Database.bulk_insert`) instead of using Rails models. This allows us to bypass any validations and callbacks, drastically reducing the number of SQL queries and Gitaly RPC calls necessary to import projects. To ensure the code produces valid data the corresponding tests check if the produced rows are valid according to the model validation rules.
* | | | Add note on registry restrictions on GitLab.comChenjerai Katanda2017-11-071-1/+2
|/ / /
* | | Merge branch 'master' into 38464-k8s-appsShinya Maeda2017-11-081-6/+20
|\ \ \
| * | | issue ordering docsVictor Wu2017-11-071-6/+20
| | |/ | |/|
* | | Merge branch 'master' into 38464-k8s-appsShinya Maeda2017-11-074-6/+23
|\ \ \ | |/ /
| * | Label priority and Priority sort ordersVictor Wu2017-11-074-6/+23
| |/
* | Update Cluster applications screenshot with updated descriptionEric Eastwood2017-11-061-0/+0
| |
* | Add applications section to GKE clusters pageEric Eastwood2017-11-032-0/+9
|/
* Merge branch 'clarify-docs-about-external-artifacts-and-gitlab-pages' into ↵Grzegorz Bizon2017-11-021-2/+4
|\ | | | | | | | | | | | | 'master' Document GitLab pages prerequisite with external HTML artifacts See merge request gitlab-org/gitlab-ce!15153
| * Clarify external artifacts only working when GitLab pages is enabledclarify-docs-about-external-artifacts-and-gitlab-pagesEric Eastwood2017-11-021-2/+4
| | | | | | | | | | Prompted to add this note from https://gitlab.com/gitlab-org/gitlab-ce/issues/34102#note_45522526
* | Merge branch 'dm-remove-private-token' into 'master'Sean McGivern2017-11-022-7/+7
|\ \ | |/ |/| | | | | | | | | Remove Private Tokens Closes #38595 and #38447 See merge request gitlab-org/gitlab-ce!14838
| * Update documentationdm-remove-private-tokenDouwe Maan2017-11-021-6/+6
| |
| * Remove Private Token from User Settings > AccountDouwe Maan2017-11-021-1/+1
| |
* | Fix webhook recent deliveries elapsed time fieldAlexander Randa2017-11-021-0/+0
|/
* Add extra webhook troubleshooting stepsdocs/webhook-troubleshooting-stepsCindy Pallares 🦉2017-11-011-0/+12
| | | Add information on duplicate or multiple triggers caused by a slow response time.
* Merge branch '31454-missing-project-id-pipeline-hook-data' into 'master'Rémy Coutable2017-10-311-0/+10
|\ | | | | | | | | | | | | Adds project_id to pipeline hook data Closes #31454 See merge request gitlab-org/gitlab-ce!15044
| * Adds project_id to pipeline hook dataJacopo2017-10-301-0/+10
| | | | | | | | Pipeline hook data now includes the project_id
* | Allow promoting project milestones to group milestonesFelipe Artur2017-10-311-1/+2
| |
* | Merge branch 'add-packagist-project-service' into 'master'Kamil Trzciński2017-10-311-0/+1
|\ \ | | | | | | | | | | | | Add Packagist project service See merge request gitlab-org/gitlab-ce!14493
| * | Add Packagist project serviceMatt Coleman2017-10-131-0/+1
| | |
* | | Semi-linear history merge is now available in CE.Nick Brown2017-10-271-1/+0
| |/ |/| | | Already mentioned in the list above this one.
* | Changing the smallest of typosLyle Kozloff2017-10-241-1/+1
| |
* | Simple docs fixesConnor Shea2017-10-231-4/+4
| |
* | Merge branch 'docs-fix-delete-merged-branches-typo' into 'master'Achilleas Pipinellis2017-10-231-1/+1
|\ \ | | | | | | | | | | | | Fix a small typo in the delete merged branches documentation See merge request gitlab-org/gitlab-ce!15003
| * | Fix a small typo in the delete merged branches documentationMark Fletcher2017-10-231-1/+1
| | |
* | | Fix the description of the new branch created by an issue's new branch buttonMark Fletcher2017-10-231-1/+1
|/ /
* | Fix #20930: automatic closing is not triggered on very first push.Sébastien2017-10-171-3/+5
| |
* | Update automatic_issue_closing.mdimplements-closing-docsVictor Wu2017-10-131-1/+2
|/
* added date parameter for time trackinggitlab-ee-1312-time-spent-atVlad2017-10-131-1/+1
|
* Merge branch 'docs/gke-cluster' into 'master'Achilleas Pipinellis2017-10-123-0/+93
|\ | | | | | | | | Add docs for GKE integration See merge request gitlab-org/gitlab-ce!14712
| * Explicit state integration deletionAchilleas Pipinellis2017-10-121-1/+1
| |
| * Add link to Google billing accountAchilleas Pipinellis2017-10-091-1/+3
| |
| * Fix broken linkAchilleas Pipinellis2017-10-061-1/+1
| |
| * Remove Google sign-in requirementAchilleas Pipinellis2017-10-061-6/+0
| |
| * Simplify overviewAchilleas Pipinellis2017-10-051-2/+1
| |
| * Add docs for GKE integrationAchilleas Pipinellis2017-10-053-0/+98
| |
* | Update image commenting MR linkClement Ho2017-10-111-1/+2
| |
* | Developer can create/edit/delete milestonesVictor Wu2017-10-111-1/+2
| |
* | Add image discussion docsClement Ho2017-10-116-3/+40
| |
* | Locked issues / mrs docsVictor Wu2017-10-102-24/+16
| |
* | Introduce new hook data builders for Issue and MergeRequest34284-add-changes-to-issuable-webhook-dataRémy Coutable2017-10-091-2/+52
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Include the changes in issuable webhook payloadsRémy Coutable2017-10-091-5/+49
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch '18608-lock-issues-v2' into 'master'Sean McGivern2017-10-067-0/+41
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Lock issue and merge request" Closes #18608 See merge request gitlab-org/gitlab-ce!14531