cedaro / satispress

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

How to add old plugin versions #80

Closed koenHuybrechts closed 6 years ago

koenHuybrechts commented 6 years ago

We have an "old" Satispress version, but with the new release we redid the whole setup. At the moment, there are 200+ plugins hosted by our Satispress install.

When adding the 200+ packages, only the newest version will be hosted by Satispress. In our old install, we had a lot of older versions and for some websites, we only can have an older version of the plugin installed. For example from Gravity Forms.

How can I add older versions of packages?

bradyvercher commented 6 years ago

In that case, you just need to copy the artifacts from the old /wp-content/uploads/satispress directory to the new /wp-content/uploads/satispress-{xxxx}/packages directory. rsync would probably be the easiest route.

How is performance on a setup with that many plugins?

bradyvercher commented 6 years ago

I'm going to go ahead and close this out, but let me know if you had any problems migrating cached packages.

koenHuybrechts commented 6 years ago

Thanks @bradyvercher for your reply!

I tried this already on the 13th of September. As you can see on the first screenshot, I have some older versions of Gravity Forms:

screen shot 2018-09-27 at 22 07 14

These are the versions recognised by Satispress:

screen shot 2018-09-27 at 22 07 30

Any idea how/where I can see or find our what went wrong?

bradyvercher commented 6 years ago

Are those in the /wp-content/uploads/satispress-xxxx/packages/gravityforms/ directory? The location changed since the previous version, so it's import to make sure the cache directory has the random suffix and that the artifacts are in the /packages subdirectory.

koenHuybrechts commented 6 years ago

Ah! The subdirectory /packages was not there! This was the missing link for my understanding. Thanks!