Include languages for private organization repos? #190
-
Hi there! Just wondering, is it possible to get language metrics for all repos you have access to, that aren't owned directly by you - for example, if I My token has scopes: For example organizations(first: 10) {
nodes {
repositories(first: 10) {
nodes {
languages(first: 10) {
edges {
size
node {
color
name
}
}
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello! Yes, you can set the metrics/source/plugins/base/metadata.yml Lines 37 to 47 in b17eba9 Using I don't have that much experience with GitHub organizations so I'm not entirely sure, but it may also include repositories where you're a member of said organization but have not actually contributed too. So you could also try to set it to (note that some plugins re-use same the data extracted by base plugin, which is the case for the languages plugin, so that's why even though it's a base plugin option, it'll affect the languages stats) Hope this helps 🙂 |
Beta Was this translation helpful? Give feedback.
Hello!
Yes, you can set the
repositories_affiliations
option:metrics/source/plugins/base/metadata.yml
Lines 37 to 47 in b17eba9
Using
""
on it will remove enti…