pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Repo and Issue Tracker Unreachable via HEAD Request

Open appfluent opened this issue 1 year ago • 7 comments

I keep getting the following errors intermittently during package analysis and my score drops until I push a new version:

Repository URL doesn't exist. At the time of the analysis https://github.com/appfluent/xwidget was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist. At the time of the analysis https://github.com/appfluent/xwidget/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Maybe there should be a retry count and period or maybe the retry values need to be adjusted to give more time between retries? Thanks!

appfluent avatar Jan 12 '24 18:01 appfluent

package analysis and my score drops until I push a new version:

Note: this usually only happens when we release a new site version and try to re-analyze all of the versions at once, we are likely rate-limited by GitHub. We periodically re-analyze versions, and the next time it should correct the score (without you publishing a new version). We are considering different approaches to address his issue.

isoos avatar Jan 12 '24 18:01 isoos

This affects the visibility of the links in the sidebar. This should change e even if the link is "unrechable" at time of analysis, maybe it should not be hidden in the sidebar.

Maybe toa ddress that, pana sohuld include somethign like UrlWithIssue in the AnalysisResult class and then pub.dev can decide to show with a warning (or under a hidden links section)?

renancaraujo avatar Jan 17 '24 13:01 renancaraujo

This is affecting my package flutter_native_splash.

jonbhanson avatar Feb 04 '24 16:02 jonbhanson

Looks like this is also affecting several packages in flutter/packages, see the pub scores listed and linked to here: https://github.com/flutter/packages/blob/main/README.md#packages

Piinks avatar Feb 07 '24 17:02 Piinks

All of my packages have been dinged from 140 points to 130 because of this, and their issue tracker link on the right-hand sidebar is hidden because of it.

Just adding this comment to hopefully help bump this issue up on the priority list.

babincc avatar Feb 09 '24 08:02 babincc

Note: there is a temporary "fix" on the way.

However, @babincc: can you link to one of the packages? I thought that if the repository is verified we use it for linking, but I might be wrong.

isoos avatar Feb 09 '24 08:02 isoos

@isoos Here is my publisher page with all of my packages https://pub.dev/publishers/hexcat.dev/packages

babincc avatar Feb 09 '24 08:02 babincc