Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [versioning]

Denotes questions related to the versioning of the file (like css, js etc)

1
vote
0answers
14 views

Magento 2: Want to add versioning in style.css

I want to add style.css?v=1.1 but when i add these version it call at the end of all other css files which distort website design. so what should i do?
2
votes
1answer
33 views

Versioned Static Content not Being Compressed

On my live server my versioned content (the url containing the versioned number) is not returning the static files compressed. However when I check the literal path to the content, by removing the “...
4
votes
2answers
195 views

Version Control Magento 2 on Git

What is the best way to version control Magento 2 store on Git? How should I set up the repo/s to be flexible and reliable in a long run? I use composer to install all third party modules (when that’...
1
vote
4answers
151 views

Upgrade Issue : 2.0.0 to 2.1.7

I am try to upgrade magento 2.0.0 to 2.1.7 Tutorial : magento.stackexchange.com After upgrade Back-end changed to 2.1.7, but front end looking like, Note : Refused to apply style from MIME ...
0
votes
1answer
395 views

Recurring.php and RecurringData.php

Can anybody explain the purpose of this two files in Setup folder? When should I use it? I know, that it fires every time when I run setup:upgrade But I want to know at least one example of usage. ...
1
vote
1answer
175 views

Magento 2 - Git workflow

I am brand new with Magento 2 and I've been thinking about version control (git specifically) in M2. We know that installing modules is a critical thing in Magento. So, I would like to know if there ...
0
votes
2answers
489 views

Add version js and css files in magento 2

I want to add version in js and css files in Magento2. I want browser to request url like http://example.com/pub/media/styles.css?ver=1.0.0 Instead of http://example.com/pub/media/styles.css ...
7
votes
1answer
369 views

Magento 2.1.x EE (Enterprise Edition) - How to enabled and access cms page versioning

Hi i am working on Magento 2.1.x EE and reading the devdocs i got to know magento ee has cms page versioning functionality Where we can preview/publish version wise cms page and we can also track ...
0
votes
1answer
160 views

Version number in custom module's module.xml and composer.json

Should the version number in custom module's module.xml and composer.json be the same? module.xml: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
3
votes
1answer
127 views

Install script version logic: When are which upgrade scripts executed?

I found an interesting behavior today: I accidently named a data upgrade script data-upgrade-0.1.20-0.1.20.php where it should have been data-upgrade-0.1.19-0.1.20.php, and it actually has been ...
3
votes
2answers
14k views

Force client-side browser CSS/JS cache reload

How can I force the client browser to re-fetch JS / CSS files? I've noticed that when I add to existing .CSS files, the updates are only applied if the user refreshes the page. (In other words, ...
2
votes
2answers
293 views

Module Versioning Best Practices [closed]

I realize that this mayb be a subjective question, but is there anything from the core team or code itself that expresses good versioning practices for Magento modules? Specifically, because of the ...
0
votes
1answer
22 views

Using references in setup scripts

Setup scripts are versioned. It is known. As a result, any time you use a reference from an external object or class, you run the risk of the setup script itself changing ex post facto. For example, ...
4
votes
1answer
682 views

What are the best practices in Magento? [closed]

Can anyone suggest what are the best practices relevant to the followings. Magento coding standards. Magento naming conventions (including folder names, file names etc.) Folder structure which should ...
4
votes
2answers
87 views

What is the best way to versoining in install/ upgrade scripts?

Sometimes I use any of the following mentioned names to name the install/upgrade scripts in custom modules. install-0.1.0.0.php upgrade-0.1.0.0-0.1.1.0.php upgrade-0.1.1.0-0.1.2.0.php --------------...
1
vote
2answers
125 views

Architecture, Versioning and API support [closed]

What is the architecture of Magento and Magento Go? Is Magento Go simply a subset of Magento or is it an entirely separate product/code base? What is the process for determining the version for ...
4
votes
1answer
449 views

Reinstall an existing Module using Composer (in Git)

I have a module already installed in the tree and want to replace it by installation via composer. The magento hackathon composer installed is used. Also all symlinks created by the installer are ...
21
votes
4answers
2k views

Version Control for Module Development

I'm wondering whether there are any good conventions, as far as version control goes, for developing a module that you are using both in a single Magento instance and also are wanting to release as a ...
1
vote
2answers
2k views

magento sample data

I have three magento sample data files. Are these safe to use ONLY on identical versions and up? ie: magento-sample-data-1.6.1.0 is only good for vrs 1.6.1.0CE and up? I tried installing this on ...
2
votes
3answers
127 views

Can Module Version Numbers be only Numeric?

Is it a problem if I use module versions like 1.1.2-devmaster or 1.1.2-branch-foobar