tmuras / moosh

Moosh
GNU General Public License v3.0
234 stars 177 forks source link

Installation from packagist #173

Open Mihailoff opened 7 years ago

Mihailoff commented 7 years ago

After #133 moosh must be installable by running composer require tmuras/moosh but dependencies fail.

composer require tmuras/moosh dev-master
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for tmuras/moosh dev-master -> satisfiable by tmuras/moosh[dev-master].
    - tmuras/moosh dev-master requires jamiepratt/moodle-qtype_template dev-master#bf2b7bc641c1db5c4889e4cc78ee3c2225398871 -> no matching package found.
johnennewdeeson commented 6 years ago

Just tried to install 0.26 with composer and got

  Problem 1
    - Installation request for tmuras/moosh 0.26 -> satisfiable by tmuras/moosh[0.26].
    - tmuras/moosh 0.26 requires mudrd8mz/moodle-tool_pluginskel dev-master -> no matching package found.
johnennewdeeson commented 6 years ago

If I set:

  "prefer-stable": true,
  "minimum-stability": "dev",
  "require-dev": {
    "tmuras/moosh": "0.*"
  },

Then the result is no moosh:

  Problem 1
    - tmuras/moosh 0.26 requires mudrd8mz/moodle-tool_pluginskel dev-master -> no matching package found.
    - tmuras/moosh 0.25 requires moodlehq/moodle-mod_newmodule dev-master#e1f112be8842291259ece87de3000cd5f0e18711 -> no matching package found.
    - tmuras/moosh 0.24 requires moodlehq/moodle-mod_newmodule dev-master#e1f112be8842291259ece87de3000cd5f0e18711 -> no matching package found.
    - tmuras/moosh 0.18 requires moodlehq/moodle-mod_newmodule dev-master#887786145a472e190eab3cc1dad29e22c948cb8f -> no matching package found.
    - Installation request for tmuras/moosh 0.* -> satisfiable by tmuras/moosh[0.18, 0.24, 0.25, 0.26].

If you require dev-master, still no moosh:

  "prefer-stable": true,
  "minimum-stability": "dev",
  "require-dev": {
    "tmuras/moosh": "dev-master"
  },
  Problem 1
    - Installation request for tmuras/moosh dev-master -> satisfiable by tmuras/moosh[dev-master].
    - tmuras/moosh dev-master requires moodlehq/moodle-local_wstemplate dev-master#add2ad0949e72f025c0aad36c4b822e8c6479d3b -> no matching package found.
michael-milette commented 4 years ago

Has anyone come up with a solution? I am trying to install it using composer too and am experiencing the exact same issue.