Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your requirements could not be resolved to an installable set of packages. #1

Closed
jpuck opened this issue Jan 29, 2017 · 7 comments
Closed

Comments

@jpuck
Copy link
Contributor

jpuck commented Jan 29, 2017

You're currently requiring a development branch of a package.

For others to use color-contrast-php in their projects, they must declare a dev minimum stability because composer defaults to stable, otherwise they'll get a dependency resolution conflict during installation.

Alternatively, you could try to convince @mikeemoo to make a release tag for ColorJizz-PHP and require that as a stable version. Or fork it, make your own release, and then require that version.

@davidgorges
Copy link
Owner

Thanks, there's already an open issue for version tagging in the ColorJizz lib. I prefer not to fork it, but you're right.

@jpuck
Copy link
Contributor Author

jpuck commented Jan 30, 2017

In deed I upvoted your issue, but @mikeemoo doesn't appear to be very active on Github.

You've made a fabulous package and it's been working perfectly for me. I'm quite surprised this useful utility has gone relatively undiscovered thus far. Really makes WCAG compliance a cinch with dynamic color schemes, thanks!

jpuck added a commit to MyTeamName/color-contrast-php that referenced this issue Jan 30, 2017
per mikeemoo/ColorJizz-PHP#10

despite having added the 1.0.0 release, packagist still has not
crawled the repository to reflect the available stable version.

manually adding the Github repo as a vcs repository to composer.json
should actually speed things up for resolution on installation and
guarantee new release tags are picked up.

the only drawback would be if @mikeemoo deleted the repository from
Github all together. Github forwards transfers, so that shouldn't
break it either.
@jpuck
Copy link
Contributor Author

jpuck commented Jan 30, 2017

I don't know how I missed it, but it appears as though he added a 1.0.0 release tag back in November.

I commented on mikeemoo/ColorJizz-PHP#10 to point out that packagist hasn't picked up the tag.

I'll submit another PR with the vcs repository in composer.json that will allow faster resolution which will always see the available tags.

davidgorges added a commit that referenced this issue Jan 31, 2017
chore(composer): use colorjizz ^1.0 release 

solves #1
@davidgorges
Copy link
Owner

Thank you @jpuck for your help! Very much appreciated.

@jpuck
Copy link
Contributor Author

jpuck commented Jan 31, 2017

@davidgorges no problem. would you mind making a new release tag (e.g. v0.1.1) to pick up the stable changes in packagist? thanks

@jpuck
Copy link
Contributor Author

jpuck commented Feb 7, 2017

@davidgorges hey, not sure if you saw my last comment on this issue, but I would like to require your package as a dependency inside a project without declaring minimum stability as dev, but I need a new release tag from you to do so. thanks

@davidgorges
Copy link
Owner

@jpuck thanks for reminding me. Just created v.0.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants