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

No bulk package found with name "yireo/magento2-replace-core" #19

Open
peterjaap opened this issue Oct 7, 2024 · 6 comments
Open

No bulk package found with name "yireo/magento2-replace-core" #19

peterjaap opened this issue Oct 7, 2024 · 6 comments

Comments

@peterjaap
Copy link
Contributor

Bulk adding doesn't work?

composer replace:bulk:add yireo/magento2-replace-inventory
Found yireo/magento2-replace-inventory:4.2.8.0

In BulkReplacement.php line 123:

  No bulk package found with name "yireo/magento2-replace-core"


replace:bulk:add <package>

@peterjaap
Copy link
Contributor Author

Also;

composer replace:bulk:add yireo/magento2-replace-graphql

In BulkReplacement.php line 123:

  No bulk package found with name "yireo/magento2-replace-graphql"


replace:bulk:add <package>

And;

composer replace:bulk:add yireo/magento2-replace-content-staging

In BulkReplacement.php line 123:

  No bulk package found with name "yireo/magento2-replace-content-staging"


replace:bulk:add <package>

Am I missing something here?

@jissereitsma
Copy link
Contributor

Hmm. I'm running the following and getting this:

$ composer replace:bulk:add yireo/magento2-replace-graphql
Found yireo/magento2-replace-graphql:4.2.8.0
Found yireo/magento2-replace-bundled:4.3.4.0
Found yireo/magento2-replace-content-staging:4.2.2.0
Do not forget to run "composer replace:build" afterwards

Could it be that you have cloned these repositories in your own Packagist or something?

@peterjaap
Copy link
Contributor Author

Yes we use Private Pakvagist but I’ve added them there manually and still to no avail.

@allrude
Copy link

allrude commented Nov 4, 2024

We encounter the same problem and can confirm that allowing public packagist solves the problem.

@jissereitsma
Copy link
Contributor

Note: Most likely the following line does not support authentication: https://github.com/yireo/magento2-replace-tools/blob/master/src/Composer/Model/BulkReplacement.php#L108 So if the sources of (Public) Packagist are disabled, and all sources are served through Private Packagist instead (which requires authentication), this fails.

@peterjaap
Copy link
Contributor Author

@jissereitsma yes you're right, when I add my credentials like this on line 87, it works;

        $io->setAuthentication('repo.packagist.com', 'peterjaap', 'tokenhere');

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

3 participants