Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitlab_git gitlab_git
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GitLab.orgGitLab.org
  • gitlab_gitgitlab_git
  • Merge requests
  • !81

Added Repository#tag_exists?

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Yorick Peterse requested to merge tag-exists into master Apr 29, 2016
  • Overview 6
  • Commits 2
  • Pipelines 0
  • Changes 3

Checking if a tag exists is one of the main reasons the Grape API /internal/allowed is slow. By using a dedicated method for checking a tag's existence (without loading the entire tag collection) we can hopefully cut down the time spent in this process.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/14280 for more info.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: tag-exists