Download the PHP package andkirby/multi-repo-composer without Composer
On this page you can find all versions of the php package andkirby/multi-repo-composer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andkirby/multi-repo-composer
More information about andkirby/multi-repo-composer
Files in andkirby/multi-repo-composer
Package multi-repo-composer
Short Description Plugin for loading multi-repository packages (several packages in the only repository).
License MIT
Informations about the package multi-repo-composer
Multi-package repository for Composer
This repository contains multi-package composer repository and GitLab repository for composer.
Released v0.9.x. It supports generating "dist" config for packages. Satis may provide links to archives.
Requirements
Package Name
You have to name your packages by name format:
vendor/my_repo-package_name
Where package_name
- your namespace in GIT.
Naming
Please be aware "-" is namespace separator in first case.
A package with name me/foo-cool_package-second_edition
will produce a multi-repo directory:
foo
- is a base repository name in this example.
That's why you SHOULD NOT use "-" in the name spaces.
Branch Name and Tag Name
Branch and tag should have a namespace like PackageName/branch
.
Examples:
Single GIT repository in vendor
If you require several packages from your multi-repository it will create the one with GIT (if you use vcs).
The name by example is vendor/myrepo-multi-repo
. Ie your general repository name + -multi-repo
.
It's just to avoid clone a repository several times.
Satis
andkirby/satis
is modified version of composer/satis
with supporting multi-repositories.
GIT Flow
You may follow GIT Flow.
Configuring
Default multi repositories path
Actually multi-repositories will be placed in the repositories cache directory:
Custom multi-repositories directory
But you may customize it via root configuration below:
Current vendor multi-repositories directory
Also you may use saving in the current vendor directory.
It will have following structure:
GitFlow
Probably it would be useful to switch a namespace in GitFlow quickly.
Try to use composer package rikby/gitext
Manual way
Create a file .git-flow-namespace-set.sh
And then add an alias
Now you may use it: