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

Composer project bare minimum #3690

Closed
jsakars opened this issue Mar 8, 2016 · 3 comments
Closed

Composer project bare minimum #3690

jsakars opened this issue Mar 8, 2016 · 3 comments

Comments

@jsakars
Copy link

jsakars commented Mar 8, 2016

composer.json like such should be enough to have fully functional M2 CE.

{
    "repositories": [
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        }
    ],
    "require": {
        "magento/product-community-edition": "2.0.2"
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/"
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ]
    },
    "minimum-stability": "alpha"
}

However one of documented CRON jobs must execute update/cron.php.
update/ directory is part of the magento2-community-edition library itself and obviously would not be downloaded during composer install/update. It seems that the only option is to have a copy of it along side Your composer.json. Having copy of it doesn't make sense because:

  • they are M2 files not "Yours"
  • You would need to regularly sync(copy-paste) it from original source to make sure You have latest version

Would like to understand what is the clean, bare minimum of files required to have M2 Composer based project?

@vrann vrann added PS labels Mar 9, 2016
@buskamuza
Copy link
Contributor

@werdlv , bare minimum does not include "update" folder. "update" folder is required for Setup Wizard application, which allows upgrades via GUI. If you don't need this flow, "update" folder may be skipped. In this case the only cron that should be configured is bin/magento cron:run

@vkorotun vkorotun removed the PS label Aug 4, 2016
@veloraven
Copy link
Contributor

According to contributor guide, tickets without response for two weeks should be closed.
If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

@VahanDrnoyan
Copy link

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:

v.drnoyan@gmail.com
Domain magejet.com has exceeded the max emails per hour (202/199 (101%)) allowed. Message will be reattempted later

------- This is a copy of the message, including all the headers. ------
Received: from o11.sgmail.github.com ([167.89.101.202]:48615)
by server with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.87)
(envelope-from bounces+848413-cb49-vahan=magejet.com@sgmail.github.com)
id 1c1aUA-0006hn-EW
for vahan@magejet.com; Tue, 01 Nov 2016 14:56:22 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=github.com;
h=from:reply-to:to:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=40gu0fe/Xvnh5Ic7Yl8uCq5/YwU=; b=ZlX/HpFrZe6ZbAci
5Uj0KwXPure7+VPsE8oQtjw4Ew7DzoTwTOe9EutVMUup7v1ks3UEoIXpWt0oRwMU
j63XFKLNVyC9/svz7rylwJIRE8h365E8n03Csk4MyPzVbT05J+qv+v5EgNpBawjr
uJ6paIG6h7v0HqiDffFI49BvmPE=
Received: by filter0544p1mdw1.sendgrid.net with SMTP id filter0544p1mdw1-29123-5818ACDB-1B
2016-11-01 14:55:23.310474628 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16])
by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id eSpDlnIZRY-hSLrmrAex6g
for vahan@magejet.com; Tue, 01 Nov 2016 14:55:23.254 +0000 (UTC)
Date: Tue, 01 Nov 2016 07:55:22 -0700
From: Olga Moyseyenko notifications@github.com
Reply-To: magento/magento2 reply@reply.github.com
To: magento/magento2 magento2@noreply.github.com
Message-ID: magento/magento2/issue/3690/issue_event/843461233@github.com
In-Reply-To: magento/magento2/issues/3690@github.com
References: magento/magento2/issues/3690@github.com
Subject: Re: [magento/magento2] Composer project bare minimum (#3690)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5818acdae5d8c_7c3d3f8f757dd2c013321c";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: veloraven
X-GitHub-Recipient: VahanDrnoyan
List-ID: magento/magento2 <magento2.magento.github.com>
List-Archive: https://github.com/magento/magento2
List-Post: mailto:reply@reply.github.com
List-Unsubscribe: mailto:unsub+0160ca77f0e0b0fcf79c2aeccb069372c06e8e53bd7f485492cf0000000114306eda92a169ce084d0c2e@reply.github.com,
https://github.com/notifications/unsubscribe/AWDKd4-ixpmwNsRWGIY7IU2Vo7DRC5Giks5q51LagaJpZM4HrtBt
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: vahan@magejet.com
X-SG-EID: T/muHZc0wF2VNc1ajYppATxEyT7LuWxT/+k7pXLVunjqfEizWzqdbY9YzE8XhqjHCltIfH339hsy7G
EnuzhAEpGwKDYHa07GleETWkwTpc5g9lHOMVMsJO6zBpR7GPWKdvTGkjB19PhH59ftLtSOFc6s8/86
/crPSQdSSAQ7CiP1Dz2ccRroiXQi1/eM7CC3aoVtWGGl23SoJu2EStt6VfKxYGGkTGtFgT9M2+2qco
k=

----==_mimepart_5818acdae5d8c_7c3d3f8f757dd2c013321c
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit

Closed #3690.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#3690 (comment)
----==_mimepart_5818acdae5d8c_7c3d3f8f757dd2c013321c
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit

Closed #3690.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/magento/magento2","title":"magento/magento2","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/magento/magento2"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #3690."}],"action":{"name":"View Issue","url":"https://github.com//issues/3690#event-843461233"}}}</script>

----==_mimepart_5818acdae5d8c_7c3d3f8f757dd2c013321c--

magento-engcom-team pushed a commit that referenced this issue Feb 9, 2019
[epam] MAGETWO-96431: [2.3.x] Checkout Free Shipping Recalculation after Coupon Code Added
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

6 participants