These are chat archives for ppi/framework

14th
Dec 2015
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:20
@dragoonis this is the error I told you about: https://gist.github.com/alfrekjv/1bb3fcffdd7c9b891e6b
Paul Dragoonis
@dragoonis
Dec 14 2015 18:23
@dracony I haven’t begun coding it yet. Would you like to ? There’s plenty of examples to go by, for example Plates or Latte integration
Vítor Brandão
@noisebleed
Dec 14 2015 18:24
@alfrekjv what ppi version?
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:24
2.0 😬
Paul Dragoonis
@dragoonis
Dec 14 2015 18:25
@noisebleed are you using the tagged 2.0 version ?
Vítor Brandão
@noisebleed
Dec 14 2015 18:26
Me?
Paul Dragoonis
@dragoonis
Dec 14 2015 18:27
Sorry, I meant @alfrekjv
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:27
@dragoonis wanna see the composer.json?
Paul Dragoonis
@dragoonis
Dec 14 2015 18:27
@alfrekjv update your gist.
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:27
done
Paul Dragoonis
@dragoonis
Dec 14 2015 18:27
  - git://github.com/zendframework/Component_ZendStdlib.git                                                       
    fatal: remote error:                                                                                          
      Repository not found.
I’ve seen this before!
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:28
if you go to github.com/zendframework/Component_ZendStdlib, it doesn't exist
Paul Dragoonis
@dragoonis
Dec 14 2015 18:29
I know - I’ve seen it before.
Which project is this ?
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:29
don't know, it's part of the PPI's dependencys
Paul Dragoonis
@dragoonis
Dec 14 2015 18:31
I mean your project
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:31
"zendframework/zend-stdlib": "2.1.3",
Roman Tsiupa
@dracony
Dec 14 2015 18:32
@dragoonis I have a lot on my plate atm =( In the process of changing jobs
Paul Dragoonis
@dragoonis
Dec 14 2015 18:33
@alfrekjv remove the zend bits from your composer.json - look at ppi 2.0 composer json here - https://github.com/ppi/framework/blob/2.0/composer.json#L42
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:35
I see, actually that line was from ppi's composer file.. let me see
and this bit, since it says I authored your application :P - https://gist.github.com/alfrekjv/1bb3fcffdd7c9b891e6b#file-composer-json-L2-L13
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:37
hahaha I know, I never change that
Paul Dragoonis
@dragoonis
Dec 14 2015 18:37
remove those bits - composer update - then gist the result
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:38
running composer update, let's see
Paul Dragoonis
@dragoonis
Dec 14 2015 18:43
show me your composer.json now
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:43
@dragoonis it's on the gist :D
Paul Dragoonis
@dragoonis
Dec 14 2015 18:44
okay
Paul Dragoonis
@dragoonis
Dec 14 2015 18:51
@alfrekjv for some reason it’s came through at dev-support/2.0 - https://packagist.org/packages/ppi/framework#dev-support/2.0
on packagist parser, as in ‘support/2.0’ - because this is the branch - https://github.com/ppi/framework/tree/support/2.0
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:52
so, instead of "ppi/framework": "2.0" I need to put 'support/2.0' ?
Paul Dragoonis
@dragoonis
Dec 14 2015 18:52
So update your composer.json to "ppi/framework: “support/2.0"
Looks like it - I’ll talk to @noisebleed and see how we fix that
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:52
gotcha
Paul Dragoonis
@dragoonis
Dec 14 2015 18:53
"ppi/framework": "dev-support/2.0”
it resolves fine - I think your branch-alias was fucking around with things.
Alfredo Juárez
@alfrekjv
Dec 14 2015 18:54
it seems to be working
Yup, it worked :D
Paul Dragoonis
@dragoonis
Dec 14 2015 18:55
Run your unit test suite, if you have one, to check in case anything’s changed
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:04
new problem
Paul Dragoonis
@dragoonis
Dec 14 2015 19:04
You had a branch alias, so I have no clue what version you were actuall using :P
I seen this before too, didn’t find out solution for it. Hold up
@alfrekjv does this file exist.
vendor/zendframework/zend-stdlib/src/compatibility/autoload.php
it’s looking for /zend-stdlib/Zend/Stdlib/compatibility/autoload.php but the code is /src/compatibility/autoload.php - a bug in ZF .. sigh
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:10
Yup, it's a bug in Zend, because the zend-stdlib is the one that no longer exists on github
Can you add ZF 2.1.6 explicitly instead? to see
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:11
oh right, I meant the Component_ZendStdlib
$ ls vendor/zendframework/zend-stdlib/src/compatibility/autoload.php
vendor/zendframework/zend-stdlib/src/compatibility/autoload.php
It's there
Paul Dragoonis
@dragoonis
Dec 14 2015 19:12
Add these lines to your app’s composer.json - https://github.com/ppi/framework/blob/support/2.0/composer.json#L40-L44
it’s a bug in ZF / Composer or something
make it 2.1.6
and composer update to see what happens
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:13
ok, let me try it
Paul Dragoonis
@dragoonis
Dec 14 2015 19:13
nope
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:14
ppi/framework dev-support/2.0 requires zendframework/zend-stdlib 2.1.3 -> no matching package found.
let me try with 2.1.3
Paul Dragoonis
@dragoonis
Dec 14 2015 19:14
it’s already on 2.1.3
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:15
yeah, not working
Paul Dragoonis
@dragoonis
Dec 14 2015 19:18
i’m working on an alias solution, to alias 2.1.6 as 2.1.3
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:19
Thanks!
Paul Dragoonis
@dragoonis
Dec 14 2015 19:25
@alfrekjv okay - update to this
"ppi/framework": "dev-zf-version-tweak”
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:26
Okay, let me try
It worked :D
Paul Dragoonis
@dragoonis
Dec 14 2015 19:28
Yep, please test your application.
If it passes, I will merge this to 2.0.1 version
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:36
Yup, It's working now
Paul Dragoonis
@dragoonis
Dec 14 2015 19:37
I assigned the MR to @noisebleed - ppi/framework#140
he’s Release Manager now - he will make a 2.0.1 release of this :P
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:38
Great
Paul Dragoonis
@dragoonis
Dec 14 2015 19:38
Happy to help.
@alfrekjv one 2.0.1 exists, you can do “~2.0” on your composer and it will give you the latest version of the 2.0 series :)
Alfredo Juárez
@alfrekjv
Dec 14 2015 19:42
sweet
Vítor Brandão
@noisebleed
Dec 14 2015 20:57
Paul Dragoonis
@dragoonis
Dec 14 2015 20:58
:+1:
Vítor Brandão
@noisebleed
Dec 14 2015 20:59
Alfredo Juárez
@alfrekjv
Dec 14 2015 21:18
(y)
Vítor Brandão
@noisebleed
Dec 14 2015 21:53
@dragoonis wanna review ppi/framework#143
Vítor Brandão
@noisebleed
Dec 14 2015 22:03
@dragoonis once available please give some feedback on that PR. It removes freedom to users in exchange for security.
Paul Dragoonis
@dragoonis
Dec 14 2015 22:06
@noisebleed add it to require dev ?
Safer, wont affect prod
Alfredo Juárez
@alfrekjv
Dec 14 2015 23:56
@dragoonis wanna take a look at this? https://gist.github.com/alfrekjv/c29950d63f149a2fabf0
app/cache is created and it even has 777 on permissions (for testing purposes).