Skip to content

Document the use of namespaces in code

Fabio Pitino requested to merge docs/describe-use-of-namespaces into master

What does this MR do?

In !51236 (merged) we introduced a Rubocop Cop that enforces the use of Namespaced classes in backend code.

This MR describes the reason why we want to enforce that and adds a new file Directory structure which could be used as placeholder for future improvements around the same topic, e.g. #299181 (closed).

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading