From: Raphaƫl Gertz Date: Sat, 12 Oct 2024 22:47:28 +0000 (+0200) Subject: Fix manifest structure X-Git-Url: https://git.rapsys.eu/recipe/commitdiff_plain/95360b7c374b541b94b77b4be302b11eec5003d6 Fix manifest structure Add ref Add aliases --- diff --git a/index.json b/index.json index b14052b..0b0506e 100644 --- a/index.json +++ b/index.json @@ -1,11 +1,4 @@ { - "aliases": [ - "rapsysair": "rapsys/airbundle", - "rapsysblog": "rapsys/blogbundle", - "rapsyspack": "rapsys/packbundle", - "rapsystree": "rapsys/treebundle", - "rapsysuser": "rapsys/userbundle" - ], "recipes": { "rapsys/airbundle": [ "1.0" diff --git a/rapsys/airbundle/1.0/manifest.json b/rapsys/airbundle/1.0/manifest.json index d32d4f9..d17160e 100644 --- a/rapsys/airbundle/1.0/manifest.json +++ b/rapsys/airbundle/1.0/manifest.json @@ -1,27 +1,35 @@ { - "bundles": { - "Rapsys\\AirBundle\\RapsysAirBundle": ["all"] - }, - "copy-from-package": { - "Resources/config/packages/rapsysair.yaml": "%CONFIG_DIR%/packages/rapsysair.yaml", - "Resources/config/routes/rapsysair.yaml": "%CONFIG_DIR%/routes/rapsysair.yaml" - }, - "env": { - "#1": "Google client", - "RAPSYSAIR_GOOGLE_CLIENT": "Ch4ng3m3!", - "#2": "Google project", - "RAPSYSAIR_GOOGLE_PROJECT": "Ch4ng3m3!", - "#3": "Gootle secret", - "RAPSYSAIR_GOOGLE_SECRET": "Ch4ng3m3!", - "#4": "Hostname", - "RAPSYSAIR_HOSTNAME": "Ch4ng3m3!", - "#5": "Scheme", - "RAPSYSPACK_SCHEME": "https" - }, - "post-install-output": [ - " * Set your RAPSYSAIR_GOOGLE_CLIENT config in .env.local", - " * Set your RAPSYSAIR_GOOGLE_PROJECT config in .env.local", - " * Set your RAPSYSAIR_GOOGLE_SECRET config in .env.local", - " * Set your RAPSYSAIR_HOSTNAME config in .env.local" - ] + "manifests": { + "rapsys/airbundle": { + "manifest": { + "aliases": [ "air" ], + "bundles": { + "Rapsys\\AirBundle\\RapsysAirBundle": [ "all" ] + }, + "copy-from-package": { + "Resources/config/packages/rapsysair.yaml": "%CONFIG_DIR%/packages/rapsysair.yaml", + "Resources/config/routes/rapsysair.yaml": "%CONFIG_DIR%/routes/rapsysair.yaml" + }, + "env": { + "#1": "Google client", + "RAPSYSAIR_GOOGLE_CLIENT": "Ch4ng3m3!", + "#2": "Google project", + "RAPSYSAIR_GOOGLE_PROJECT": "Ch4ng3m3!", + "#3": "Gootle secret", + "RAPSYSAIR_GOOGLE_SECRET": "Ch4ng3m3!", + "#4": "Hostname", + "RAPSYSAIR_HOSTNAME": "Ch4ng3m3!", + "#5": "Scheme", + "RAPSYSPACK_SCHEME": "https" + }, + "post-install-output": [ + " * Set your RAPSYSAIR_GOOGLE_CLIENT config in .env.local", + " * Set your RAPSYSAIR_GOOGLE_PROJECT config in .env.local", + " * Set your RAPSYSAIR_GOOGLE_SECRET config in .env.local", + " * Set your RAPSYSAIR_HOSTNAME config in .env.local" + ] + }, + "ref": "cc97db54350fff6d9a97e7cdc1c9c8d4b4b92817" + } + } } diff --git a/rapsys/packbundle/1.0/manifest.json b/rapsys/packbundle/1.0/manifest.json index 90327b2..8e20de2 100644 --- a/rapsys/packbundle/1.0/manifest.json +++ b/rapsys/packbundle/1.0/manifest.json @@ -1,28 +1,36 @@ { - "bundles": { - "Rapsys\\PackBundle\\RapsysPackBundle": ["all"] - }, - "composer-scripts": { - "rapsyspack:range": "symfony-cmd" - }, - "copy-from-package": { - "Resources/config/packages/rapsyspack.yaml": "%CONFIG_DIR%/packages/rapsyspack.yaml", - "Resources/config/routes/rapsyspack.yaml": "%CONFIG_DIR%/routes/rapsyspack.yaml" - }, - "env": { - "#1": "User agent", - "RAPSYSPACK_AGENT": "rapsyspack/Ch4ng3m3!", - "#2": "Shuffled printable character range", - "#3": "XXX: Run \"php bin/console rapsyspack:range\" to generate a range", - "RAPSYSPACK_RANGE": "Ch4ng3m3!", - "#4": "Redirect (number of redirects to follow, cast as int)", - "RAPSYSPACK_REDIRECT": 20, - "#5": "Scheme", - "RAPSYSPACK_SCHEME": "https", - "#6": "Timeout (0 for infinite, cast as float)", - "RAPSYSPACK_TIMEOUT": 60 - }, - "post-install-output": [ - " * Set your RAPSYSPACK_RANGE config in .env.local" - ] + "manifests": { + "rapsys/packbundle": { + "manifest": { + "aliases": [ "pack" ], + "bundles": { + "Rapsys\\PackBundle\\RapsysPackBundle": [ "all" ] + }, + "composer-scripts": { + "rapsyspack:range": "symfony-cmd" + }, + "copy-from-package": { + "Resources/config/packages/rapsyspack.yaml": "%CONFIG_DIR%/packages/rapsyspack.yaml", + "Resources/config/routes/rapsyspack.yaml": "%CONFIG_DIR%/routes/rapsyspack.yaml" + }, + "env": { + "#1": "User agent", + "RAPSYSPACK_AGENT": "rapsyspack/Ch4ng3m3!", + "#2": "Shuffled printable character range", + "#3": "XXX: Run \"php bin/console rapsyspack:range\" to generate a range", + "RAPSYSPACK_RANGE": "Ch4ng3m3!", + "#4": "Redirect (number of redirects to follow, cast as int)", + "RAPSYSPACK_REDIRECT": 20, + "#5": "Scheme", + "RAPSYSPACK_SCHEME": "https", + "#6": "Timeout (0 for infinite, cast as float)", + "RAPSYSPACK_TIMEOUT": 60 + }, + "post-install-output": [ + " * Set your RAPSYSPACK_RANGE config in .env.local" + ] + }, + "ref": "673c286fd17382f5e8940166ae7d3ce437afd941" + } + } } diff --git a/rapsys/treebundle/1.0/manifest.json b/rapsys/treebundle/1.0/manifest.json index 6de21f6..88dec55 100644 --- a/rapsys/treebundle/1.0/manifest.json +++ b/rapsys/treebundle/1.0/manifest.json @@ -2,8 +2,9 @@ "manifests": { "rapsys/treebundle": { "manifest": { + "aliases": [ "tree" ], "bundles": { - "Rapsys\\TreeBundle\\RapsysTreeBundle": ["all"] + "Rapsys\\TreeBundle\\RapsysTreeBundle": [ "all" ] }, "copy-from-package": { "Resources/config/packages/rapsystree.yaml": "%CONFIG_DIR%/packages/rapsystree.yaml", diff --git a/rapsys/userbundle/1.0/manifest.json b/rapsys/userbundle/1.0/manifest.json index ae32911..b0e2dbf 100644 --- a/rapsys/userbundle/1.0/manifest.json +++ b/rapsys/userbundle/1.0/manifest.json @@ -1,9 +1,17 @@ { - "bundles": { - "Rapsys\\UserBundle\\RapsysUserBundle": ["all"] - }, - "copy-from-package": { - "Resources/config/packages/rapsysuser.yaml": "%CONFIG_DIR%/packages/rapsysuser.yaml", - "Resources/config/routes/rapsysuser.yaml": "%CONFIG_DIR%/routes/rapsysuser.yaml" + "manifests": { + "rapsys/userbundle": { + "manifest": { + "aliases": [ "user" ], + "bundles": { + "Rapsys\\UserBundle\\RapsysUserBundle": [ "all" ] + }, + "copy-from-package": { + "Resources/config/packages/rapsysuser.yaml": "%CONFIG_DIR%/packages/rapsysuser.yaml", + "Resources/config/routes/rapsysuser.yaml": "%CONFIG_DIR%/routes/rapsysuser.yaml" + } + }, + "ref": "e1a4c1a9d9892aca34f825793ccb16da5e2ee989" + } } }