wpengine / wpengine/wpackagist

No checksum for packages leads to problems

Open
#440 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
768
Forks
69
Avg merge
3h 52m
Merged PRs (30d)
1

Description

I ran into this issue today when preparing my local dev environment, did a composer install and imported a DB dump from the production site, but the site is broken in my local environment.
After a lot of debugging I concluded that there must be different codes bases.

Downloaded the plugins and themes folder from production and used PHPStorm to compare it to my local installation.
Turns out that version 1.9.3 of wpackagist-plugin/wc-product-table-lite is different in wpackagist than it was when we deployed it on production.

I understand that this happened due to the plugin author messing up but it would save a lot of headaches if there was a checksum that composer could check against.
Of course one would still have to solve the issue itself but at least composer can pinpoint the problem immediately.

If someone can point me in the right direction I am willing to try and provide a PR to resolve this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing how WPackagist publishes package metadata for wpackagist-plugin/wc-product-table-lite and how Composer consumes it, then determine where checksum data could be recorded and verified. Done means checksum mismatches are detected during installation and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.