cedaro / satispress

Expose installed WordPress plugins and themes as Composer packages.
521 stars 51 forks source link

Could not find a matching version of package #170

Closed campaignupgrade closed 2 years ago

campaignupgrade commented 2 years ago

composer require satispress/wp-all-import-pro

Result:

[InvalidArgumentException]
  Could not find a matching version of package satispress/wp-all-import-pro. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).

Any ideas what's going on?

bradyvercher commented 2 years ago

@campaignupgrade Sorry, I really don't have any ideas. It sounds like you covered everything I would have tried. Were you able to figure this out?

campaignupgrade commented 2 years ago

I never figured it out.

Two days later I ran it again and it's working fine. I had made no changes to my configuration.

This issue can be closed until I can make the issue repeatable.

campaignupgrade commented 2 years ago

Does Satispress store a local copy of which packages are available on a remote repo?

Or does it fetch that list fresh from the remote each time it's invoked?

bradyvercher commented 2 years ago

@campaignupgrade Thanks for the update.

SatisPress stores a local copy of new releases as WordPress becomes aware of them. It doesn't deal with any remote repos except to download and cache new releases. Communication with remotes is still handled through the WordPress update API, SatisPress just hooks into the process to create the local repo.