Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include older versions #32

Open
ronilaukkarinen opened this issue Nov 20, 2024 · 1 comment
Open

Include older versions #32

ronilaukkarinen opened this issue Nov 20, 2024 · 1 comment

Comments

@ronilaukkarinen
Copy link
Member

Not sure if wp-languages or drop in issue. It seems there is a limit for versions. How I can fetch a translation file for example 12 versions back? @onnimonni @ivuorinen

Example require in composer.json:

"wpackagist-plugin/woocommerce": "8.9.3",
"koodimonni-plugin-language/woocommerce-fi": "8.9.3"

Output in composer update:

Downloading https://repo.packagist.org/p2/koodimonni-plugin-language/woocommerce-fi.json
> pre-file-download: FFraenz\PrivateComposerInstaller\Plugin->handlePreDownloadEvent
> pre-file-download: gotoAndDev\GravityFormsComposerInstaller\Plugin->handlePreDownloadEvent
Downloading https://repo.packagist.org/p2/koodimonni-plugin-language/woocommerce-fi~dev.json
[404] https://repo.packagist.org/p2/koodimonni-plugin-language/woocommerce-fi.json
[404] https://repo.packagist.org/p2/koodimonni-plugin-language/woocommerce-fi~dev.json
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires koodimonni-plugin-language/woocommerce-fi 8.9.3, found koodimonni-plugin-language/woocommerce-fi[9.1.2, 9.1.4, 9.2.1, 9.2.2, 9.2.3, 9.3.1, 9.3.2, 9.3.3, 9.4.1, 9.4.2] but it does not match the constraint.
  Problem 2
    - Root composer.json requires koodimonni-language/fi * -> satisfiable by koodimonni-language/fi[4.1.41, 4.2.38, 4.3.34, 4.4.33, 4.5.32, 4.6.29, 4.7.29, 4.8.25, 4.9.26, 5.0.22, 5.1.19, 5.2.21, 5.3.18, 5.4.16, 5.5.15, 5.6.14, 5.7.12, 5.8.10, 5.9.10, 6.0.8, 6.0.9, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.2, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.3, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.4, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.5, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.6, 6.6.1, 6.6.2, 6.7].
    - koodimonni-language/fi[4.1.41, 4.2.38, 4.3.34, 4.4.33, 4.5.32, 4.6.29, 4.7.29, 4.8.25, 4.9.26, 5.0.22, 5.1.19, 5.2.21, 5.3.18, 5.4.16, 5.5.15, 5.6.14, 5.7.12, 5.8.10, 5.9.10, 6.0.8, 6.0.9, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.2, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.3, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.4, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.5, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.6, 6.6.1, 6.6.2, 6.7] require koodimonni-plugin-language/woocommerce-fi * -> found koodimonni-plugin-language/woocommerce-fi[9.1.2, 9.1.4, 9.2.1, 9.2.2, 9.2.3, 9.3.1, 9.3.2, 9.3.3, 9.4.1, 9.4.2] but it conflicts with your root composer.json require (8.9.3).
@ivuorinen
Copy link
Member

I haven't confirmed this yet, but could be because I had to limit to some amount of old versions. The relevant code is in bin/cache.

You should be able to run the caching locally to see does it leave the version you want out of the final json.

ivuorinen added a commit that referenced this issue Jan 20, 2025
Increased kept plugin versions increased to 50, kept theme versions to 25. Ref: #32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants