Skip to content

Add ability to filter tags by name

Context

This is required to support &10208 (closed) and is related to the new List Repository Tags API endpoint.

Problem

Today, a list of all the tags is returned by the List Repository Tags endpoint. The GitLab UI currently supports filtering tags by name.

This is the counterpart implementation of the filtering in Ruby.

if filters[:name]
  result = tags.filter do |tag|
    tag.name.include?(filters[:name])
  end
end

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖