# |
Jun 22nd 2018, 14:01 |
lorenzo |
LubosR, no composer would not allow the same pacakge name with 2 different constraints |
# |
Jun 22nd 2018, 13:59 |
josbeir |
idd |
# |
Jun 22nd 2018, 13:58 |
itmpls |
last 6 mins was 2 goals |
# |
Jun 22nd 2018, 13:58 |
josbeir |
belgium tomorrow ! :flag-be: :flag-be: :flag-be: |
# |
Jun 22nd 2018, 13:58 |
itmpls |
it was in overtime |
# |
Jun 22nd 2018, 13:57 |
josbeir |
didn't watch the entire match |
# |
Jun 22nd 2018, 13:57 |
itmpls |
almost didn't happen tho |
# |
Jun 22nd 2018, 13:57 |
josbeir |
the usual :P |
# |
Jun 22nd 2018, 13:56 |
itmpls |
brazil!! :P |
# |
Jun 22nd 2018, 13:56 |
LubosR |
thought it is stupid question :) |
# |
Jun 22nd 2018, 13:56 |
josbeir |
how would that work LubosR ? |
# |
Jun 22nd 2018, 13:55 |
LubosR |
i know you told me better to use subpackage |
# |
Jun 22nd 2018, 13:55 |
LubosR |
yep, but was thinking to require cakephp/cakephp 3.6 next to cakephp/cakephp 2.x ... that's not possible, right? |
# |
Jun 22nd 2018, 13:55 |
lorenzo |
you just need `composer requite cakephp/orm=^3.6.0` |
# |
Jun 22nd 2018, 13:54 |
lorenzo |
https://github.com/cakephp/orm |
# |
Jun 22nd 2018, 13:54 |
lorenzo |
then follow the instructions here: |
# |
Jun 22nd 2018, 13:54 |
LubosR |
Yes I do |
# |
Jun 22nd 2018, 13:54 |
lorenzo |
do you already use composer in you cake 2 app? |
# |
Jun 22nd 2018, 13:54 |
LubosR |
"<lorenzo> it is possible, yes" I would give this a try... any hint? :) |
# |
Jun 22nd 2018, 13:53 |
lorenzo |
open a ticket if it is not |
# |
Jun 22nd 2018, 13:53 |
lorenzo |
not sure, but we could look into making that a package |
# |
Jun 22nd 2018, 13:53 |
LubosR |
Is Cake\Form\Form in subpackage? |
# |
Jun 22nd 2018, 13:53 |
LubosR |
Was thinking about using cakephp/orm package, but meed Cake\Form\Form too |
# |
Jun 22nd 2018, 13:52 |
lorenzo |
like cakephp/orm or cakephp/validation |
# |
Jun 22nd 2018, 13:52 |
lorenzo |
but better if you just use subpackages |
# |
Jun 22nd 2018, 13:52 |
lorenzo |
it is possible, yes |
# |
Jun 22nd 2018, 13:52 |
LubosR |
Guys, i konw this is more about composer question, but wondering if I can run cakephp3 in cakephp2 application (want to use just parts with use) since cakephp/cakephp is same package? |
# |
Jun 22nd 2018, 13:52 |
lorenzo |
haha |
# |
Jun 22nd 2018, 13:46 |
josbeir |
way ahead of you :P |
# |
Jun 22nd 2018, 13:46 |
josbeir |
File uploaded https://cakesf.slack.com/files/UAG1HNWKT/FBC5NF5PW/image.png / https://slack-files.com/T053DPNCM-FBC5NF5PW-4942ac1039 |
# |
Jun 22nd 2018, 13:45 |
lorenzo |
@josbeir done |
# |
Jun 22nd 2018, 13:45 |
lorenzo |
yeah |
# |
Jun 22nd 2018, 13:44 |
josbeir |
but i get why you would do it, its a breaking release :slightly_smiling_face: |
# |
Jun 22nd 2018, 13:43 |
josbeir |
alright i'll see when it happens |
# |
Jun 22nd 2018, 13:43 |
josbeir |
sure, updated my migrations already so no prob for me |
# |
Jun 22nd 2018, 13:43 |
lorenzo |
so the 1.9.0 is going to the deleted |
# |
Jun 22nd 2018, 13:43 |
neon1024 |
If you’d like to redirect 404's take the same advice I did from ADmad and use a custom middleware with a `handleException` method to catch NotFoundExceptions |
# |
Jun 22nd 2018, 13:43 |
lorenzo |
@josbeir heads up, we just had an internal discussion and decided to re-tag it as 2.0.0 |
# |
Jun 22nd 2018, 13:42 |
slackebot4 |
Action: josbeir thanks lorenzo for migrations update |
# |
Jun 22nd 2018, 13:22 |
flavius |
so the seo knows when it lands on a 404 not to index it |
# |
Jun 22nd 2018, 13:21 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBCBS0N74/image.png / https://slack-files.com/T053DPNCM-FBCBS0N74-5c51b806fc |