Install and especific checkout version of bundle symfony2

I would like to install and especific checkout version of a bundle in my project. When I was developing the checkout version of the bundle I was using was dev-master 5677b63, but then, I updated using composer and I got installed the newest version, which has a small piece of code that kind of destroys everything (it was an issue that they solved). I was wondering if I could tell composer to install the old checkout of dev:master and not the latest one. Is that even possible?

Answers


I believe it could be done with something like this:

{
    ...
    "require": {
        "foo/bar": "dev-master#1333333333333333333333333333333333333337"
    }
    ...
}

Obviously, you would need to replace 1333333333333333333333333333333333333337 with commit ID...

Source: https://coderwall.com/p/ub4ejg


Need Your Help

CasperJS Not timing out

javascript phantomjs casperjs

I have a CasperJS script that does various functions and records the times taken by emitting signals after each step. This process works. I have encountered infrequent instances where the custom ti...

SQL Server INNER JOIN with hierarchyid

sql hierarchyid

I have two tables, one table is the items container, which holds all data related to the products. The other table is for categories, in which the data is organised using hierarchies.