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 from developer preview to early access #109

Closed
DevertNet opened this issue Jul 31, 2019 · 5 comments
Closed

update from developer preview to early access #109

DevertNet opened this issue Jul 31, 2019 · 5 comments
Assignees

Comments

@DevertNet
Copy link
Contributor

Hello,

is it possible to update the developer preview to early access?

I'm switched to the commit/release "v6.0.0+ea1" for both repositories, but the backend still say:
current version: 9999999-dev

Best regards,
DevertNEt

@janbuecker
Copy link
Member

Could you please provide the contents of your composer.json file and the console output from running composer update?

@DevertNet
Copy link
Contributor Author

Here is the output from the composer.json and composer update command.

shopware/platform
composer update

Cannot load Zend OPcache - it was already loaded
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

cat composer.json

{
    "name": "shopware/platform",
    "description": "The Shopware e-commerce core",
    "type": "library",
    "keywords": [
        "framework",
        "shopware"
    ],
    "homepage": "https://www.shopware.com",
    "license": "MIT",
    "replace": {
        "shopware/core": "self.version",
        "shopware/storefront": "self.version",
        "shopware/administration": "self.version",
        "shopware/elasticsearch": "self.version"
    },
    "require": {
        "php": ">=7.2.0",
        "ext-dom": "*",
        "ext-fileinfo": "*",
        "ext-gd": "*",
        "ext-iconv": "*",
        "ext-intl": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-pdo": "*",
        "ext-pdo_mysql": "*",
        "ext-simplexml": "*",
        "ext-xml": "*",
        "ext-zip": "*",
        "aws/aws-sdk-php": "3.100.3",
        "cocur/slugify": "3.2",
        "composer/composer": "1.8.6",
        "composer/semver": "1.5.0",
        "doctrine/annotations": "1.6.1",
        "doctrine/dbal": "2.9.2",
        "doctrine/inflector": "1.3.0",
        "dompdf/dompdf": "0.8.3",
        "elasticsearch/elasticsearch": "7.0.0",
        "enqueue/fs": "0.9.8",
        "erusev/parsedown-extra": "0.7.1",
        "google/cloud-storage": "1.12.2",
        "guzzlehttp/guzzle": "6.3.3",
        "jdorn/sql-formatter": "1.2.17",
        "lcobucci/jwt": "3.3.1",
        "league/flysystem": "1.0.52",
        "league/flysystem-aws-s3-v3": "1.0.23",
        "league/oauth2-server": "7.3.3",
        "marc1706/fast-image-size": "1.1.4",
        "nyholm/psr7": "1.1.0",
        "ongr/elasticsearch-dsl": "6.0.3",
        "psr/cache": "1.0.1",
        "psr/http-factory": "1.0.1",
        "psr/http-message": "1.0.1",
        "psr/log": "1.1.0",
        "scssphp/scssphp": "1.0.0",
        "sensio/framework-extra-bundle": "5.3.1",
        "sroze/messenger-enqueue-transport": "0.3.0",
        "superbalist/flysystem-google-storage": "7.2.1",
        "swiftmailer/swiftmailer": "6.2.1",
        "symfony/asset": "4.3.2",
        "symfony/cache": "4.3.2",
        "symfony/cache-contracts": "1.1.1",
        "symfony/config": "4.3.2",
        "symfony/console": "4.3.2",
        "symfony/debug-bundle": "4.3.2",
        "symfony/dependency-injection": "4.3.2",
        "symfony/dotenv": "4.3.2",
        "symfony/event-dispatcher": "4.3.2",
        "symfony/event-dispatcher-contracts": "1.1.1",
        "symfony/filesystem": "4.3.2",
        "symfony/finder": "4.3.2",
        "symfony/framework-bundle": "4.3.2",
        "symfony/http-foundation": "4.3.2",
        "symfony/http-kernel": "4.3.2",
        "symfony/messenger": "4.3.2",
        "symfony/monolog-bundle": "3.3.1",
        "symfony/options-resolver": "4.3.2",
        "symfony/polyfill-php73": "1.11.0",
        "symfony/property-access": "4.3.2",
        "symfony/property-info": "4.3.2",
        "symfony/psr-http-message-bridge": "1.2.0",
        "symfony/routing": "4.3.2",
        "symfony/serializer": "4.3.2",
        "symfony/service-contracts": "1.1.2",
        "symfony/swiftmailer-bundle": "3.2.7",
        "symfony/translation": "4.3.2",
        "symfony/translation-contracts": "1.1.2",
        "symfony/twig-bundle": "4.3.2",
        "symfony/validator": "4.3.2",
        "symfony/yaml": "4.3.2",
        "twig/extensions": "1.5.4",
        "twig/twig": "2.11.2",
        "voku/stop-words": "2.0.1"
    },
    "require-dev": {
        "ext-tokenizer": "*",
        "ext-xmlwriter": "*",
        "bheller/images-generator": "1.0.1",
        "fzaninotto/faker": "1.8.0",
        "johnkary/phpunit-speedtrap": "3.1.0",
        "kubawerlos/php-cs-fixer-custom-fixers": "1.13.0",
        "league/flysystem-memory": "1.0.2",
        "mbezhanov/faker-provider-collection": "1.2.1",
        "phpunit/phpunit": "8.2.1",
        "smalot/pdfparser": "0.14.0",
        "symfony/browser-kit": "4.3.2",
        "symfony/phpunit-bridge": "4.3.2",
        "symfony/stopwatch": "4.3.2",
        "symfony/var-dumper": "4.3.2",
        "symfony/web-profiler-bundle": "4.3.2"
    },
    "conflict": {
        "symfony/symfony": "*"
    },
    "autoload": {
        "psr-4": {
            "Shopware\\Administration\\": "src/Administration/",
            "Shopware\\Docs\\": "src/Docs/",
            "Shopware\\Storefront\\": "src/Storefront/",
            "Shopware\\Core\\": "src/Core/",
            "Shopware\\Elasticsearch\\": "src/Elasticsearch/"
        },
        "exclude-from-classmap": [
            "src/**/Test/"
        ]
    }
}

shopware/development

composer update

Cannot load Zend OPcache - it was already loaded
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
> ln -sf ../../bin/pre-commit vendor/shopware/platform/.git/hooks/pre-commit

cat composer.json

{
    "name": "shopware/development",
    "type": "project",
    "license": "MIT",
    "repositories": [
        {
            "type": "path",
            "url": "custom/plugins/*",
            "options": {
                "symlink": true
            }
        },
        {
            "type": "path",
            "url": "platform",
            "options": {
                "symlink": true
            }
        }
    ],
    "config": {
        "optimize-autoloader": true
    },
    "prefer-stable": true,
    "minimum-stability": "dev",
    "autoload": {
        "psr-4": {
            "Shopware\\Development\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Shopware\\Development\\Test\\": "tests/"
        }
    },
    "require": {
        "php": "~7.2",
        "ocramius/package-versions": "1.4.0",
        "shopware/platform": "dev-master"
    },
    "scripts": {
        "post-update-cmd": [
            "ln -sf ../../bin/pre-commit vendor/shopware/platform/.git/hooks/pre-commit"
        ]
    },
    "require-dev": {
        "ext-tokenizer": "*",
        "ext-xmlwriter": "*",
        "bheller/images-generator": "1.0.1",
        "fzaninotto/faker": "1.8.0",
        "johnkary/phpunit-speedtrap": "3.1.0",
        "kubawerlos/php-cs-fixer-custom-fixers": "1.13.0",
        "league/flysystem-memory": "1.0.2",
        "mbezhanov/faker-provider-collection": "1.2.1",
        "phpunit/phpunit": "8.2.1",
        "smalot/pdfparser": "0.14.0",
        "symfony/browser-kit": "4.3.2",
        "symfony/phpunit-bridge": "4.3.2",
        "symfony/stopwatch": "4.3.2",
        "symfony/var-dumper": "4.3.2",
        "symfony/web-profiler-bundle": "4.3.2"
    }
}

@janbuecker
Copy link
Member

Thank you! I see your problem in the composer.json file in the development template. The requirement there is set to "shopware/platform": "dev-master" which checks out the latest changes, a nightly status so to say. Please change this line to "shopware/platform": "6.0.0+ea1" and run composer update again. After that, it should have the code from the release and the administration should say the same. :-)

@DevertNet
Copy link
Contributor Author

Now the backend shows the correct version :) Thank you!

Maybe you should set the default branch from the shopware/development repo to "6.0+ea".
Because in the installation doc is no hint to use a special release/branch:
https://docs.shopware.com/en/shopware-platform-en/getting-started/installation?category=shopware-platform-en/getting-started

It only says "git clone git@github.com:shopware/development.git".

@mitelg
Copy link
Member

mitelg commented Aug 1, 2019

hey @DevertNet
I've updated the docs according to your suggest. Thanks for the hint 👍

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