composer / composer/composer

allow path repository failing

Open
#12,175 2 comments 6 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
29.5k
Forks
4.8k
Avg merge
2d 2h
Merged PRs (30d)
12

Description

I have optional path repositories and when they don't exist I get:

```
0.078 In PathRepository.php line 163:
0.078
0.078 The `url` supplied for the path (custom/plugins/*) repository does not exis
0.078 t
0.078
```

What I would suggest having a `optional` flag, so when there is an error, skip it

```
{
"type": "path",
"url": "custom/plugins/*",
"options": {
"symlink": true,
"optional": true
}
}
```

It's straightforward to integrate, looking for feedback before I make the PR :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.