GithubHelp home page GithubHelp logo

Comments (3)

borgified avatar borgified commented on May 8, 2024

i was able to use it by putting this in my recipe

git_client 'default' do
  provider Chef::Provider::GitClient::Source
  source_checksum '1497001772f630d49809e981672edfe3e3ce1a1d18e905cd539c4d2f4dbcd75a'
  source_url 'https://www.kernel.org/pub/software/scm/git/git-2.13.3.tar.gz'
  source_version '2.13.3'
end

this is the resulting output

         * git_client[default] action install
         Recipe: build-essential::default
           * build_essential[install_packages] action install
             * yum_package[autoconf, bison, flex, gcc, gcc-c++, gettext, kernel-devel, make, m4, ncurses-devel, patch] action install (up to date)
       (up to date)
           * yum_package[tar, expat-devel, gettext-devel, libcurl-devel, openssl-devel, perl-ExtUtils-MakeMaker, zlib-devel] action install (up to date)
           * remote_file[/tmp/kitchen/cache/git-2.13.3.tar.gz] action create
             - create new file /tmp/kitchen/cache/git-2.13.3.tar.gz
             - update content in file /tmp/kitchen/cache/git-2.13.3.tar.gz from none to 149700
             (new content is binary, diff output suppressed)
             - change mode from '' to '0644'
             - restore selinux security context
           * execute[Extracting and Building Git 2.13.3 from Source] action run
             - execute     (mkdir git-2.13.3 && tar -zxf git-2.13.3.tar.gz -C git-2.13.3 --strip-components 1)
          (cd git-2.13.3 && make prefix=/usr/local  install)

from git.

tas50 avatar tas50 commented on May 8, 2024

I’m adding the Type: Jump In GitHub label to this issue. This is a great issue for someone to get their feet wet with and we’d love a PR to resolves the issue.

from git.

eheydrick avatar eheydrick commented on May 8, 2024

@giorgian normally all you need is just the action :install to get an appropriate package for the platform you are on. If you want to install from source you can use the source provider like @borgified mentioned. You can also use the source recipe and set attributes for the version you wish to install. I opened up #124 to document using git_client to install from source.

from git.

Related Issues (20)

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.