devlooped / SponsorLink

SponsorLink: an attempt at OSS sustainability
https://www.devlooped.com/SponsorLink
MIT License
40 stars 4 forks source link

Account for source repo name/ownership changes for nuget stats #369

Closed kzu closed 1 month ago

kzu commented 1 month ago

Packages may have specified a certain owner/repo information, which can later be changed on github. Repositories can be renamed, and ownership transferred, which would now leave an inconsistency in how we report since the current info on github wouldn't match a published package.

We account for this by first resolving the full name of the owner/repo we find in package metadata, which would account for any renaming that happened.

devlooped-bot commented 1 month ago

44 passed 44 passed 1 skipped 44 passed 44 passed 1 skipped 44 passed 44 passed 1 skipped

:test_tube: Details on macOS Unix 14.6.1 :white_check_mark: Devlooped.Tests.SponsorLinkTests.TryRead :grey_question: Devlooped.Tests.SponsorLinkTests.ValidateCachedManifest => Non-CI test :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateExpiredSponsor :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateSponsorable :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateUnknownFormat :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateWrongKey :white_check_mark: Tests.AnalyzerTests.WhenAnalyzerNotDirectlyReferenced_ThenDoesNotReport :white_check_mark: Tests.AnalyzerTests.WhenMultipleAnalyzers_ThenReportsOnce :white_check_mark: Tests.AnalyzerTests.WhenNoAdditionalFiles_ThenReportsUnknown :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib,oss", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib,team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org,contrib", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org,oss", status: Organization) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org", status: Organization) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "oss", status: OpenSource) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,contrib,team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,org,contrib", status: User) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,oss", status: User) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user", status: User) :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndGrace_ThenDoesNotReport :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndGraceExpired_ThenReportsUnknown :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndNoGraceOption_ThenReportsUnknown :white_check_mark: Tests.Sample.RenderSponsorables :white_check_mark: Tests.Sample.Test(culture: "", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "", kind: User) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "en", kind: User) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: User) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "es", kind: User)
:test_tube: Details on Ubuntu 22.04.5 LTS :white_check_mark: Devlooped.Tests.SponsorLinkTests.TryRead :grey_question: Devlooped.Tests.SponsorLinkTests.ValidateCachedManifest => Non-CI test :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateExpiredSponsor :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateSponsorable :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateUnknownFormat :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateWrongKey :white_check_mark: Tests.AnalyzerTests.WhenAnalyzerNotDirectlyReferenced_ThenDoesNotReport :white_check_mark: Tests.AnalyzerTests.WhenMultipleAnalyzers_ThenReportsOnce :white_check_mark: Tests.AnalyzerTests.WhenNoAdditionalFiles_ThenReportsUnknown :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib,oss", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib,team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org,contrib", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org,oss", status: Organization) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org", status: Organization) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "oss", status: OpenSource) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,contrib,team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,org,contrib", status: User) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,oss", status: User) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user", status: User) :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndGrace_ThenDoesNotReport :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndGraceExpired_ThenReportsUnknown :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndNoGraceOption_ThenReportsUnknown :white_check_mark: Tests.Sample.RenderSponsorables :white_check_mark: Tests.Sample.Test(culture: "", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "", kind: User) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "en", kind: User) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: User) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "es", kind: User)
:test_tube: Details on Microsoft Windows 10.0.20348 :white_check_mark: Devlooped.Tests.SponsorLinkTests.TryRead :grey_question: Devlooped.Tests.SponsorLinkTests.ValidateCachedManifest => Non-CI test :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateExpiredSponsor :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateSponsorable :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateUnknownFormat :white_check_mark: Devlooped.Tests.SponsorLinkTests.ValidateWrongKey :white_check_mark: Tests.AnalyzerTests.WhenAnalyzerNotDirectlyReferenced_ThenDoesNotReport :white_check_mark: Tests.AnalyzerTests.WhenMultipleAnalyzers_ThenReportsOnce :white_check_mark: Tests.AnalyzerTests.WhenNoAdditionalFiles_ThenReportsUnknown :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib,oss", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib,team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "contrib", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org,contrib", status: Contributor) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org,oss", status: Organization) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "org", status: Organization) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "oss", status: OpenSource) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,contrib,team", status: Team) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,org,contrib", status: User) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user,oss", status: User) :white_check_mark: Tests.AnalyzerTests.WhenSponsoringRole_ThenEnsureStatus(roles: "user", status: User) :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndGrace_ThenDoesNotReport :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndGraceExpired_ThenReportsUnknown :white_check_mark: Tests.AnalyzerTests.WhenUnknownAndNoGraceOption_ThenReportsUnknown :white_check_mark: Tests.Sample.RenderSponsorables :white_check_mark: Tests.Sample.Test(culture: "", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "", kind: User) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "en", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "en", kind: User) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "es-AR", kind: User) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Contributor) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Expired) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Expiring) :white_check_mark: Tests.Sample.Test(culture: "es", kind: Unknown) :white_check_mark: Tests.Sample.Test(culture: "es", kind: User)

from dotnet-retest v0.6.3 on .NET 8.0.8 with :purple_heart: