Skip to content

Conversation

@kraftbj
Copy link
Contributor

@kraftbj kraftbj commented May 12, 2025

  • Remove lock files
  • Ignore lockfiles

See https://wordpress.slack.com/archives/C02QB8GMM/p1746982331966409

The lock files are going to be outdated most of the time and the suggested path is to run composer update after cloning the repo. In such a case, the lock files do not serve a purpose.

Remove and ignore them.

Props kraftbj, kimjiwoon

Screenshots

Before After
image image

How to test the changes in this Pull Request:

  1. Fresh clone, start env, confirm latest version of plugins (e.g. Jetpack)

@kraftbj kraftbj changed the title Remove lockfiles Remove composer lockfiles May 12, 2025
@pkevan pkevan merged commit bec4ebd into WordPress:trunk Jun 4, 2025
2 of 3 checks passed
@kraftbj kraftbj deleted the remove/lockfile branch June 6, 2025 15:11
ryelle added a commit to WordPress/wporg-repo-tools that referenced this pull request Jun 6, 2025
See WordPress/wporg-main-2022#562, composer.lock was removed which causes this command to return an error, halting the rest of the action.
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

Successfully merging this pull request may close these issues.

2 participants