Skip to content

Include more helpful snippets for Composer packages

What does this MR do?

Merge Request for the Issue #254472

  • Removed package version from the composer.json, this is managed by composer self.
  • Changed Composer install does not required the api scope, api_read is enough and safer.
  • Added Composer commands to manage the comopser.json and auth.json.
  • Added Composer property gitlab-domains for self-hosted instances.

Screenshots

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

Fixed: #254472 /cc @trizzi

Edited by Björn Strausmann

Merge request reports