These are chat archives for ppi/framework

20th
Aug 2015
James Martinez
@jamesmartinez
Aug 20 2015 06:54
@dragoonis I'm up, been waiting to be assigned a task :D
I don't care how trivial the task is
Paul Dragoonis
@dragoonis
Aug 20 2015 07:06
@jamesmartinez nice! Pull down skeleton app and switch to branch 2.1.0-alpha and run composer install
We were working on things last night and composer install was failing so maybe it will not work for you, but do try and leave feedback :)
James Martinez
@jamesmartinez
Aug 20 2015 07:07
sure!
James Martinez
@jamesmartinez
Aug 20 2015 07:27
yeah, when it's about to generate autoload files I get this exception:
[RuntimeException]
An error occurred when executing the "'assets:install --symlink '\''public'\'''" command.
PPI\DistributionModule\Composer\ScriptHandler::installAssets
Script PPI\DistributionModule\Composer\ScriptHandler::installAssets handling the post-install-cmd event terminated with an exception
tail php_errors.log
[20-Aug-2015 07:25:41 UTC] PHP Fatal error: Class 'PPI\Autoload' not found in /Users/jamesmartinez/code/php/skeletonapp/app/init.php on line 21
I guess that's because it never got to generate it or is that a culprit?
Paul Dragoonis
@dragoonis
Aug 20 2015 07:31
It couldn't autoload the framework
Alpha2 has a JSON error in composer.json - that's why we made alpha3 - https://github.com/ppi/skeletonapp/blob/2.1.0-alpha2/composer.json#L15
in skeletonapp - 'git co 2.1.0-alpha3'
composer install
try that :)
James Martinez
@jamesmartinez
Aug 20 2015 07:32
ok :)
Downloading: Connecting... Failed to download zendframework/zend-stdlib from dist: The "https://api.github.com/repos/zendframework/Component_ZendStdlib/zipball/3f6e2416183d4879a983680e1165f14164b262f4" file could not be downloaded (HTTP/1.1 404 Not Found)
:(
Paul Dragoonis
@dragoonis
Aug 20 2015 07:51
That doesn't make much sense
is github going down? :)
testing it now
yea, i get the same error, but with zend_servicemanager
investigating
looks like zend had Component_ZendServiceManager.git repo, but they no longer do
Paul Dragoonis
@dragoonis
Aug 20 2015 07:56
it's looking for: https://github.com/zendframework/Component_ZendSe
rviceManager.git/
I've asked in the ZF2 IRC channel for an answer
James Martinez
@jamesmartinez
Aug 20 2015 08:08
nice
Paul Dragoonis
@dragoonis
Aug 20 2015 08:10
@jamesmartinez found the issue - there's a composer.lock file in skeletonapp-alpha3, by accident,
so it's referencing old stuff. there shouldn't be .lock file there
rm -f composer.lock && composer update
James Martinez
@jamesmartinez
Aug 20 2015 08:16
hmm, I've tried : rm -f composer.lock && composer update and rm -f composer.lock && composer install but both seem to bitch about that zend-stdlib's missing .git directory
Paul Dragoonis
@dragoonis
Aug 20 2015 08:20
gist.github.com the error
try this
rm -rf vendor composer.lock
composer update
then gist the error
oh crap
I didn't delete vendor
sec
yeah, looks like it's going to work this time :)
James Martinez
@jamesmartinez
Aug 20 2015 08:28
yes!
sweet deal.
Paul Dragoonis
@dragoonis
Aug 20 2015 08:36
that's good to know
@jamesmartinez try to follow install instructions to get the vagrant image up and running
James Martinez
@jamesmartinez
Aug 20 2015 09:48
@dragoonis okay
Paul Dragoonis
@dragoonis
Aug 20 2015 10:39
@jamesmartinez did you try it ? :)
James Martinez
@jamesmartinez
Aug 20 2015 10:47
dragoonis, not yet, sorry, a client is trying to be sneaky by adding extra tasks into the current one, had to talk to him :P
Paul Dragoonis
@dragoonis
Aug 20 2015 10:47
@jamesmartinez naughty clients! :)
James Martinez
@jamesmartinez
Aug 20 2015 11:00
Vagrant, interesting, written in ruby like the others like Chef and Puppet. I wonder why nobody has written such a thing in PHP, or have they?
is it because it's difficult to write DSLs in PHP?
Paul Dragoonis
@dragoonis
Aug 20 2015 13:58
@jamesmartinez how did you get on with the vagrant install ?
James Martinez
@jamesmartinez
Aug 20 2015 14:49
@dragoonis, I had to use the brew tap : Caskroom/cask/vagrant
it wasn't as straight forward as just brew install vagrant :S
Paul Dragoonis
@dragoonis
Aug 20 2015 14:49
We spotted that few days ago but weren't sure.
the vagrant install page for 'cask' is the way to go, to get vagrant on the mac
James Martinez
@jamesmartinez
Aug 20 2015 14:55
yeah also virtualbox is needed
maybe change the install instructions to be something like : brew cask install vagrant virtualbox node
I just ran vagrant up it's downloading the ubuntu iso and should work soon
well, we'll wait for it to complete
:D
James Martinez
@jamesmartinez
Aug 20 2015 15:00
actually brew cask is just for vagrant, nevermind that
ah, nah, I ran brew cask install virtualbox
James Martinez
@jamesmartinez
Aug 20 2015 15:09
ansible is installing stuffs
James Martinez
@jamesmartinez
Aug 20 2015 15:16
@dragoonis success!
@dragoonis does it matter that I had 2.1.0-alpha3 co'd when doing this test?
Paul Dragoonis
@dragoonis
Aug 20 2015 21:06
did you browse to the skeletonapp in your browser? :)
James Martinez
@jamesmartinez
Aug 20 2015 22:23
@dragoonis, yes