| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Includes a PostgreSQL syntax beautifier as a database tooling.
|
|
|
|
| |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|\
| |
| |
| |
| | |
Add Create Deep Dives to development docs
See merge request gitlab-org/gitlab-ce!29793
|
| |
| |
| |
| | |
See https://gitlab.com/gitlab-org/create-stage/issues/1 for more context
|
|/ |
|
| |
|
|
|
|
| |
closes 62127
|
|
|
|
|
|
|
| |
Explain and recommend developers to use `/-/` scope for group and
project routes in Rails
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Start writing some development guidelines in relation to our Kubernetes
integration
|
| |
|
| |
|
|
|
|
|
| |
Because we removed rails 4 support, this document is not needed
anymore.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Improve the contributing documentation
See merge request gitlab-org/gitlab-ce!22291
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This removes duplicated content from CONTRIBUTING.md and consolidate
everything under doc/development/contributing/.
This also fixes missing links.
Lastly, this moves the style guides from the "Implement design & UI
elements" page to a new "Style guides" page.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
`delete_all` doesn't support limit, so you'd need to subquery
that. And instead of subquerying with `where(id: query)`, it's better
to use an `INNER JOIN`. This method also works with MySQL, while
subquerying doesn't (without another layer of subquerying)
Reference:
https://stackoverflow.com/questions/17892762/mysql-this-version-of-mysql-doesnt-yet-support-limit-in-all-any-some-subqu/17892886#17892886
|
| |
|
|
|
|
|
| |
This enhances a few performance guideline titles in the development
README, making it easier to understand what topics they cover.
|
|
|
|
|
|
|
|
|
|
|
| |
This is based on the discussion in
https://gitlab.com/gitlab-org/gitlab-ce/issues/49653 and the example
merge request found at
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20908. The idea
is fairly straightforward: we define a variety of abstractions, then
state which can reuse which. This should ultimately foster _better_ code
reuse, make it easier to debug problems, and make it harder to
accidentally introduce a performance regression.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This adds a database guide on how to read the output of "EXPLAIN" and
"EXPLAIN ANALYZE", and how to use this output to understand a query's
performance and optimise it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
By specifying a presenter for the object type, we can keep the logic
out of `GitlabSchema`.
The presenter gets initialized using the object being presented, and
the context (including the `current_user`).
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Add developer documentation on diff handling and limits
Closes #43614
See merge request gitlab-org/gitlab-ce!18269
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.
In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
|
| |
|
|\
| |
| |
| |
| | |
Add cop to make sure we don't use ivar in a module
See merge request gitlab-org/gitlab-ce!12800
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* upstream/master: (671 commits)
Make rubocop happy
Use guard clause
Improve language
Prettify
Use temp branch
Pass info about who started the job and which job triggered it
Docs: add indexes for monitoring and performance monitoring
clearer-documentation-on-inline-diffs
Add docs for commit diff discussion in merge requests
sorting for tags api
Clear BatchLoader after each spec to prevent holding onto records longer than necessary
Include project in BatchLoader key to prevent returning blobs for the wrong project
moved lfs_blob_ids method into ExtractsPath module
Converted JS modules into exported modules
spec fixes
Bump gitlab-shell version to 5.10.3
Clear caches before updating MR diffs
Use new Ruby version 2.4 in GitLab QA images
moved lfs blob fetch from extractspath file
Update GitLab QA dependencies
...
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
development doc since the doc page is already there
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|/
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|