GithubHelp home page GithubHelp logo

Comments (10)

liuggio avatar liuggio commented on July 20, 2024

Hi axelitus,
thanks for reporting,
the intent of badge poser is be compatible with packagist,
I think you could solve using (I'm not sure really :) )

        "branch-alias": {
            "dev-develop": "1.0-dev",
            "dev-master":"0.9-dev"
        }

from badge-poser.

axelitus avatar axelitus commented on July 20, 2024

I'll try it, but as I understand the way to do this is to establish an alias for master that's always behind the alias for dev-develop? Am I correct?

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

👍

from badge-poser.

axelitus avatar axelitus commented on July 20, 2024

Wouldn't it be good to have:

"extra": {
    "poser-badge": {
        "unstable": "dev-develop"
    }
}

Or is it too much for just this? I mean it would be certainly more "flexible" and semantic (as having an un-needed branch alias for master is not the best of solutions) but my question is "would it be worth it?"

from badge-poser.

axelitus avatar axelitus commented on July 20, 2024

Or just something in the lines of:

"extra": {
    "unstable": "dev-develop"
}

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

👎

The goal is not to communicate to badge-poser which is the latest unstable version
but to packagist.

If you are using git-flow master is the production so master could be stable :)

https://github.com/PUGX/badge-poser/blob/master/src/PUGX/BadgeBundle/Service/PackageManager.php#L111

from badge-poser.

axelitus avatar axelitus commented on July 20, 2024

Yeah I have stable version but using tags :)

Anyone I'll just try with branch-alias.

Thanks!

from badge-poser.

axelitus avatar axelitus commented on July 20, 2024

The code you propose:

"branch-alias": {
    "dev-develop": "1.0-dev",
    "dev-master":"0.9-dev"
}

should be placed at what level? Inside the "extra" key? or at the same level as "extra"? (I ask because it did not work as expected, I'm placing the entries inverted, as I placed dev-master first and then dev-develop (though I don't think that should matter).

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

sorry I've missed this comment... which is the repository?

from badge-poser.

axelitus avatar axelitus commented on July 20, 2024

Hi, the repository is: axelitus/php-base

from badge-poser.

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.