Support storing arbitrary repository metadata



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,
    "": "tip",
    "do.zalan.opensource.zappr.type": "code"

If you use Postgres there is a JSON Type field


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