symfony / flex

Composer plugin for Symfony
MIT License
4.15k stars 181 forks source link

Private Flex Repository in Bitbucket #979

Open mab05k opened 1 year ago

mab05k commented 1 year ago

https://symfony.com/doc/current/setup/flex_private_recipes.html

Reviewing the above documentation. Does this work with Bitbucket?

Does this look like a valid example?

{
    "recipes": {
        "acme/private-bundle": [
            "1.0"
        ]
    },
    "branch": "main",
    "is_contrib": true,
    "_links": {
        "repository": "bitbucket.org/your-bitbucket-account-name/your-recipes-repository",
        "origin_template": "{package}:{version}@bitbucket.org/your-bitbucket-account-name/your-recipes-repository:main",
        "recipe_template": "https://api.bitbucket.org/2.0/repositories/your-github-account-name/your-recipes-repository/contents/{package_dotted}.{version}.json"
    }
}