Git Product home page Git Product logo

Comments (4)

jacquesg avatar jacquesg commented on May 24, 2024

I haven't played with submodules... accepting a SHA-1 is ok as the last option, but I don't think that git_treebuilder_insert is going to be happy about an OID that doesn't exist in the repository, YMMV

from p5-git-raw.

thebamaman avatar thebamaman commented on May 24, 2024

For the time being, I wrote a small c program using libgit2 and the git_treebuilder_insert/write functions. They obviously care about non-existent blobs and trees, but it seems it ignores checking commits.

And sure, SHA-1 as an argument is probably less than ideal, but I'm not really sure of the best way to handle commits in trees other than that.

from p5-git-raw.

thebamaman avatar thebamaman commented on May 24, 2024

Also, pardon my ignorance (not too familiar with building cpan distributions), but I don't see a README on building this code if I were to make changes to the xs files prior to potentially submitting a merge request?

from p5-git-raw.

jacquesg avatar jacquesg commented on May 24, 2024

The steps required are contained in the .travis.yml file:

Installing the prerequisites:

cpanm --quiet --notest Dist::Zilla~">= 5.0000, < 6.0000"
cpanm --quiet --notest Dist::Zilla::PluginBundle::Author::ALEXBIO
cpanm --quiet --notest Pod::Coverage::TrustPod
cpanm --quiet --notest Devel::Cover::Report::Coveralls
cpanm --quiet --notest Dist::Zilla::App::Command::cover
dzil authordeps --missing | cpanm --quiet --notest
dzil listdeps --missing | cpanm --quiet --notest

Testing changes:

dzil test

from p5-git-raw.

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.