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

Updated README.md, closes #985 #992 #1160

Merged
merged 5 commits into from
Feb 13, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions LICENSE.html

This file was deleted.

86 changes: 57 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,69 +23,93 @@ dependency definition. Each Magento `1.<minor>.<revision>` release will get its
that will be independently maintained with upstream patches and community bug fixes for as long as it makes sense
to do so (based on available resources). For example, Magento version `1.9.3.4` was merged into the `1.9.3.x` branch.

Note, the branches older than `1.9.3.x` that were created before this strategy came into practice are **not maintained**.
Note, the branches older than `1.9.4.x` and that were created before this strategy came into practice are **not maintained**.

## Requirements

- PHP 7.0+ (PHP 7.3 and OpenSSL extension strongly recommended)
- MySQL 5.6+ (8.0+ Recommended)

## Installation

### Using Composer
Download the latest archive and extract it, clone the repo, or add a composer dependency to your existing project like so:

```json
"openmage/magento-lts": "1.9.4.x"
```
composer require openmage/magento-lts":"^19.4.0"
```

To get the latest changes use:

```
composer require openmage/magento-lts":"dev-master"
```

<small>Note: `dev-master` is just an alias for current `1.9.4.x` branch and may change</small>

### Using Git
Go to `https://github.com/OpenMage/magento-lts` and fork the project. Enter your web directory and start a new git project utilizing `git init`. Set git remote to your forked repo using `git remote add origin https://github.com/<YOUR GIT USERNAME>/magento-lts`. Issue `git pull origin master`. Then add the official LTS repo as an upstream using `git remote add upstream https://github.com/OpenMage/magento-lts`. Issue `git pull upstream v19.4.4` or the latest version you want to pull. Be sure to check for conflicts before merging all in the next step. Dont forget to git commit and add files to your own forked repo.

When using git you have the ability to fix and test your own code in your own repo. In addition you can periodically sync with the official upstream Magento LTS repo.
If you want to contribute to the project:

```
git init
git remote add origin https://github.com/<YOUR GIT USERNAME>/magento-lts
git pull origin master
git remote add upstream https://github.com/OpenMage/magento-lts
git pull upstream v19.4.4
git pull upstream 1.9.4.x
git add -A && git commit
```

[More Information](http://openmage.github.io/magento-lts/install.html)

## Requirements
## Changes

- PHP 7.0+ (PHP 7.3 and OpenSSL extension strongly recommended)
- MySQL 5.6+ (8.0+ Recommended)
Most important changes will be listed here, all other changes since `19.4.0` can be found in
[release](https://github.com/OpenMage/magento-lts/releases) notes.

## Translations
### Performance
<small>ToDo: Please add performance related changes as run-time cache, ...</small>

There are some new or changed tranlations, if you want add them to your locale pack please check:
### New Config Options
- `admin/design/use_legacy_theme`
- `admin/emails/admin_notification_email_template`
- `catalog/product_image/progressive_threshold`

- `app/locale/en_US/*_LTS.csv`
### New Events
- `checkout_cart_product_add_before`
- `sitemap_cms_pages_generating_before`
- `sitemap_urlset_generating_before`

## PhpStorm Factory Helper
### New Translations

This repo includes class maps for the core Magento files in `.phpstorm.meta.php`.
This file is generated using the following commands:
There are some new or changed translations, if you want add them to your locale pack please check:

```
$ wget https://files.magerun.net/n98-magerun.phar
$ docker run --rm -u $UID -v $PWD:/var/www/html php:7.0-apache php n98-magerun.phar dev:ide:phpstorm:meta
```
- `app/locale/en_US/Adminhtml_LTS.csv`
- `app/locale/en_US/Core_LTS.csv`
- `app/locale/en_US/Sales_LTS.csv`

You can add additional meta files in this directory to cover your own project files. See
[PhpStorm advanced metadata](https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html)
for more information.
### Removed Modules

## Removed Modules
- `Mage_Compiler`
- `Mage_GoogleBase`
- `Mage_Xmlconnect`
- `Phoenix_Moneybookers`

- Phoenix_Moneybookers
### PhpStorm Factory Helper

Re-install: `$ composer require openmage-module-fostering/phoenix_moneybookers`
This repo includes class maps for the core Magento files in `.phpstorm.meta.php`.
To add class maps for installed extensions, you have to install [N98-magerun](https://github.com/netz98/n98-magerun)
and run command:

## License
```
n98-magerun dev:ide:phpstorm:meta
```

[OSL v3.0](http://opensource.org/licenses/OSL-3.0)
You can add additional meta files in this directory to cover your own project files. See
[PhpStorm advanced metadata](https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html)
for more information.

## Public Communication and online Community places
## Public Communication

* [Discord](https://discord.gg/EV8aNbU) (maintained by Flyingmana)

Expand All @@ -96,7 +120,11 @@ for more information.
* [Daniel Fahlke aka Flyingmana](https://github.com/Flyingmana)
* [Tymoteusz Motylewski](https://github.com/tmotyl)
* [Sven Reichel](https://github.com/sreichel)
* Pull requests are welcome

## License

- [OSL v3.0](http://opensource.org/licenses/OSL-3.0)
- [AFL v3.0](http://opensource.org/licenses/AFL-3.0)

## Contributors ✨

Expand Down
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "openmage/magento-lts",
"description": "A fork of Magento-1 that is accepting bug fixes (backward compatible, drop in replacement for official Magento)",
"license": "OSL-3.0",
"type": "magento-source",
"require": {
"php": ">=7.0 <7.5",
"magento-hackathon/magento-composer-installer": "^3.1 || ^2.1"
},
"description": " A fork of Magento-1 that is accepting bug fixes (backward compatible, drop in replacement for official Magento)",
"authors": [
{
"name": "Lee Saferite",
Expand All @@ -32,5 +32,10 @@
"email": "github-sr@hotmail.com",
"role": "Maintainer"
}
]
],
"extra": {
"branch-alias": {
"dev-master": "1.9.4.x"
}
}
}