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

update version auf magento2 marketplace #180

Open
stone-thor opened this issue Sep 10, 2021 · 3 comments
Open

update version auf magento2 marketplace #180

stone-thor opened this issue Sep 10, 2021 · 3 comments

Comments

@stone-thor
Copy link

Die Aktuell verfügbare Version auf

https://marketplace.magento.com/splendidinternet-mage2-locale-de-de.html

lautet 1.63.0 . Die aktuell verfügbare Version auf packagist.org ist 1.66.

habe ich in der composer.json :

    "require": {
        "splendidinternet/mage2-locale-de-de": "^1.66"
   [...]
    }

und

    "repositories": {
        "magento": {
            "type": "composer",
            "url": "https://repo.magento.com/"
        },
        "splendid": {
            "type": "composer",
            "url": "https://composer.splendid-internet.de/"
        }
     }

eingetragen, und führe composer update aus, dann:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires splendidinternet/mage2-locale-de-de ^1.66, it is satisfiable by splendidinternet/mage2-locale-de-de[1.66.0] from composer repo (https://repo.packagist.org) but splendidinternet/mage2-locale-de-de[1.13.0, 1.63.0] from composer repo (https://repo.magento.com) has higher repository priority. The packages with higher priority do not match your constraint and are therefore not installable. See https://getcomposer.org/repoprio for details and assistance.
@stone-thor
Copy link
Author

ein möglicher workaround ist:

    "require": {
        "splendidinternet/mage2-locale-de-de": "^1.63"
   [...]
    }

statt

    "require": {
        "splendidinternet/mage2-locale-de-de": "^1.66"
   [...]
    }

zu nutzen

@niclashoyer
Copy link
Collaborator

niclashoyer commented Sep 23, 2021

Die Version bei Packagist wird immer neuer sein. Die Regeln im Magento-Marketplace ändern sich ständig und wir versuchen laufend die Version zu aktualisieren. Leider klappt das nicht immer. Wir empfehlen daher immer über Packagist zu installieren. Die Meldung ergibt sich seit composer in Version 2. Ob man da eventuell mit dem canonical-Flag noch einen anderen Workaround machen kann, müssten wir uns mal anschauen.

@motze92
Copy link

motze92 commented Nov 2, 2022

Ein weiterer Workaroung:

in der composer.json im Magento Repository excluden.

       {
            "type": "composer",
            "url": "https://repo.magento.com/",
            "exclude": ["splendidinternet/mage2-locale-de-de"]
        }

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