[Neos] Register Package Repository and use it in my site package

Carsten Bleicker carsten at bleicker.de
Sat Jun 21 15:52:21 CEST 2014


Thats the point.
Its simply a package wich does not contain any composer informations.
Its a third party package wich just js stuff.
It is installed with my settings into Packages/Libraries.
But the missing composer.json seems to end up in exceptions.

----------------------

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

Am 21.06.2014 um 15:40 schrieb Marcin Ryzycki <marcin at ryzycki.com>:

> 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
>> 
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list