Skip to content

Conversation Repository#attributes

https://gitlab.com/gitlab-org/gitlab-ce/blob/1b1475cba4357cfb5f42dd05f8eda7b2932f1c2b/lib/gitlab/git/repository.rb#L992-994

Gitlab::Git::Repository#attributes uses https://gitlab.com/gitlab-org/gitlab-ce/blob/1b1475cba4357cfb5f42dd05f8eda7b2932f1c2b/lib/gitlab/git/info_attributes.rb which gets eagerly initialized from the 'foo.git/info/attributes' file on disk.

This needs to be migrated. I suggest we make it lazy, to avoid making a Gitaly call each time a Gitlab::Git::Repository in instantiated.


Stages:

RPC Endpoints:

  • Endpoint::Name

Known Client Routes:

  • Known client endpoints

Edited by Kim Carlbäcker
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information