From a0d60e72647f62abda288770293bbe496b381424 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 8 Mar 2022 15:48:28 +0100 Subject: [PATCH 1/3] chore: remove the golang cookiecutter template as we're no longer providing cookiecutter out of the box Signed-off-by: blam --- packages/create-app/templates/default-app/app-config.yaml.hbs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/create-app/templates/default-app/app-config.yaml.hbs b/packages/create-app/templates/default-app/app-config.yaml.hbs index 618c06a0c3..3afed0ed82 100644 --- a/packages/create-app/templates/default-app/app-config.yaml.hbs +++ b/packages/create-app/templates/default-app/app-config.yaml.hbs @@ -116,10 +116,6 @@ catalog: target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/springboot-grpc-template/template.yaml rules: - allow: [Template] - - type: url - target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml - rules: - - allow: [Template] - type: url target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/docs-template/template.yaml rules: From 8a57b6595bda5c25346b3320ffdd17fd5bb3c917 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 8 Mar 2022 15:50:30 +0100 Subject: [PATCH 2/3] chore: added changeset Signed-off-by: blam --- .changeset/curvy-forks-cross.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .changeset/curvy-forks-cross.md diff --git a/.changeset/curvy-forks-cross.md b/.changeset/curvy-forks-cross.md new file mode 100644 index 0000000000..feced6ed0e --- /dev/null +++ b/.changeset/curvy-forks-cross.md @@ -0,0 +1,14 @@ +--- +'@backstage/create-app': patch +--- + +Removed the `cookiecutter-golang` template from the default `create-app` install as we no longer provide `cookiecutter` action out of the box. + +You can remove the template by removing the following lines from your `app-config.yaml` under `catalog.locations`: + +```diff +- - type: url +- target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml +- rules: +- - allow: [Template] +``` From 6049d33313efbde04d23a9c4d0a4e4fca4884523 Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 9 Mar 2022 10:08:50 +0100 Subject: [PATCH 3/3] chore: updating this in documentation though too Signed-off-by: blam --- docs/features/software-templates/adding-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-templates/adding-templates.md b/docs/features/software-templates/adding-templates.md index ed7a103bc4..db765fc7ee 100644 --- a/docs/features/software-templates/adding-templates.md +++ b/docs/features/software-templates/adding-templates.md @@ -94,7 +94,7 @@ for example: catalog: locations: - type: url - target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml + target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/react-ssr-template/template.yaml rules: - allow: [Template] ```