Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-06 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2022-02-09 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2022-01-10 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-07-22 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-06-11 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-04-12 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-12-12 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-11-03 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-09-02 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-06-10 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-05-15 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-30 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-21 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-15 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-15 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-08 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-06 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-26 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-10 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-17 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-12-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-31 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-09 | Improve performance and memory usage of project export | Kamil Trzciński | |
ActiveModel::Serialization is simple in that it recursively calls `as_json` on each object to serialize everything. However, for a model like a Project, this can generate a query for every single association, which can add up to tens of thousands of queries and lead to memory bloat. To improve this, we can do several things: 1. We use `tree:` and `preload:` to automatically generate a list of all preloads that could be used to serialize objects in bulk. 2. We observe that a single project has many issues, merge requests, etc. Instead of serializing everything at once, which could lead to database timeouts and high memory usage, we take each top-level association and serialize the data in batches. For example, we serialize the first 100 issues and preload all of their associated events, notes, etc. before moving onto the next batch. When we're done, we serialize merge requests in the same way. We repeat this pattern for the remaining associations specified in import_export.yml. | |||
2019-09-06 | Normalize import_export structure | Kamil Trzciński | |
This brings a significant refactor to how we handle `import_export.yml`, merge it with EE and how we handle that for reader and saver. This is meant to simplify the code, and remove a ton of conditions to handle different models of the structure. This is also meant to prepare the structure to extend it much easier, like adding `preload:` or additional object types when needed. This does not change the behavior of import/export, rather unifies and simplifies the current implementation. | |||
2019-07-25 | Add frozen_string_literal to spec/support | Thong Kuah | |
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758 | |||
2019-03-06 | Adds the Rubocop ReturnNil cop | Andrew Newdigate | |
This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points | |||
2018-12-17 | Fix persistent symlink in project import | James Lopez | |
- Fix permissions after untar is done - Refactor command line util | |||
2018-11-21 | Eliminate duplicated words | Takuya Noguchi | |
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> | |||
2018-09-07 | refactor code based on feedback | James Lopez | |
2018-09-07 | refactor code based on feedback | James Lopez | |
2018-09-06 | Refactor code to remove object storage flag from Import/Export | James Lopez | |
Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error | |||
2018-08-10 | CE Port of Protected Environments backend | Mayra Cabrera | |
2018-07-11 | Resolve "Rename the `Master` role to `Maintainer`" Backend | Mark Chao | |
2018-05-30 | Take two for MR metrics population background migration | Oswaldo Ferreira | |
2017-08-28 | fix typo | James Lopez | |
2017-08-28 | fix spec | James Lopez | |
2017-08-01 | Ensure all project factories use `:repository` trait or `:empty_project` | Robert Speicher | |
2017-05-04 | Backport of multiple_assignees_feature [ci skip] | Valery Sizov | |
2017-05-03 | Include missing project attributes to Import/Export | James Lopez | |
2017-02-02 | Add traits for the different Event types to the Event factory | Robert Speicher | |
2016-11-03 | Merge branch 'fix/import-export-symlink-vulnerability' into 'security' | Douwe Maan | |
Fix symlink vulnerability in Import/Export Replaces https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2018 made by @james Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23822 See merge request !2022 Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2016-09-30 | fix export project file permissions issue | James Lopez | |
2016-09-09 | attempt to fix random error in remote build | James Lopez | |
2016-09-09 | refactored some stuff and added new models / attributes after rebase | James Lopez | |
2016-09-09 | more spec refactoring based on feedback | James Lopez | |
2016-09-09 | fixing a couple of bugs and lots of refactoring of the export file spec | James Lopez | |
2016-09-09 | add model configuration spec to check for new models. Also refactored ↵ | James Lopez | |
attribute_configuration spec | |||
2016-09-09 | fixed spacing | James Lopez | |
2016-09-09 | remove IGNORED_ATTRIBUTES no longer required | James Lopez | |