Skip to content

Conversation

fballiano
Copy link

In the effort to reduce the differences between v19 and v20 and cleaup our codebase as much as possible, this PR backports #1600, the removal of the old and unmaintained app/design/frontend/default.

It was already done in v20 but with this PR we port it to v19.

Not to create problems to users who may use those themes, I created a backward compatibility module here: https://github.com/OpenMage/module-m1-default-themes which can be installed via composer (the README was updated with this information).

Related PR: #1600

@github-actions github-actions bot added Component: Bundle Relates to Mage_Bundle Component: Catalog Relates to Mage_Catalog Component: CatalogSearch Relates to Mage_CatalogSearch Component: Checkout Relates to Mage_Checkout Component: Cms Relates to Mage_Cms Component: Contacts Relates to Mage_Contacts Component: Customer Relates to Mage_Customer Component: Downloadable Relates to Mage_Downloadable Component: Newsletter Relates to Mage_Newsletter Component: Page Relates to Mage_Page Component: Payment Relates to Mage_Payment Component: PayPal Relates to Mage_Paypal Component: Persistant Relates to Mage_Persistant Component: Review Relates to Mage_Review Component: Rss Relates to Mage_Rss Component: Sales Relates to Mage_Sales Component: Sendfriend Relates to Mage_Sendfriend Component: Shipping Relates to Mage_Shipping Component: Tag Relates to Mage_Tag Component: Tax Relates to Mage_Tax Component: Wishlist Relates to Mage_Wishlist documentation Template : default Relates to base template XML Layout labels Dec 29, 2022
@fballiano
Copy link
Author

@sreichel @Flyingmana could you create the packagist entry for https://github.com/OpenMage/module-m1-default-themes? I think I can't do it. Thanks!

@addison74
Copy link
Contributor

A small observation related to the name of the repository. m1 is not found in the other recently created ones. Maybe you should establish a rule about this. module-mage-poll, module-mage-tag, module-mage-pagecache, module-mage-backup are fine in my opinion.

@fballiano
Copy link
Author

it is true, I used that naming because it's not really a module (since it's a group of themes) and I didn't want to name it "default themes" because it could be misleading, since these are the old "m1 default themes", I know it kinda sucks but I think it's the most understandable for this specific content. 🥺

@sreichel
Copy link
Contributor

openmage/frontend-legacy-themes?

@github-actions github-actions bot removed the phpstan label Jan 12, 2023
addison74
addison74 previously approved these changes Jan 13, 2023
@sreichel sreichel self-assigned this Jan 16, 2023
@sreichel
Copy link
Contributor

Can this wait a bit? (#2863 (comment))

@sreichel sreichel added the hold label Jan 16, 2023
@fballiano
Copy link
Author

for sure. I don't care about those mega old themes so I wouldn't fix them but we don't need to remove them urgently :-)

@sreichel
Copy link
Contributor

sreichel commented Jan 19, 2023

Same for Mage_PageCache or Mage_Backup ...

Instead of removing "Components" from here and put them into a new repo, we can follow another approach ...

  • split code into openmage-modules
  • have all code in main-repo

See: https://github.com/symplify/monorepo-builder

@fballiano
Copy link
Author

mmmm I continue thinking that this abandoned and unused code should leave this repo

@fballiano
Copy link
Author

dunno why the "check modified files" fails but composer lock is ok

fab@MBP-Fab ~/P/openmage (backport_1600)> /usr/local/opt/php@7.3/bin/php /usr/local/bin/composer validate --strict
you may want to add the packages.firegento.com repository to composer.
add it with: composer.phar config -g repositories.firegento composer https://packages.firegento.com
you may want to add the packages.firegento.com repository to composer.
add it with: composer.phar config -g repositories.firegento composer https://packages.firegento.com
./composer.json is valid

@fballiano fballiano changed the title Backported #1600: removed M1 "default" themes Backported #1600: removed M1 legacy themes Feb 7, 2023
@fballiano
Copy link
Author

@elidrissidev @kiatng @addison74 guys can we move this one forward or should I close it?

@addison74
Copy link
Contributor

Please keep it open for a while. I need to revise all those files to avoid any mistakes.

@fballiano fballiano merged commit b1502dd into OpenMage:1.9.4.x Feb 8, 2023
@fballiano fballiano deleted the backport_1600 branch February 8, 2023 09:00
@fballiano
Copy link
Author

thanks guys, merged and ported to 20.0

elidrissidev pushed a commit to elidrissidev/magento-lts that referenced this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bundle Relates to Mage_Bundle Component: Catalog Relates to Mage_Catalog Component: CatalogSearch Relates to Mage_CatalogSearch Component: Checkout Relates to Mage_Checkout Component: Cms Relates to Mage_Cms Component: Contacts Relates to Mage_Contacts Component: Customer Relates to Mage_Customer Component: Downloadable Relates to Mage_Downloadable Component: Newsletter Relates to Mage_Newsletter Component: Page Relates to Mage_Page Component: Payment Relates to Mage_Payment Component: PayPal Relates to Mage_Paypal Component: Persistant Relates to Mage_Persistant Component: Review Relates to Mage_Review Component: Rss Relates to Mage_Rss Component: Sales Relates to Mage_Sales Component: Sendfriend Relates to Mage_Sendfriend Component: Shipping Relates to Mage_Shipping Component: Tag Relates to Mage_Tag Component: Tax Relates to Mage_Tax Component: Wishlist Relates to Mage_Wishlist composer Relates to composer.json documentation environment hold Template : default Relates to base template XML Layout
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants