https://platformengineering.org logo
#gitops
Title
# gitops
a

Arnas Lukošius

05/08/2023, 2:32 PM
Can anyone share how they manage repository metadata on Github? I want to add info such as team ownership, service name that repo belongs to, link to docs, etc. Preferably via API. I was surprised that there is no concept of tagging or labels in Github API. Well, there is, but one is related to git itself, while the other is related to issue labeling.
j

John Dietz

05/08/2023, 3:35 PM
we manage our github repos using terraform using the github_repository resource. i have to believe the terraform provider is just leveraging github’s api so it’s almost certainly available to you. there’s
topics
property which works a lot like a label.
t

Tomas Dabašinskas

05/09/2023, 5:12 AM
We have
.$company.yaml
files in all our repositories.
a

Arnas Lukošius

05/09/2023, 5:29 AM
Thanks, using
topics
makes sense for adding simple metadata.
@Tomas Dabašinskas do you follow some kind of public standard format for
.$company.yaml
file or is it all in-house?
t

Tomas Dabašinskas

05/09/2023, 5:32 AM
In-house. Yet, we are PoC’ing Backstage (including their catalog-info.yml file)
31 Views