moosh
moosh copied to clipboard
Required composer package no longer exists
https://github.com/moodlehq/moodle-local_amos.git is no longer available on github.
Yup, just ran into this myself. Must have been really recently, since I was able to install it earlier today, but now installation via composer is completely broken. :(
Emailed [email protected], since that's the most prominent contact info on the moodlehq github page. Will follow up here if I get a response.
There's another moodle-local_amos repo at https://github.com/danielneis/moodle-local_amos, and that user owns other repos referenced by moosh's composer.json, so it's probably (hopefully?) somewhere in the neighborhood of authoritative. Anyway, I tweaked my composer.json to use it, and that seems to have worked. Moosh is installed and appears to be functioning properly.
Here's the composer.json I used...
{
"name": "tmuras/moosh",
"description": "Moosh stands for MOOdle SHell. It is a command-line tool that will allow you to perform most common Moodle tasks.",
"license": "GPL-3.0+",
"version": "0.18",
"homepage": "http://moosh-online.com",
"keywords": ["moodle", "shell", "cli"],
"repositories":[
{
"type":"package",
"package":{
"version":"dev-master",
"name":"moodlehq/moodle-mod_newmodule",
"source":{
"url":"https://github.com/moodlehq/moodle-mod_newmodule.git",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/moodlehq/moodle-mod_newmodule/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"moodlehq/moodle-local_wstemplate",
"source":{
"url":"https://github.com/moodlehq/moodle-local_wstemplate",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/moodlehq/moodle-local_wstemplate/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"danielneis/moodle-local_amos",
"source":{
"url":"https://github.com/danielneis/moodle-local_amos.git",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/danielneis/moodle-local_amos/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"danielneis/moodle-block_newblock",
"source":{
"url":"https://github.com/danielneis/moodle-block_newblock.git",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/danielneis/moodle-block_newblock/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"jamiepratt/moodle-qtype_TEMPLATE",
"source":{
"url":"https://github.com/jamiepratt/moodle-qtype_TEMPLATE",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/jamiepratt/moodle-qtype_TEMPLATE/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"danielneis/moodle-gradeexport_newgradeexport",
"source":{
"url":"https://github.com/danielneis/moodle-gradeexport_newgradeexport",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/danielneis/moodle-gradeexport_newgradeexport/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"danielneis/moodle-gradereport_newgradereport",
"source":{
"url":"https://github.com/danielneis/moodle-gradereport_newgradereport",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/danielneis/moodle-gradereport_newgradereport/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"danielneis/moodle-message_newprocessor",
"source":{
"url":"https://github.com/danielneis/moodle-message_newprocessor",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/danielneis/moodle-message_newprocessor/archive/master.zip",
"type":"zip"
}
}
},
{
"type":"package",
"package":{
"version":"dev-master",
"name":"yetanotherape/diff-match-patch",
"source":{
"url":"https://github.com/yetanotherape/diff-match-patch",
"type":"git",
"reference":"master"
},
"dist":{
"url":"https://github.com/yetanotherape/diff-match-patch/archive/master.zip",
"type":"zip"
}
}
}
],
"require":{
"corneltek/getoptionkit":"dev-master#13a146e0f7b9161977332279dff894fa28c53168",
"twig/twig":"1.18.0",
"moodlehq/moodle-mod_newmodule":"dev-master#887786145a472e190eab3cc1dad29e22c948cb8f",
"danielneis/moodle-block_newblock":"dev-master#1fc89fb0845ad282426140feeb6bc3653efd1d7f",
"jamiepratt/moodle-qtype_TEMPLATE":"dev-master#bf2b7bc641c1db5c4889e4cc78ee3c2225398871",
"danielneis/moodle-gradereport_newgradereport":"dev-master#691f53a15de352c3fe25da03c001a97a76b18358",
"danielneis/moodle-local_amos":"dev-master",
"moodlehq/moodle-local_wstemplate":"dev-master#add2ad0949e72f025c0aad36c4b822e8c6479d3b",
"yetanotherape/diff-match-patch":"dev-master#0726dbb4e59e68574326821c174013cf6fdfe20e",
"danielneis/moodle-gradeexport_newgradeexport": "dev-master",
"danielneis/moodle-message_newprocessor": "dev-master"
},
"bin": ["moosh.php"]
}
Thank you for the quick reply! We had the same experience as it worked this morning and this afternoon it suddenly stopped. Looking forward to their response. :)
Thanks again!
Sorry guys. That was me who removed the AMOS repository from github. I will discuss with @tmuras the best way on how to solve this dependency. Thanks for providing the workaround meanwhile.
+1 Just encountered this issue also - workaround much appreciated worked for me.
FYI: I'll be removing this dependency - thanks for the report and work-around.