These are chat archives for ppi/framework

17th
Feb 2016
Alfredo Juárez
@alfrekjv
Feb 17 2016 00:01
There you go!
module
module:create Create a module
queue
queue:post Posting due content from Queue.
Paul Dragoonis
@dragoonis
Feb 17 2016 00:01
:clap: :sparkles:
Alfredo Juárez
@alfrekjv
Feb 17 2016 00:01
$ php app/console queue:post
Hello world
Paul Dragoonis
@dragoonis
Feb 17 2016 00:01
Enjoy legacy PPI 2.0 - you old timer! time to upgrade to 2.1 and get this stuff for FREE :D
Alfredo Juárez
@alfrekjv
Feb 17 2016 00:03
Yes, will upgrade over the weekend, at least the active projects.. :)
Paul Dragoonis
@dragoonis
Feb 17 2016 00:03
cool - it’s only index.php and config mods - just review 2.1.x skeletonapp to compare against
will take you like 30 minutes, max!
framework works the same (mostly ;))
once you do it the first time, it’ll be repeatable for the rest of them
Alfredo Juárez
@alfrekjv
Feb 17 2016 00:04
No changes needed on the Code-base?
Paul Dragoonis
@dragoonis
Feb 17 2016 00:04
nah, not really, but write down things you had to change and we can make an UPGRADE.md file
So you can use it for reference, or other people :+1:
Alfredo Juárez
@alfrekjv
Feb 17 2016 00:05
Yeah, that'd help
Paul Dragoonis
@dragoonis
Feb 17 2016 00:05
Enjoy symfony commands in your app :+1: I will go back to writing docs now - glad you’re still happy with PPI 2.0 after all these years ;)
Alfredo Juárez
@alfrekjv
Feb 17 2016 00:06
Thanks!
Paul Dragoonis
@dragoonis
Feb 17 2016 00:10
This message was deleted
This message was deleted
your Application module’s services will work 100% - no changes there
Vítor Brandão
@noisebleed
Feb 17 2016 00:33
Paul Dragoonis
@dragoonis
Feb 17 2016 00:34
Evening @noisebleed
Vítor Brandão
@noisebleed
Feb 17 2016 00:34
Evening
Paul Dragoonis
@dragoonis
Feb 17 2016 00:34
2.1.2 exists. more work on docs has been done. i.e: this new page: http://docs.ppi.io/latest/book/services.html
Vítor Brandão
@noisebleed
Feb 17 2016 00:35
Still - this will work just fine for you, i’m just being picky
Paul Dragoonis
@dragoonis
Feb 17 2016 00:35
I see a bug/regression - we need to fix it
Vítor Brandão
@noisebleed
Feb 17 2016 00:35
Open a github issue for the command namespace and will take a look at it.
What regression?
Paul Dragoonis
@dragoonis
Feb 17 2016 00:35
same thing we’re talking about
my code is autoloaded in /src/ but registerCommands is looking for /Command
Vítor Brandão
@noisebleed
Feb 17 2016 00:37
Can you add that to a github comment?
Paul Dragoonis
@dragoonis
Feb 17 2016 00:37
I am making you a github issue
ppi/framework#159
Vítor Brandão
@noisebleed
Feb 17 2016 00:42
Thanks mate
Paul Dragoonis
@dragoonis
Feb 17 2016 00:42
welcome :+1:
simple fix tbh :)
push it to 2.1 and master ;)
Vítor Brandão
@noisebleed
Feb 17 2016 00:43
I @alfrekjv, how much would it be needed to migrate to 2.1?
Effort
@dragoonis do we have a migration guide?
Paul Dragoonis
@dragoonis
Feb 17 2016 00:45
we do not, and I believe alfrekjv is the only person on 2.0 ;)
Vítor Brandão
@noisebleed
Feb 17 2016 00:46
I would love to help him migrate
Alfredo Juárez
@alfrekjv
Feb 17 2016 17:29
am I really the only one on 2.0? :$
Paul Dragoonis
@dragoonis
Feb 17 2016 18:12
@alfrekjv no - but you’re the only person in here that’s on 2.0 that we can help migrate
Alfredo Juárez
@alfrekjv
Feb 17 2016 18:17
Okay, let's do it and write down a guide for anyone if there're out there in the wild.
I actually started it, last night on the plane to Seattle.
Paul Dragoonis
@dragoonis
Feb 17 2016 18:25
@alfrekjv good start! keep it coming
Alfredo Juárez
@alfrekjv
Feb 17 2016 18:33
=)
Alfredo Juárez
@alfrekjv
Feb 17 2016 19:22
btw, @dragoonis I ran into an interesting problem with the console app
There's no $this->getService(); around :)
Alfredo Juárez
@alfrekjv
Feb 17 2016 19:31
is it possible to inject it the Service Manager?
Paul Dragoonis
@dragoonis
Feb 17 2016 19:32
I believe commands have access to $app. Just quickly upgrade and then its easy in 2.1
:P
Alfredo Juárez
@alfrekjv
Feb 17 2016 19:41
and then you can do $app->getService() ?
Paul Dragoonis
@dragoonis
Feb 17 2016 21:30
@noisebleed ping
Vítor Brandão
@noisebleed
Feb 17 2016 22:00
Hey @dragoonis, afk
Wassup?
Paul Dragoonis
@dragoonis
Feb 17 2016 22:00
Github PR