Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: Contao 4.4 / MetaModels 2.1 / Wechsel vom Early Adaptor auf öffentliches Release

  1. #1
    Contao-Nutzer
    Registriert seit
    18.09.2015.
    Beiträge
    8

    Standard Contao 4.4 / MetaModels 2.1 / Wechsel vom Early Adaptor auf öffentliches Release

    Hallo zusammen,

    ich habe damals über das Early Adaptor-Programm Zugriff auf das geschütze Repo für MM 2.1 erhalten und würde nun gerne auf das öffentliche Repo wechsel, damit der Contao Manager bzw. das Paket-Update durchläuft.
    Leider scheitert es beim Entfernen daran, dass der Contao Manager keinen Zugriff auf das Repo hat.
    Wie entferne ich die Bezüge auf das geschützte Repo korrekt bzw. wie wechsle ich auf das öffentliche Repo?

    Danke und viele Grüße
    yoyobo

    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0+",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^5.6|^7.0",
            "codefog/contao-cookiebar": "^2.0",
            "contao-bootstrap/bundle": "~2.0@beta",
            "contao/calendar-bundle": "^4.4",
            "contao/comments-bundle": "^4.4",
            "contao/faq-bundle": "^4.4",
            "contao/listing-bundle": "^4.4",
            "contao/manager-bundle": "4.4.*",
            "contao/news-bundle": "^4.4",
            "contao/newsletter-bundle": "^4.4",
            "delahaye/dlh_googlemaps": "^2.3",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "metamodels/attribute_checkbox": "dev-feature/contao4 as 2.0.1",
            "metamodels/attribute_file": "dev-feature/contao4 as 2.0.0",
            "metamodels/attribute_longtext": "dev-feature/contao4 as 2.1.0",
            "metamodels/attribute_numeric": "dev-feature/contao4 as 2.1.0",
            "metamodels/attribute_tags": "dev-feature/contao4 as 2.0.0",
            "metamodels/attribute_text": "dev-feature/contao4 as 2.1.0",
            "metamodels/attribute_timestamp": "dev-feature/contao4 as 2.1.0",
            "metamodels/attribute_url": "dev-feature/contao4 as 2.1.0",
            "metamodels/core": "dev-feature/contao4 as 2.1.0",
            "metamodels/filter_select": "dev-feature/contao4 as 2.1.0",
            "omosde/contao-om-backend": "^1.4",
            "terminal42/contao-leads": "^1.4"
        },
        "conflict": {
            "contao/core-bundle": "<4.4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        },
        "repositories": [
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/core.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/filter_select.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_text.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_tags.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_file.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_longtext.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_checkbox.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_timestamp.git"
        }, 
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_url.git"
        },
        {
          "type": "git",
          "url": "git@gitlab.com:metamodels/attribute_numeric.git"
        }
        ],
        "minimum-stability" : "dev",
        "prefer-stable":true
    }

  2. #2
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.681
    User beschenken
    Wunschliste

    Standard

    siehe z.B. https://github.com/MetaModels/core/issues/1288

    Code:
        "require": {
            "php": "^7.2",
            "codefog/contao-cookiebar": "^2.0",
            "contao-bootstrap/bundle": "~2.0@beta",
            "contao/calendar-bundle": "^4.4",
            "contao/comments-bundle": "^4.4",
            "contao/faq-bundle": "^4.4",
            "contao/listing-bundle": "^4.4",
            "contao/manager-bundle": "4.4.*",
            "contao/news-bundle": "^4.4",
            "contao/newsletter-bundle": "^4.4",
            "delahaye/dlh_googlemaps": "^2.3",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "metamodels/attribute_checkbox": "^2.1",
            "metamodels/attribute_file": "^2.1",
            "metamodels/attribute_longtext": "^2.1",
            "metamodels/attribute_numeric": "^2.1",
            "metamodels/attribute_tags": "^2.1",
            "metamodels/attribute_text": "^2.1",
            "metamodels/attribute_timestamp": "^2.1",
            "metamodels/attribute_url": "^2.1",
            "metamodels/core": "^2.1",
            "metamodels/filter_select": "^2.1",
            "omosde/contao-om-backend": "^1.4",
            "terminal42/contao-leads": "^1.4"
        },

  3. #3
    Contao-Nutzer
    Registriert seit
    18.09.2015.
    Beiträge
    8

    Standard

    Hallo Zonky,

    leider komme ich damit nicht so recht weiter, vielleicht liegt hier aber auch noch ein anderes Problem vor..
    Mein composer.json:
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0+",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.2",
            "codefog/contao-cookiebar": "^2.0",
            "contao-bootstrap/bundle": "~2.0@beta",
            "contao/calendar-bundle": "^4.4",
            "contao/comments-bundle": "^4.4",
            "contao/faq-bundle": "^4.4",
            "contao/listing-bundle": "^4.4",
            "contao/manager-bundle": "4.4.*",
            "contao/news-bundle": "^4.4",
            "contao/newsletter-bundle": "^4.4",
            "delahaye/dlh_googlemaps": "^2.3",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "metamodels/attribute_checkbox": "^2.1",
            "metamodels/attribute_file": "^2.1",
            "metamodels/attribute_longtext": "^2.1",
            "metamodels/attribute_numeric": "^2.1",
            "metamodels/attribute_tags": "^2.1",
            "metamodels/attribute_text": "^2.1",
            "metamodels/attribute_timestamp": "^2.1",
            "metamodels/attribute_url": "^2.1",
            "metamodels/core": "^2.1",
            "metamodels/filter_select": "^2.1",
            "omosde/contao-om-backend": "^1.4",
            "terminal42/contao-leads": "^1.4"
        },
        "conflict": {
            "contao/core-bundle": "<4.4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        },
        "repositories": [
        ],
        "minimum-stability" : "dev",
        "prefer-stable":true
    }
    Ich musste noch die externen Repositorys entfernen.
    Er rödelt jetzt ewig am Resolven über die Cloud und kommt nie zum Abschluss bzw. bricht dann irgendwann ab.
    Mehr als das sehe ich aber nicht:
    Code:
    composer update (mittels Resolver Cloud)
    
    Aktiv seit 7415 Sekunden.
    > Resolving dependencies using Composer Cloud v2.4.11
    !!! Current server is sponsored by: Contao Association !!!
    Hast du eine Idee dazu?

    Danke und viele Grüße
    yoyobo

  4. #4
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.681
    User beschenken
    Wunschliste

    Standard

    Zitat Zitat von yoyobo Beitrag anzeigen
    Ich musste noch die externen Repositorys entfernen.
    o.k. - dachte das wäre klar...

    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0+",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.2",
            "codefog/contao-cookiebar": "^2.0",
            "contao-bootstrap/bundle": "~2.0@beta",
            "contao/calendar-bundle": "^4.4",
            "contao/comments-bundle": "^4.4",
            "contao/faq-bundle": "^4.4",
            "contao/listing-bundle": "^4.4",
            "contao/manager-bundle": "4.4.*",
            "contao/news-bundle": "^4.4",
            "contao/newsletter-bundle": "^4.4",
            "delahaye/dlh_googlemaps": "^2.3",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "metamodels/attribute_checkbox": "^2.1",
            "metamodels/attribute_file": "^2.1",
            "metamodels/attribute_longtext": "^2.1",
            "metamodels/attribute_numeric": "^2.1",
            "metamodels/attribute_tags": "^2.1",
            "metamodels/attribute_text": "^2.1",
            "metamodels/attribute_timestamp": "^2.1",
            "metamodels/attribute_url": "^2.1",
            "metamodels/core": "^2.1",
            "metamodels/filter_select": "^2.1",
            "omosde/contao-om-backend": "^1.4",
            "terminal42/contao-leads": "^1.4"
        },
        "conflict": {
            "contao/core-bundle": "<4.4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    unter PHP 7.4 "composer update" durchgelaufen

  5. #5
    Contao-Nutzer
    Registriert seit
    18.09.2015.
    Beiträge
    8

    Standard

    Hallo zonky,

    bei mir ging es leider nicht.
    Ich habe jetzt meine composer.lock gelöscht und dann lief es durch.
    Dadurch hat er einiges aktualisiert, aber immerhin läuft es jetzt

    Danke und viele Grüße
    yoyobo

  6. #6
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.681
    User beschenken
    Wunschliste

    Standard

    hatte ich auch ab und an - auch bei anderen Projekten - composer.lock löschen und manchmal auch /vendor leeren als "hotfix"

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •