[Neos] Register Package Repository and use it in my site package
Marcin Ryzycki
marcin at ryzycki.com
Sat Jun 21 15:40:46 CEST 2014
I use instead:
"repositories": [
{ "type": "git", "url": "https://github.com/user/package.git" }
]
But with that you need to have composer.json in the target user/package
(with the name in it the same as the one you require in your composer.json).
Does it help?
M.
Carsten Bleicker wrote:
> Hi folks,
> i have added a composer repository to my mail composer.yaml
> like this:
> {
> …
> "repositories" : [
> {
> "type" : "package",
> "package": {
> "name" : "fancyapps/fancybox",
> "version": "v2.1.5",
> "source" : {
> "url" : "https://github.com/fancyapps/fancyBox.git",
> "type" : "git",
> "reference": "v2.1.5"
> }
> }
> }
> ],
> "require" : {
> …
> "pipeu/site" : "dev-develop",
> },
> …
>
> }
>
> Now my site package „pipeu/site“ requires this package „fancyapps/fancybox“.
> {
> "name" : "pipeu/site",
> ..
> "require" : {
> …
> "fancyapps/fancybox" : "~2.1"
> },
> }
>
> Anything works fine until i enter the neos site module and edit my site.
> This ends up in:
> #1352320649: Could not find package with composer name "fancyapps/fancybox" in PackageStates configuration.
>
> Do i have registered the repository „fancyapps/fancybox“ wrong?
> What can i do to prevent this?
>
> Kind regards
>
>
> ----------------------
>
> Carsten Bleicker
> Wülfingstraße 1
> 42477 Radevormwald
>
> E-Mail: carsten at bleicker.de
> Web: www.bleicker.de
> Twitter: @carstenbleicker
> Jabber: cbleicker at jabber.ccc.de
> Telefon: +49 (0)171-2690845
>
More information about the Neos
mailing list