WordPress / wordcamp.org

WordCamps are casual, locally-organized conferences covering everything related to WordPress.
https://wordcamp.org
130 stars 74 forks source link

Docker local wordcamp.test service missing wpackagist-plugin/camptix-mercadopago #766

Closed CdrMarks closed 2 years ago

CdrMarks commented 2 years ago

Describe the bug

In the wordcamp.test service, composer.json requires wpackagist-plugin/camptix-mercadopago.

it could not be found in any version, there may be a typo in the package name.

To reproduce

Steps to reproduce the behavior:

  1. Follow the instructions at https://github.com/WordPress/wordcamp.org/blob/production/.docker/readme.md
  2. Prior to running docker-compose up --build, apply this fix if necessary https://github.com/WordPress/wordcamp.org/pull/765/files
  3. Run docker-compose up --build
  4. See the output below

Expected behavior

I expect to see wordcamp.test_1 | Startup complete. in the output.

Docker Output

wordcamp.test_1  | Updating dependencies
wordcamp.test_1  | Your requirements could not be resolved to an installable set of packages.
wordcamp.test_1  | 
wordcamp.test_1  |   Problem 1
wordcamp.test_1  |     - Root composer.json requires wpackagist-plugin/camptix-mercadopago, it could not be found in any version, there may be a typo in the package name.
wordcamp.test_1  | 
wordcamp.test_1  | Potential causes:
wordcamp.test_1  |  - A typo in the package name
wordcamp.test_1  |  - The package is not available in a stable-enough version according to your minimum-stability setting
wordcamp.test_1  |    see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
wordcamp.test_1  |  - It's a private package and you forgot to add a custom repository to find it
wordcamp.test_1  | 
wordcamp.test_1  | Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
wordcamp.test_1  | [09-May-2022 03:06:25] NOTICE: fpm is running, pid 43
wordcamp.test_1  | [09-May-2022 03:06:25] NOTICE: ready to handle connections

System (please complete the following information):

CdrMarks commented 2 years ago

While chatting with @ryelle in Slack

I removed references to camptix-mercadopago in: .docker/config/composer.json public_html/wp-content/mu-plugins/0-error-handling.php public_html/wp-content/mu-plugins/wcorg-misc.php public_html/wp-content/mu-plugins/wcorg-network-plugin-control.php

This allowed Composer to bring in other packages that I didn't have before.

wordcamp.test_1  | Info from https://repo.packagist.org: #StandWithUkraine
wordcamp.test_1  | Updating dependencies
wordcamp.test_1  | Lock file operations: 40 installs, 0 updates, 0 removals
wordcamp.test_1  |   - Locking composer/installers (v2.1.1)
wordcamp.test_1  |   - Locking wordpress-meta/wporg-profiles-wp-activity-notifier (1.1)
wordcamp.test_1  |   - Locking wordpress-plugin/bbpress (2.6)
wordcamp.test_1  |   - Locking wordpress-plugin/camptix-bd-payments (1.2)
wordcamp.test_1  |   - Locking wordpress-plugin/camptix-paynow (1.0.4)
wordcamp.test_1  |   - Locking wordpress-plugin/camptix-paystack (1.0.0)
wordcamp.test_1  |   - Locking wordpress-plugin/json-rest-api (1.2.5)
wordcamp.test_1  |   - Locking wpackagist-plugin/akismet (4.2.3)
wordcamp.test_1  |   - Locking wpackagist-plugin/campt-indian-payment-gateway (1.8)
wordcamp.test_1  |   - Locking wpackagist-plugin/camptix-pagseguro (1.5.5)
wordcamp.test_1  |   - Locking wpackagist-plugin/camptix-payfast-gateway (1.0.0)
wordcamp.test_1  |   - Locking wpackagist-plugin/camptix-trustcard (1.0.4)
wordcamp.test_1  |   - Locking wpackagist-plugin/camptix-trustpay (1.0.5)
wordcamp.test_1  |   - Locking wpackagist-plugin/classic-editor (dev-trunk)
wordcamp.test_1  |   - Locking wpackagist-plugin/custom-content-width (1.0.1)
wordcamp.test_1  |   - Locking wpackagist-plugin/edit-flow (0.9.6)
wordcamp.test_1  |   - Locking wpackagist-plugin/email-post-changes (dev-trunk)
wordcamp.test_1  |   - Locking wpackagist-plugin/gutenberg (13.1.0)
wordcamp.test_1  |   - Locking wpackagist-plugin/hyperdb (dev-trunk)
wordcamp.test_1  |   - Locking wpackagist-plugin/jetpack (10.9)
wordcamp.test_1  |   - Locking wpackagist-plugin/liveblog (1.9.6)
wordcamp.test_1  |   - Locking wpackagist-plugin/public-post-preview (2.9.3)
wordcamp.test_1  |   - Locking wpackagist-plugin/pwa (0.7.0)
wordcamp.test_1  |   - Locking wpackagist-plugin/supportflow (dev-trunk)
wordcamp.test_1  |   - Locking wpackagist-plugin/tagregator (dev-trunk)
wordcamp.test_1  |   - Locking wpackagist-plugin/wordpress-importer (0.7)
wordcamp.test_1  |   - Locking wpackagist-plugin/wp-cldr (1.0)
wordcamp.test_1  |   - Locking wpackagist-plugin/wp-super-cache (1.7.7)
wordcamp.test_1  |   - Locking wpackagist-theme/p2 (1.5.8)
wordcamp.test_1  |   - Locking wpackagist-theme/twentyeleven (4.0)
wordcamp.test_1  |   - Locking wpackagist-theme/twentyfifteen (3.1)
wordcamp.test_1  |   - Locking wpackagist-theme/twentyfourteen (3.3)
wordcamp.test_1  |   - Locking wpackagist-theme/twentynineteen (2.2)
wordcamp.test_1  |   - Locking wpackagist-theme/twentyseventeen (2.9)
wordcamp.test_1  |   - Locking wpackagist-theme/twentysixteen (2.6)
wordcamp.test_1  |   - Locking wpackagist-theme/twentyten (3.6)
wordcamp.test_1  |   - Locking wpackagist-theme/twentythirteen (3.5)
wordcamp.test_1  |   - Locking wpackagist-theme/twentytwelve (3.6)
wordcamp.test_1  |   - Locking wpackagist-theme/twentytwenty (1.9)
wordcamp.test_1  |   - Locking wpackagist-theme/twentytwentyone (1.5)
wordcamp.test_1  | Writing lock file
wordcamp.test_1  | Installing dependencies from lock file (including require-dev)
wordcamp.test_1  | Package operations: 40 installs, 0 updates, 0 removals
wordcamp.test_1  |   - Downloading composer/installers (v2.1.1)
wordcamp.test_1  |   - Downloading wpackagist-plugin/akismet (4.2.3)
wordcamp.test_1  |   - Downloading wpackagist-plugin/campt-indian-payment-gateway (1.8)
wordcamp.test_1  |   - Downloading wpackagist-plugin/camptix-pagseguro (1.5.5)
wordcamp.test_1  |   - Downloading wpackagist-plugin/camptix-payfast-gateway (1.0.0)
wordcamp.test_1  |   - Downloading wpackagist-plugin/camptix-trustcard (1.0.4)
wordcamp.test_1  |   - Downloading wpackagist-plugin/camptix-trustpay (1.0.5)
wordcamp.test_1  |   - Downloading wpackagist-plugin/classic-editor (dev-trunk)
wordcamp.test_1  |   - Downloading wpackagist-plugin/custom-content-width (1.0.1)
wordcamp.test_1  |   - Downloading wpackagist-plugin/edit-flow (0.9.6)
wordcamp.test_1  |   - Downloading wpackagist-plugin/email-post-changes (dev-trunk)
wordcamp.test_1  |   - Downloading wpackagist-plugin/gutenberg (13.1.0)
wordcamp.test_1  |   - Downloading wpackagist-plugin/hyperdb (dev-trunk)
wordcamp.test_1  |   - Downloading wpackagist-plugin/jetpack (10.9)
wordcamp.test_1  |   - Downloading wpackagist-plugin/liveblog (1.9.6)
wordcamp.test_1  |   - Downloading wpackagist-plugin/public-post-preview (2.9.3)
wordcamp.test_1  |   - Downloading wpackagist-plugin/pwa (0.7.0)
wordcamp.test_1  |   - Downloading wpackagist-plugin/supportflow (dev-trunk)
wordcamp.test_1  |   - Downloading wpackagist-plugin/tagregator (dev-trunk)
wordcamp.test_1  |   - Downloading wpackagist-plugin/wordpress-importer (0.7)
wordcamp.test_1  |   - Downloading wpackagist-plugin/wp-cldr (1.0)
wordcamp.test_1  |   - Downloading wpackagist-plugin/wp-super-cache (1.7.7)
wordcamp.test_1  |   - Downloading wpackagist-theme/p2 (1.5.8)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentyeleven (4.0)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentyfifteen (3.1)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentyfourteen (3.3)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentynineteen (2.2)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentyseventeen (2.9)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentysixteen (2.6)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentyten (3.6)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentythirteen (3.5)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentytwelve (3.6)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentytwenty (1.9)
wordcamp.test_1  |   - Downloading wpackagist-theme/twentytwentyone (1.5)
wordcamp.test_1  |   0/34 [>---------------------------]   0%
wordcamp.test_1  |   4/34 [===>------------------------]  11%
wordcamp.test_1  |   9/34 [=======>--------------------]  26%
wordcamp.test_1  |  11/34 [=========>------------------]  32%
wordcamp.test_1  |  15/34 [============>---------------]  44%
wordcamp.test_1  |  16/34 [=============>--------------]  47%
wordcamp.test_1  |  17/34 [==============>-------------]  50%
wordcamp.test_1  |  18/34 [==============>-------------]  52%
wordcamp.test_1  |  19/34 [===============>------------]  55%
wordcamp.test_1  |  20/34 [================>-----------]  58%
wordcamp.test_1  |  21/34 [=================>----------]  61%
wordcamp.test_1  |  22/34 [==================>---------]  64%
wordcamp.test_1  |  24/34 [===================>--------]  70%
wordcamp.test_1  |  27/34 [======================>-----]  79%
wordcamp.test_1  |  28/34 [=======================>----]  82%
wordcamp.test_1  |  29/34 [=======================>----]  85%
wordcamp.test_1  |  30/34 [========================>---]  88%
wordcamp.test_1  |  31/34 [=========================>--]  91%
wordcamp.test_1  |  32/34 [==========================>-]  94%
wordcamp.test_1  |  33/34 [===========================>]  97%
wordcamp.test_1  |  34/34 [============================] 100%
wordcamp.test_1  |   - Installing composer/installers (v2.1.1): Extracting archive
wordcamp.test_1  | For additional security you should declare the allow-plugins config with a list of packages names that are allowed to run code. See https://getcomposer.org/allow-plugins
wordcamp.test_1  | You have until July 2022 to add the setting. Composer will then switch the default behavior to disallow all plugins.
wordcamp.test_1  |   - Installing wordpress-meta/wporg-profiles-wp-activity-notifier (1.1):  Checking out wporg-profiles-wp-activity-notifier/
wordcamp.test_1  |   - Installing wordpress-plugin/bbpress (2.6):  Checking out branches/2.6/
wordcamp.test_1  |   - Installing wordpress-plugin/camptix-bd-payments (1.2):  Checking out tags/1.2/
wordcamp.test_1  |   - Installing wordpress-plugin/camptix-paynow (1.0.4):  Checking out tags/1.0.4/
wordcamp.test_1  |   - Installing wordpress-plugin/camptix-paystack (1.0.0):  Checking out tags/1.0.0/
wordcamp.test_1  |   - Installing wordpress-plugin/json-rest-api (1.2.5):  Checking out tags/1.2.5/
wordcamp.test_1  |   - Installing wpackagist-plugin/akismet (4.2.3): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/campt-indian-payment-gateway (1.8): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/camptix-pagseguro (1.5.5): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/camptix-payfast-gateway (1.0.0): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/camptix-trustcard (1.0.4): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/camptix-trustpay (1.0.5): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/classic-editor (dev-trunk): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/custom-content-width (1.0.1): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/edit-flow (0.9.6): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/email-post-changes (dev-trunk): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/gutenberg (13.1.0): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/hyperdb (dev-trunk): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/jetpack (10.9): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/liveblog (1.9.6): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/public-post-preview (2.9.3): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/pwa (0.7.0): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/supportflow (dev-trunk): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/tagregator (dev-trunk): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/wordpress-importer (0.7): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/wp-cldr (1.0): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-plugin/wp-super-cache (1.7.7): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/p2 (1.5.8): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentyeleven (4.0): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentyfifteen (3.1): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentyfourteen (3.3): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentynineteen (2.2): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentyseventeen (2.9): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentysixteen (2.6): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentyten (3.6): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentythirteen (3.5): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentytwelve (3.6): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentytwenty (1.9): Extracting archive
wordcamp.test_1  |   - Installing wpackagist-theme/twentytwentyone (1.5): Extracting archive
wordcamp.test_1  |   0/33 [>---------------------------]   0%
wordcamp.test_1  |  10/33 [========>-------------------]  30%
wordcamp.test_1  |  17/33 [==============>-------------]  51%
wordcamp.test_1  |  20/33 [================>-----------]  60%
wordcamp.test_1  |  29/33 [========================>---]  87%
wordcamp.test_1  |  30/33 [=========================>--]  90%
wordcamp.test_1  |  33/33 [============================] 100%
wordcamp.test_1  | Generating autoload files
wordcamp.test_1  | 1 package you are using is looking for funding.
wordcamp.test_1  | Use the `composer fund` command to find out more!
wordcamp.test_1  | Starting MailCatcher v0.8.2
wordcamp.test_1  | ==> smtp://127.0.0.1:1025
wordcamp.test_1  | ==> http://0.0.0.0:1080
wordcamp.test_1  | *** MailCatcher runs as a daemon by default. Go to the web interface to quit.
wordcamp.test_1  | [10-May-2022 22:09:06] NOTICE: fpm is running, pid 275
wordcamp.test_1  | [10-May-2022 22:09:06] NOTICE: ready to handle connection

I was able to access the /wp-admin for the site now:

image
ryelle commented 2 years ago

We can leave the references in the rest of the code (since this plugin does still exist on WordCamp.org), but I agree it can be removed from the .docker/config/composer.json file.