package-feeds icon indicating copy to clipboard operation
package-feeds copied to clipboard

Update nuget & packagist feeds to support ErrNoPackagesPolled & PackagePollError

Open tom--pollard opened this issue 3 years ago • 0 comments

With #123 the behaviour of feed polling became less brittle. It introduced ErrNoPackagesPolled & PackagePollError{} which were applied to the npm & pypi feeds, along with relevant tests. The behaviour was applied to all feeds where plausible but the specific error types were only deemed essential for the previously mentioned feeds as they support packages option.

Both nuget & packagist poll in a manner which can lead to per package errors. The previously mentioned error types should be extended to these feeds to provide more verbose error logging, as well as the test cases to cover 'partial' poll sets.

tom--pollard avatar Jun 11 '21 11:06 tom--pollard