Questions tagged [versioning]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
314 views

Magento 2 - Every module as Git Repository, bad?

Our online business operates on a Magento 2.4.x installation which now has nearly 100 in-house modules that deliver features and functionality specific to our business. Every module has its own Git ...
John Hall's user avatar
  • 449
1 vote
0 answers
147 views

Magento 2.3.1 - Deployed version mismatch

I'm trying to update my Magento 2.3.1 installation with some new files. However, it keeps referring to my OLD signed static file(s). Inside pub/static/deployed_version.txt the number is updated, ...
senatorharry's user avatar
0 votes
1 answer
154 views

Directly upgrade the Magento 2.1.5 to 2.3

Can we directly upgrade the Magento 2.1.5 to 2.3? Magento 2.1 supports the PHP version 5.6, 7 & 7.1 only and Magento 2.3 supports 7.1.3,7.2,7.3. Both support the different versions while readiness ...
Narayan's user avatar
  • 119
5 votes
1 answer
119 views

How user friendly & efficient Magento Upgrade?

Magento update their version rapidly fast. we are using magento 1.9.2.3, we are moving our entire version from 1.9.2.3 to 2.1.7, after some months magento closed 2.1 series docs. Magento announce EoQ &...
zus's user avatar
  • 165
1 vote
0 answers
38 views

Best way to re-use modules/themes across multiple repositories

We run 3 websites. We have the same core module on our three websites. We also have a core theme that each of the three webites' theme uses as the parent. Right now if I make an edit to the ...
Callum's user avatar
  • 139
1 vote
0 answers
89 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?
sourabh yadav's user avatar
2 votes
1 answer
119 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 “...
Jason's user avatar
  • 538
4 votes
2 answers
2k 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’...
Greg's user avatar
  • 2,929
1 vote
3 answers
259 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 ...
zus's user avatar
  • 165
1 vote
2 answers
3k 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. ...
Stepan Furman's user avatar
1 vote
1 answer
414 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 ...
Rafael Padovani's user avatar
1 vote
2 answers
3k 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 ...
linux404's user avatar
9 votes
1 answer
982 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 ...
Manthan Dave's user avatar
  • 9,816
1 vote
1 answer
655 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:...
zitix's user avatar
  • 2,192
3 votes
1 answer
145 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 ...
Fabian Schmengler's user avatar
3 votes
2 answers
16k 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, simply ...
Moose's user avatar
  • 7,495
2 votes
2 answers
318 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 ...
Rick Buczynski's user avatar
0 votes
1 answer
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, ...
kojiro's user avatar
  • 1,048
4 votes
1 answer
965 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 ...
Sukeshini's user avatar
  • 9,955
4 votes
2 answers
97 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 --------------...
Sukeshini's user avatar
  • 9,955
1 vote
2 answers
188 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 ...
Ryan Gates's user avatar
4 votes
1 answer
529 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 ...
Alex's user avatar
  • 13.8k
23 votes
4 answers
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 ...
kalenjordan's user avatar
  • 3,545
1 vote
2 answers
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 ...
veilig's user avatar
  • 550
2 votes
3 answers
131 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
Alex's user avatar
  • 13.8k