Giter Club home page Giter Club logo

Comments (5)

theofidry avatar theofidry commented on May 29, 2024

Maybe we can find a hook for that to rely on the commit version, keeping things in sync is always a PITA

from php-scoper.

padraic avatar padraic commented on May 29, 2024

We'll need to add back a replaceable tag either way to inject the version string. Simplest is probably falling back on git and sed from the makefile, but Box should be able to do that automatically if we disable the "ignore VCS" option in our Finder instance (which is probably more user friendly and preferable in the end).

from php-scoper.

theofidry avatar theofidry commented on May 29, 2024

Is this still relevant?

from php-scoper.

padraic avatar padraic commented on May 29, 2024

Not any longer...though I'm now curious as to why not. It really should be broken!

Here's what I think is happening. We're scoping all files to build, but running box from current directory. So we're using the original box.json configuration (not build/box.json). Git commands are run from the location of the file used, not from within build.

So long as we assume nobody tries running box from inside build, nothing to do here. Of course, that's exactly what I originally tried before you wrote the makefile ;). We may need a --copy-vcs option or similar down the line - I'm not sure I want to assume how users will do things.

from php-scoper.

theofidry avatar theofidry commented on May 29, 2024

Actually another thing is that we rely on OcramiusPackageVersion to get the version which gets it from the installed packages not git itself, so we are completely ditching box git version placeholders :)

from php-scoper.

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.