Support storing arbitrary repository metadata

schema-request

#1

It would be nice to have a metadata field for the Repository entity.

That field could be used by power users or apps to store arbitrary text, like a JSON.

Users should be suggested to namespace their content within that JSON so they don’t collide between apps, e.g.

repo = Octokit.all_repositories.last
repo.metadata = <<JSON_TEXT
{
    "com.codacy.current_grade": "A",
    "io.coveralls.current_coverage": 99,
    "do.zalan.opensource.zappr.team": "tip",
    "do.zalan.opensource.zappr.type": "code"
}
JSON_TEXT

If you use Postgres there is a JSON Type field


#2

I could see how this would be massively useful.

I can’t promise any particular outcome or timeline, but I’ve passed this on internally. Thanks for the suggestion