GithubHelp home page GithubHelp logo

calculate deps code. about knpbundles HOT 6 CLOSED

knplabs avatar knplabs commented on June 16, 2024
calculate deps code.

from knpbundles.

Comments (6)

stof avatar stof commented on June 16, 2024

What do you mean ?

from knpbundles.

xaav avatar xaav commented on June 16, 2024

I mean display this code on the bundle display page:

[KnpMenuBundle]
    git=https://github.com/Knp/KnpMenuBundle
    target=/bundles/Knp/MenuBundle

So that people can easily paste it in their deps file. You will have to calculate the target and git URL though for each bundle.

from knpbundles.

docteurklein avatar docteurklein commented on June 16, 2024

I still think this "deps" file is a bad idea. Git submodules are just made for that, and far more standardized.

The only reason why some use deps file is literally: "git submodules can be difficult to work with at times."
source: http://symfony.com/doc/2.0/cookbook/workflow/new_project_git.html#vendors-and-submodules

But it can be a good idea to highlight dependencies by parsing the deps file (if any) or the .gitmodules file.

from knpbundles.

xaav avatar xaav commented on June 16, 2024

I still think this "deps" file is a bad idea. Git submodules are just made for that, and far more standardized.

I didn't come up with the idea, @fabpot did.

from knpbundles.

docteurklein avatar docteurklein commented on June 16, 2024

Yeah i know, it was just my personal thoughts :)

The idea you have to display dependencies is good whatever the support used :)

from knpbundles.

cordoval avatar cordoval commented on June 16, 2024

I think rather than calculate is to display the composer line nowadays since deps are already deprecated.

#182

from knpbundles.

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.