Skip to content

Conversation

@sreichel
Copy link
Contributor

@sreichel sreichel commented Dec 10, 2022

Description (*)

Removed Cm_Chache from composer until symlik/submodules error is fixed.

(Added cweagans/composer-patches & symplify/vendor-patches for ZF1-future)

Related Pull Requests

  1. See Merge v19 -> v20 #2766

Fixed Issues (if relevant)

  1. See Credis symlinks wrong? #2781

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@github-actions github-actions bot added Component: Cm/RedisSession Relates to Cm_RedisSession Component: lib/* Relates to lib/* composer Relates to composer.json labels Dec 10, 2022
@fballiano
Copy link
Contributor

I don't think this is necessary, I've done some tests for #2165 and credis is already installed as some dependency in vendor so there's no need for it to be in lib/Credis (it's not the best that the folder is created empty but anyway...).

I've also checked that redis connection works and that the vendor/colinmollenhour/credis/Client.php is actually used, and it is.

So I don't think this is necessary.

@sreichel
Copy link
Contributor Author

For some reason the class was not found, but it works now.

But ... should we really add it with that symlink error?

@fballiano
Copy link
Contributor

In my opinion redis modules should be in our composer suggest instead of bundled in but... I don't know.

Anyway either we keep all of them or remove all of them, the symlink shouldn't be a "problem", although it's not looking great the software should work.

@sreichel
Copy link
Contributor Author

sreichel commented Dec 15, 2022

In my opinion redis modules should be in our composer suggest

Sounds good to me, but composer suggest does not work for the "own" project. It will not be shown when you clone this repo and run composer install. It would work for composer require OpenMage/magento-lts only ...

However ... remove CM and add some info to README?

@fballiano
Copy link
Contributor

It would work only for composer require OpenMage/magento-lts ...

well that should be the right way for people anyway right?

However ... remove CM and add some info to README?

mmm thinking about it, it's been many years that the CM redis modules are bundled and people kinda expect the funcionality, if we remove those some people (the ones not using composer) will have problems updating so... I'd kinda leave things as they are now

@sreichel
Copy link
Contributor Author

well that should be the right way for people anyway right?

yep, was just an info that suggestions are not shown for the own project/repo.

... lets keep it. :)

@sreichel sreichel closed this Dec 15, 2022
@sreichel sreichel deleted the revert-cm branch December 15, 2022 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Cm/RedisSession Relates to Cm_RedisSession Component: lib/* Relates to lib/* composer Relates to composer.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants