{"id":22898245,"url":"https://github.com/albinodrought/repro-composer-22-issue","last_synced_at":"2025-04-01T01:51:36.249Z","repository":{"id":83184591,"uuid":"472467504","full_name":"AlbinoDrought/repro-composer-22-issue","owner":"AlbinoDrought","description":"Root composer.json requires dev-master, found [dev-main] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?","archived":false,"fork":false,"pushed_at":"2022-03-21T18:53:18.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T02:46:34.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/composer/composer/issues/10651","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbinoDrought.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-21T18:41:13.000Z","updated_at":"2022-03-21T18:57:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"3893e17a-2078-4e8d-8aad-5724398392c3","html_url":"https://github.com/AlbinoDrought/repro-composer-22-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Frepro-composer-22-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Frepro-composer-22-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Frepro-composer-22-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Frepro-composer-22-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbinoDrought","download_url":"https://codeload.github.com/AlbinoDrought/repro-composer-22-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569007,"owners_count":20798341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T00:30:10.789Z","updated_at":"2025-04-01T01:51:36.226Z","avatar_url":"https://github.com/AlbinoDrought.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer 2.2 Issue\n\n    Problem 1\n      - Root composer.json requires example/sample-dep dev-master, found example/sample-dep[dev-main] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?\n    Problem 2\n      - Root composer.json requires example/sample-other-dep dev-master, found example/sample-other-dep[dev-main] but it does not match the constraint. Perhaps dev-master was renamed to dev-main?\n\nTo reproduce:\n\n- Have a local requirement targetting `dev-master`\n- Have some other requirement, maybe also a dependant of the above\n- Upgrade that other requirement\n\nIf you have Docker, run `./reproduce.sh` in this repo, or:\n\n```sh\n#!/bin/sh\nset -x\nset -e\ndocker run --rm -v $PWD:/app -w /app composer:2.1 composer require --dev phpunit/phpunit:^9\ndocker run --rm -v $PWD:/app -w /app composer:2.2 composer require --dev phpunit/phpunit:^9\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Frepro-composer-22-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbinodrought%2Frepro-composer-22-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Frepro-composer-22-issue/lists"}