Commit Graph

127 Commits

Author SHA1 Message Date
Alessio Caiazza b86d3f2876 Document uploads development guidelines
Explain Workhorse acceleration features
2019-08-23 10:40:04 +00:00
Mayra Cabrera bf5797d000 Adds new DB case study for namespaces statistics
Includes a new database case study about all the approaches taken to
store and update the namespace statistics in a performan manner
performant approach to store and update the namespaces statistics
2019-08-22 12:12:28 +00:00
Marcel Amirault d2cb8f785e Update docs to pass new markdownlint
Deletes extra spaces and line, makes lists consistent, and
fixes links.
2019-08-22 08:50:31 +00:00
Evan Read 0479cda57b Make section headings consistent 2019-08-12 09:52:48 +00:00
Victor Zagorodny e5304cf630 Add shell scripting guides to development README 2019-08-05 14:47:46 +00:00
Sean McGivern 0d2b5bff8c Merge branch 'docs-label-filtering' into 'master'
Add development documentation on label filtering

Closes #49651

See merge request gitlab-org/gitlab-ce!30741
2019-07-26 09:53:53 +00:00
Sean McGivern 1ec7dae9ad Add development documentation on label filtering
This topic comes up periodically, and we've investigated several options
for changing the way we filter labels. Unfortunately, we have yet to
find an option that is strictly better than the current state.
2019-07-25 08:56:45 +01:00
Toon Claes 34a5f77e77 Document database review process
See https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6069
2019-07-19 17:33:48 +00:00
Oswaldo Ferreira df96b7c075 Document interacting GitLab components and features
It's not uncommon that a single code change can reflect and
interact with multiple parts of GitLab codebase, making it
possible to break an existing feature.

This commit expands documentation in that regard for developers.
2019-07-19 03:04:09 +00:00
Filipa Lacerda 85b065f9fb Updates frontend to Frontend 2019-07-11 15:00:18 +00:00
Mayra Cabrera 0253016806 Add pgFormatter as a database tooling
Includes a PostgreSQL syntax beautifier as a database tooling.
2019-07-05 01:54:18 +00:00
Dmitriy Zaporozhets 75fd8a40b9
Add code comments development guide
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-06-25 18:34:35 +03:00
Nick Thomas 319a448860 Merge branch 'dm-add-deep-dives-to-docs-ce' into 'master'
Add Create Deep Dives to development docs

See merge request gitlab-org/gitlab-ce!29793
2019-06-18 16:29:22 +00:00
Douwe Maan 9b3295d341
Add Create Deep Dives to development docs
See https://gitlab.com/gitlab-org/create-stage/issues/1 for more context
2019-06-18 17:35:29 +02:00
Arun Kumar Mohan 2a66d0d69a Update list items to conform to documentation style guide 2019-06-16 23:06:55 -05:00
Arun Kumar Mohan 0880d712a0 Fix minor grammar issue 2019-06-14 16:20:32 -05:00
Lucas Charles d3ff1e07e2 Add section to dev docs on accessing chatops
closes 62127
2019-06-07 01:00:36 +00:00
Dmitriy Zaporozhets 9a2a572a73 Add developmenty documentation about routing
Explain and recommend developers to use `/-/` scope for group and
project routes in Rails

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-05-27 08:33:40 +00:00
Enrique Alcántara d24756aec2 Add links to GDK autodevops and runner guides 2019-05-17 19:13:55 +00:00
James Edwards-Jones 35658e1d83 Document ways of accessing Session data in GitLab 2019-05-15 09:57:00 +07:00
Marcel Amirault 1775c8c73b Docs: Realigning scattered EE docs into CE 2019-05-06 00:56:13 +00:00
Marcel Amirault 0207468401 Docs: Merge EE doc/development to CE 2019-05-05 13:57:21 +00:00
Jacob Vosmaer b3663ea4d3 Document how Git object deduplication works in GitLab 2019-03-19 13:25:12 +00:00
Thong Kuah 54d3ad5217 Development guide for Kubernetes
Start writing some development guidelines in relation to our Kubernetes
integration
2019-02-12 14:18:49 +13:00
Philippe Lafoucrière 1effc189c3 Add Go guidelines to developer docs 2019-02-06 16:10:12 +00:00
James Lopez ad08f65e18 Add Import/Export dev docs 2019-01-14 18:18:54 +00:00
Jan Provaznik 4fd35cd58f Removed rails 5 documentation
Because we removed rails 4 support, this document is not needed
anymore.
2018-12-14 18:58:12 +01:00
Sarrah Vesselov 47da931c9e deprecate UX Guide and redirect to design.gitlab 2018-11-21 15:25:15 +00:00
Stan Hu 24a7d86da2 Add documentation on how to use structured logging 2018-11-14 12:32:21 -08:00
Jan Provaznik cb5506565c Add rails5 doc 2018-11-14 12:41:16 +01:00
Achilleas Pipinellis 5d1ba632e6 Merge branch 'docs-improve-contributing-guide' into 'master'
Improve the contributing documentation

See merge request gitlab-org/gitlab-ce!22291
2018-10-15 10:59:52 +00:00
Thong Kuah 85316bbb2a Link to DeclarativePolicy page from /development 2018-10-15 12:12:45 +13:00
Rémy Coutable bfd6129506
Improve the contributing documentation
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>
2018-10-11 16:33:46 +02:00
Marcel Amirault 109cfd951d
Correct grammar (setup to set-up) in Docs 2018-09-21 16:29:14 +02:00
Toon Claes ce830d3c60 Add Gitlab::Database::Subquery.self_join to delete_all with limit
`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
2018-09-20 16:27:09 +02:00
Robert Speicher 272876fd6f
Remove redundant word from development doc index 2018-09-18 15:17:07 -05:00
Yorick Peterse 831300bcec
Enhance some performance guideline titles
This enhances a few performance guideline titles in the development
README, making it easier to understand what topics they cover.
2018-09-18 14:25:22 +02:00
Yorick Peterse b15d28b4c7
Document abstraction levels and code reuse
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.
2018-09-13 17:01:20 +02:00
Jarka Košanová d556eca07d Document permissions for different entities 2018-09-10 10:54:52 +00:00
Kamil Trzciński 9f2a6ca03c Add development documentation 2018-09-04 15:01:34 +02:00
Tom Atkins 9bc960c871 Add link to Profiling doc to README 2018-08-24 12:21:09 +00:00
Yorick Peterse 3d46f3155a
Add documentation about reading query plans
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.
2018-08-17 15:22:42 +02:00
Toon Claes 13afac6533 First version of pry_debugging.md 2018-07-20 11:56:17 +02:00
Dennis Tang c08718c321 Fix typo in doc/development/README.md 2018-06-12 03:28:29 +00:00
Marcia Ramos cc9928c256 Docs: add the documentation guidelines into its own dir 2018-06-06 11:32:38 +00:00
Bob Van Landuyt aa4b1ae712 Add `present_using` to types
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`).
2018-06-05 20:47:42 +02:00
Marcia Ramos f703ba3f85 Docs: add custom descriptions to most relevant docs 2018-05-09 11:07:11 +00:00
James Lopez 686ed453c7 Add missing security process for developers 2018-05-08 10:55:02 +00:00
Douwe Maan 7275c225f1 Merge branch '43614-osw-diff-docs' into 'master'
Add developer documentation on diff handling and limits

Closes #43614

See merge request gitlab-org/gitlab-ce!18269
2018-04-30 15:34:12 +00:00
Oswaldo Ferreira 5e0a2db706 Add developer documentation on diff handling and limits 2018-04-30 11:16:29 -03:00