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

Composer lockfile is out of sync with composer.json #42

Closed
ctgraham opened this issue Mar 9, 2023 · 1 comment
Closed

Composer lockfile is out of sync with composer.json #42

ctgraham opened this issue Mar 9, 2023 · 1 comment

Comments

@ctgraham
Copy link
Collaborator

ctgraham commented Mar 9, 2023

File composer.lock represents the state of composer dependencies prior to update to phpXmlRpc version 4.9.

Thus, with a fresh git clone and composer install, we'll get the old version of phpXmlRpc and a failed patchfile.

[ctgraham@ojs-dev-01 ~]$ git clone ssh://[email protected]/pkp/plagiarism.git example
Cloning into 'example'...
remote: Enumerating objects: 776, done.
remote: Counting objects: 100% (361/361), done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 776 (delta 239), reused 308 (delta 213), pack-reused 415
Receiving objects: 100% (776/776), 202.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (430/430), done.
[ctgraham@ojs-dev-01 ~]$ cd example
[ctgraham@ojs-dev-01 example]$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Package operations: 3 installs, 0 updates, 0 removals
  - Installing cweagans/composer-patches (1.7.3): Extracting archive
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Installing phpxmlrpc/phpxmlrpc (4.0.0): Extracting archive
  - Installing bsobbe/ithenticate (dev-master 8440a85): Extracting archive
  - Applying patches for phpxmlrpc/phpxmlrpc
    lib/phpxmlrpc-datetime.diff (Allow other datetime possibility)
   Could not apply patch! Skipping. The error was: Cannot apply patch lib/phpxmlrpc-datetime.diff

Generating autoload files
@ctgraham
Copy link
Collaborator Author

ctgraham commented Mar 9, 2023

Commits against main and stable-3_3_0.

@ctgraham ctgraham closed this as completed Mar 9, 2023
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

1 participant