2016-10-03 08:14:57 +00:00
|
|
|
# `Composer` type repository fixtures
|
2014-10-11 14:23:36 +00:00
|
|
|
|
2016-10-03 08:14:57 +00:00
|
|
|
This directory contains some examples of what `composer` type repositories can
|
|
|
|
look like. They serve as illustrating examples accompanying the docs, but can
|
|
|
|
also be used as (initial) fixtures for tests.
|
2014-10-11 14:23:36 +00:00
|
|
|
|
2020-10-23 19:52:05 +00:00
|
|
|
* `repo-composer-plain` is a basic, plain `packages.json` file
|
2014-10-11 14:23:36 +00:00
|
|
|
* `repo-composer-with-includes` uses the `includes` mechanism
|
|
|
|
* `repo-composer-with-providers` uses the `providers` mechanism
|
|
|
|
|
2016-10-03 08:14:57 +00:00
|
|
|
## Sample Packages used in these fixtures
|
2014-10-11 14:23:36 +00:00
|
|
|
|
|
|
|
All these repositories contain the following packages.
|
|
|
|
|
2020-10-24 13:37:35 +00:00
|
|
|
* `foo/bar` versions `1.0.0`, `1.0.1` and `1.1.0`; `dev-default` and `1.0.x-dev` branches.
|
|
|
|
On `dev-default` and in `1.1.0`, `bar/baz` `~1.0` is required.
|
|
|
|
* `qux/quux` only has a `dev-default` branch. It `replace`s `gar/nix`.
|
|
|
|
* `gar/nix` has a `1.0.0` version and a `dev-default` branch. It is being replaced
|
2016-10-03 08:14:57 +00:00
|
|
|
by `qux/quux`.
|
2020-10-24 13:37:35 +00:00
|
|
|
* `bar/baz` has a `1.0.0` version and `1.0.x-dev` as well as `dev-default` branches.
|
|
|
|
Additionally, `1.1.x-dev` is a branch alias for `dev-default`.
|