2

I am trying to host my magento 2 extensions in a bitbucket repository. each extension will be a branch of that repository. The problem is that, we need to create tag for particular version of the extension as the composer takes tag as version in composer require vendor/module:<version>, and the tags can not be duplicated, so if there are two extensions with same version, it will not work. There needs to be single repository to avoid adding new repository to composer to install a new extension every time.

And we need to have version to be comparable as the magento composer.json has minimum-stability defined as alpha.

Fabian Schmengler
66.2k25 gold badges191 silver badges422 bronze badges
asked Dec 4, 2015 at 9:32

1 Answer 1

3

I dont't think that what you try tot do is possible within a single repository. A beter solution would be to setup your own repository with a tool like Satis or Toran Proxy (https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md). Here you can add multiple source repositories (one for every extension) and you can limit the access to the packages with authentication. Then you only need to add that repository to your installation and you have easy access to the packages.

answered Dec 4, 2015 at 11:32

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.