Coder Social home page Coder Social logo

chef-phpunit's People

Contributors

johnkary avatar msonnabaum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chef-phpunit's Issues

phpunit pear packages don't seem to work with the php packages available on hardy

Just running into this now. We get a bunch of conflicts thrown during chef run involving the PEAR method while using a hardy base box. When I get a sec, I'll likely just add an attribute to choose the install_method (like in the php cookbook), and have a recipe for installing using apt-get (which seems to work fine).

Cheers!

phpunit vs phpunit2 PEAR package?

Hey Mark,

Just a first glimpse of this for me, but do you think the cookbook needs something to deal with PHPUnit vs PHPUnit2 (PHP4 vs PHP5)?

Cheers!

php_pear definition doesn't seem to work

Hello,

I'm trying to use your phpunit recipe to install it on my Vagrant VM, but it doesn't seem to work for me. I'm not sure that it's your fault though. I downloaded a copy of the opscode php cookbook and a copy of your phpunit cookbook, and ran the recipes, but nothing happens. I see the lines in the console where it looks like it's installing the latest version of phpunit, and there are no errors in the console, but when I ssh into the VM, phpunit is not installed.

I tweaked your recipe to not use the php_pear definitions, and execute the commands manually, and it seemed to work. Here's my version:

execute "upgrade pear" do
  command "pear channel-update pear.php.net"
  command "pear upgrade-all"
  action :run
end

channels = %w{pear.phpunit.de components.ez.no pear.symfony-project.com}
channels.each do |chan|
  php_pear_channel chan do
    action [:discover, :update]
  end
end

php_pear "HTTP_Request2" do
  preferred_state "beta"
  action :install
end

php_pear "XML_RPC2" do
  action :install
end

execute "install phpunit" do
  command "pear -d preferred_state=beta install --alldeps pear.phpunit.de/PHPUnit"
  action :run
end

I don't know enough about chef to understand what's wrong with the original (or even how to properly write a chef recipe) so all I've done is hack something together that worked for me. Hopefully this helps you to figure out the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.