Skip to content

Ignore package metadata db directory

Oscar Tovar requested to merge ignore-package-metadata-db-directory into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR adds the /vendor/package_metadata_db/ directory to the .gitignore file which prevents checking in any files to the repository. This directory is meant to be used only by offline instances of GitLab who are importing a local copy of GitLabs license-db exports.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Add file(s) to directory.

    # Run from root of repository
    mkdir -p vendor/package_metadata_db/
    touch vendor/package_metadata_db/test.txt
  2. Verify that the files do not appear when running git status

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports