Skip to content

Migrate package registery package files dropdown to disclosure

What does this MR do and why?

Migrate GlDropdown to GlDisclosureDropdown on app/assets/javascripts/packages_and_registries/package_registry/components/details/package_files.vue

Changelog: changed

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Skip to Step 3 if you already have a package with files.
  2. In your terminal, create/find a file that you would like to upload and cd to its location.
  3. Run the following command, putting appropriate values on token (access token), filename, project_id (integer id, not name), package_name
for i in {1..5}; do curl --header "PRIVATE-TOKEN: <token>" \
     --upload-file $PWD/<filename> \
     "http://172.16.123.1:3000/api/v4/projects/<project_id>/packages/generic/<package_name>/0.0.1/<filename>$i"; done
  1. Go to the projects Package Registry page and find the new package that was created with the files uploaded.

MR acceptance checklist

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

Related to #413466 (closed)

Edited by Shane Maglangit (Personal)

Merge request reports

Loading