#1587·metrics

repositories_skipped with pattern matching not working

Author: PyenbCreated Dec 21, 2023Updated Dec 21, 2023

Discussed in https://github.com/lowlighter/metrics/discussions/1586

Originally posted by Pyenb December 21, 2023 Hey there, first of all, I love this repo <3

But after setting everything up and reading the docs over and over again I cannot figure out why my repositories_skipped repos are not being skipped, which causes my language stats to be incorrect. It's not a huge issue as I just ignored some languages with plugin_languages_ignored but it still messes with it a bit.

This is the section from my core config:

          user: Pyenb
          template: classic
          base: header, activity, community, repositories, metadata
          config_timezone: Europe/Berlin
          
          repositories_affiliations: owner
          repositories_skipped: |
            @use.patterns

            -Pyenb/Hyprland_configs
            -HWR-Ubungen/*
            -HomelabKinau/*

And for me it seems like that the HWR-Ubungen (which I am one of the owners off) organization (or it's repos) are not being skipped, which causes my language stats for C to be way higher than they actually are. For now I fixed this with plugin_languages_ignored: tex, css, html, c, perl, inno setup, javascript, but which also ignores the C from my own repos that should be displayed.

I've already tried setting the repositories_affiliations: owner, which didn't seem to change anything.

Anything else i can try? Thanks in advance.