modmore / Gitify

Command line toolkit to make managing a MODX site in git a lot easier.
MIT License
122 stars 55 forks source link

Composer install of v2 : minimum stability issue #377

Closed muzzwood closed 3 years ago

muzzwood commented 3 years ago

The global composer install command for v2:

composer global require modmore/gitify:^2

Results in the version not being found - it seems like the full version tag needs to be specified.

Error:

Changed current directory to /home/murray/.config/composer
./composer.json has been created
Running composer update modmore/gitify
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires modmore/gitify ^2, found modmore/gitify[2.0.0-alpha1, 2.0.0-alpha2] but it does not match your minimum-stability.

Installation failed, deleting ./composer.json.

Running the command with the full tag works:

composer global require modmore/gitify:^2.0.0-alpha2
Mark-H commented 3 years ago

Hm, it worked fine for me with just ^2, but perhaps I have a different minimum stability already set somewhere...

muzzwood commented 3 years ago

Gotcha, thanks. I'll add a note about this to the readme.