Migrate Redis keys in RepositoryCache to the structured format
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Collaborate/take over this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=383457) </details> <!--IssueSummary end--> * Epic: https://gitlab.com/groups/gitlab-org/-/epics/9313 * Discussion: https://gitlab.com/gitlab-org/gitlab/-/issues/378189#note_1166190924 [`RepositoryCache`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/repository_cache.rb) is responsible for majority of repository related caches (branches, tags, avatars, ...) ### Proposal Update all `cache_method` keys to follow the new format: Example ``` cache:gitlab:source_code_management:Repository#has_ambiguous_refs?:project-1 ``` ### Notes * `source_code_management` can be a default value, because the whole `RepositoryCache` belongs to `source_code_management` feature category. * We keep `cache:gitlab` for now, the migration to `gl:` will take place after.
issue