composer / composer/satis

dev-master no longer works in main branch (it does in 2.x)

Open
#664 8 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
3.3k
Forks
530
Avg merge
6h 53m
Merged PRs (30d)
13

Description

**Describe the bug**
when updating a dependency using "composer update vendor/packagename" and in the composer json the require is like this:

```
"repositories": {
{
"type": "composer",
"url": "https://packagist.vendor.tld"
}
},
"require": {
"vendor/packagename": "dev-master"
}
```
the dependency is not updated

**To Reproduce**
Provide configuration file(s) and the exact command that you invoked.

`php satis/bin/satis build satis.json public/`
the public is hosted on https://packagist.vendor.tld

satis.json
```
{
"name": "vendor/packagist",
"homepage": "https://packagist.vendor.tld",
"repositories": [
{ "type": "vcs", "url": "https://code.vendor.tld/git/packagename.git" }
],
"require-all": true
}
```

**Outcome**
no errors, works as it always did.

**Expected behavior**
The latest version of vendor/packagename is retrieved when using "composer update vendor/packagename"

**Additional context**
This bug happens on the main branch, if we use branch 2.x it works perfect :)

We think it has something todo with the composer 2 dependencies that are updated but other then that we are in the dark...

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.