[go: up one dir, main page]

Migration Analysis: ProjectsController#show

~Conversation: #220 (closed)

Goal: perform a migration analysis on the ProjectsController#show controller in GitLab-Rails.

  • Routes:
    • ProjectsController#show
    • ProjectsController#show.json

Three methods on Gitlab::Git::Repository, all cached in Rails.cache:

  • root_ref (already migrated)
  • branch_count
  • tag_count

Proposal: implement CountRefs RPC that takes a 'prefix' argument (e.g. refs/heads/).

Edited by Andrew Newdigate