pkgcore / pkgcheck

pkgcore-based QA utility for ebuild repos
https://pkgcore.github.io/pkgcheck
BSD 3-Clause "New" or "Revised" License
34 stars 29 forks source link

UnstableSrcUri: check for unstable SRC_URI #599

Closed arthurzam closed 10 months ago

arthurzam commented 1 year ago

I've currently collected the patterns from the linked issues. I can add more as requested.

For ::gentoo it results in:

dev-haskell/memory
  UnstableSrcUri: version 0.15.0-r1: unstable SRC_URI: [ https://patch-diff.githubusercontent.com/raw/vincenthz/hs-memory/pull/81.patch ]

dev-python/jupyter
  UnstableSrcUri: version 1.0.0-r4: unstable SRC_URI: [ https://patch-diff.githubusercontent.com/raw/jupyter/jupyter/pull/198.patch ]

net-voip/telepathy-rakia
  UnstableSrcUri: version 0.8.0-r1: unstable SRC_URI: [ https://patch-diff.githubusercontent.com/raw/TelepathyIM/telepathy-rakia/pull/1.patch ]

For ::guru it results in:

sci-electronics/verible
  UnstableSrcUri: version 0.0.2275: unstable SRC_URI: [ https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz ]
  UnstableSrcUri: version 0.0.3124: unstable SRC_URI: [ https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz ]

Resolves: https://github.com/pkgcore/pkgcheck/issues/505 Resolves: https://github.com/pkgcore/pkgcheck/issues/510

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 76.47% and project coverage change: -0.02 :warning:

Comparison is base (2b9b8e7) 79.77% compared to head (f2a83ca) 79.76%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #599 +/- ## ========================================== - Coverage 79.77% 79.76% -0.02% ========================================== Files 58 58 Lines 8652 8667 +15 Branches 1966 1970 +4 ========================================== + Hits 6902 6913 +11 - Misses 1648 1650 +2 - Partials 102 104 +2 ``` | [Impacted Files](https://app.codecov.io/gh/pkgcore/pkgcheck/pull/599?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pkgcore) | Coverage Δ | | |---|---|---| | [src/pkgcheck/checks/metadata.py](https://app.codecov.io/gh/pkgcore/pkgcheck/pull/599?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pkgcore#diff-c3JjL3BrZ2NoZWNrL2NoZWNrcy9tZXRhZGF0YS5weQ==) | `89.04% <76.47%> (-0.25%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.