-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Remove PEAR and Magento Connect Manager? #903
Comments
To my knowledge there is no good reason to keep it. I also agree we should remove as much unused code as possible. |
as this was mostly used for the downloader, and most connect modules are not available over the downloader anyway, yes. Its time to remove this part |
Added PR #952 - needs testing |
Cool! Even if you are removing the downloader directory. |
Do you want/expect to use it somehow after Magento 1 EOL date? |
Thanks for the context, Luigi. The way I see it is that the downloader code contains thousands and thousands of lines of code that will get very little use and does very dangerous stuff like writing source code files. I strongly believe that package management should happen offline and not through a GUI. Composer is the defacto replacement now for managing packages so one option is to remove downloader entirely and push everyone to Composer. Removing downloader won't break packages that have already been downloaded. I suppose another option would be to just remove the UI code that lets you use downloader via the UI so you can still use it through the command line, but honestly I don't know this code well at all and not sure if any of us do and would just feel a lot safer removing it. I'd love to get more thoughts and ideas from others though. |
My POV:
|
And for all people with basics stores that installs and updates plugins and core with the Magento Downloader? |
I tried things. I have created an empty directory with a composer.json with:
Then I launched: composer install Then I created a composer.json for my module, and I published the module to packagist.org (so easy, I just used the github link). Here is my composer.json for my module (I'm not 100% sure):
Then I launched: composer require luigifab/testcomposer Is it good? |
@luigifab that looks great for people authoring new extensions or updating them in the future, but I think we'd like to somehow be able to install extensions from a zip archive that was created using the package manager. Which begs the question.. perhaps we should keep the capability of creating a zip archive package using |
I do not use it, but @luigifab connect example looks goods. If it is used by someone, i'd keep it. Maybe split this PR? |
Do not kill me, this is a question/suggestion, it's time to remove PEAR, no?
There is a comment: PHP versions 4 and 5
And PEAR was used only for magento connect 1, no?
./app/code/core/Mage/Install/Model/Installer/Pear.php
./lib/PEAR
./lib/PEAR/PEAR.php
./lib/PEAR/PEAR
./lib/PEAR/PEAR/PEAR.php
./lib/PEAR/PEAR/PEAR5.php
./lib/Varien/Pear.php
./lib/Varien/Pea
The text was updated successfully, but these errors were encountered: