From 148485887a89683e0ca2a262ef4cba7419099415 Mon Sep 17 00:00:00 2001 From: Christian Nunciato Date: Wed, 22 May 2024 07:54:16 -0700 Subject: [PATCH] Fixups to remove undesirables --- scripts/content/new-example-program.sh | 2 -- scripts/programs/upgrade.sh | 2 +- static/programs/.gitignore | 4 ++-- .../www/.gitignore | 1 + .../www/public/categories/index.xml | 11 ----------- .../www/public/index.html | 12 ------------ .../www/public/index.xml | 11 ----------- .../www/public/sitemap.xml | 11 ----------- .../www/public/tags/index.xml | 11 ----------- .../www/.gitignore | 1 + .../www/public/categories/index.xml | 11 ----------- .../www/public/index.html | 12 ------------ .../www/public/index.xml | 11 ----------- .../www/public/sitemap.xml | 11 ----------- .../www/public/tags/index.xml | 11 ----------- 15 files changed, 5 insertions(+), 117 deletions(-) create mode 100644 static/programs/aws-static-website-with-runtime-logic-python/www/.gitignore delete mode 100644 static/programs/aws-static-website-with-runtime-logic-python/www/public/categories/index.xml delete mode 100644 static/programs/aws-static-website-with-runtime-logic-python/www/public/index.html delete mode 100644 static/programs/aws-static-website-with-runtime-logic-python/www/public/index.xml delete mode 100644 static/programs/aws-static-website-with-runtime-logic-python/www/public/sitemap.xml delete mode 100644 static/programs/aws-static-website-with-runtime-logic-python/www/public/tags/index.xml create mode 100644 static/programs/aws-static-website-with-runtime-logic-typescript/www/.gitignore delete mode 100644 static/programs/aws-static-website-with-runtime-logic-typescript/www/public/categories/index.xml delete mode 100644 static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.html delete mode 100644 static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.xml delete mode 100644 static/programs/aws-static-website-with-runtime-logic-typescript/www/public/sitemap.xml delete mode 100644 static/programs/aws-static-website-with-runtime-logic-typescript/www/public/tags/index.xml diff --git a/scripts/content/new-example-program.sh b/scripts/content/new-example-program.sh index 87c52aec81dc..2f3154cbd756 100755 --- a/scripts/content/new-example-program.sh +++ b/scripts/content/new-example-program.sh @@ -60,8 +60,6 @@ generate_example() { pulumi install > /dev/null popd > /dev/null done - - unsuffix_gomods } echo diff --git a/scripts/programs/upgrade.sh b/scripts/programs/upgrade.sh index 7daf7a69e748..94773292e80c 100755 --- a/scripts/programs/upgrade.sh +++ b/scripts/programs/upgrade.sh @@ -6,7 +6,7 @@ source ./scripts/programs/common.sh programs_dir="static/programs" -# Delete install artifacts, but leave existing go.mod files. +# Delete install artifacts. git clean -fdX "${programs_dir}/*" # Fix up go.mod files. diff --git a/static/programs/.gitignore b/static/programs/.gitignore index 9b6252950cd4..762b201a015b 100644 --- a/static/programs/.gitignore +++ b/static/programs/.gitignore @@ -360,8 +360,8 @@ MigrationBackup/ maven-status target/ -# Nested .gitignores. -*/**/.gitignore +# Generated .gitignores. +*/.gitignore # Stack config files. Pulumi.*.yaml diff --git a/static/programs/aws-static-website-with-runtime-logic-python/www/.gitignore b/static/programs/aws-static-website-with-runtime-logic-python/www/.gitignore new file mode 100644 index 000000000000..a48cf0de7af6 --- /dev/null +++ b/static/programs/aws-static-website-with-runtime-logic-python/www/.gitignore @@ -0,0 +1 @@ +public diff --git a/static/programs/aws-static-website-with-runtime-logic-python/www/public/categories/index.xml b/static/programs/aws-static-website-with-runtime-logic-python/www/public/categories/index.xml deleted file mode 100644 index f3eb4cefb179..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-python/www/public/categories/index.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Categories on My New Hugo Site - http://example.org/categories/ - Recent content in Categories on My New Hugo Site - Hugo - en-us - - - diff --git a/static/programs/aws-static-website-with-runtime-logic-python/www/public/index.html b/static/programs/aws-static-website-with-runtime-logic-python/www/public/index.html deleted file mode 100644 index 0682457b6a8c..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-python/www/public/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Document - - - Hi, world! - - diff --git a/static/programs/aws-static-website-with-runtime-logic-python/www/public/index.xml b/static/programs/aws-static-website-with-runtime-logic-python/www/public/index.xml deleted file mode 100644 index f969be6aa8f7..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-python/www/public/index.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - My New Hugo Site - http://example.org/ - Recent content on My New Hugo Site - Hugo - en-us - - - diff --git a/static/programs/aws-static-website-with-runtime-logic-python/www/public/sitemap.xml b/static/programs/aws-static-website-with-runtime-logic-python/www/public/sitemap.xml deleted file mode 100644 index 45379db1a8d8..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-python/www/public/sitemap.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - http://example.org/categories/ - - http://example.org/ - - http://example.org/tags/ - - diff --git a/static/programs/aws-static-website-with-runtime-logic-python/www/public/tags/index.xml b/static/programs/aws-static-website-with-runtime-logic-python/www/public/tags/index.xml deleted file mode 100644 index c65bf4c4b157..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-python/www/public/tags/index.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Tags on My New Hugo Site - http://example.org/tags/ - Recent content in Tags on My New Hugo Site - Hugo - en-us - - - diff --git a/static/programs/aws-static-website-with-runtime-logic-typescript/www/.gitignore b/static/programs/aws-static-website-with-runtime-logic-typescript/www/.gitignore new file mode 100644 index 000000000000..a48cf0de7af6 --- /dev/null +++ b/static/programs/aws-static-website-with-runtime-logic-typescript/www/.gitignore @@ -0,0 +1 @@ +public diff --git a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/categories/index.xml b/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/categories/index.xml deleted file mode 100644 index f3eb4cefb179..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/categories/index.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Categories on My New Hugo Site - http://example.org/categories/ - Recent content in Categories on My New Hugo Site - Hugo - en-us - - - diff --git a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.html b/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.html deleted file mode 100644 index 0682457b6a8c..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Document - - - Hi, world! - - diff --git a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.xml b/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.xml deleted file mode 100644 index f969be6aa8f7..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/index.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - My New Hugo Site - http://example.org/ - Recent content on My New Hugo Site - Hugo - en-us - - - diff --git a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/sitemap.xml b/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/sitemap.xml deleted file mode 100644 index 45379db1a8d8..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/sitemap.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - http://example.org/categories/ - - http://example.org/ - - http://example.org/tags/ - - diff --git a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/tags/index.xml b/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/tags/index.xml deleted file mode 100644 index c65bf4c4b157..000000000000 --- a/static/programs/aws-static-website-with-runtime-logic-typescript/www/public/tags/index.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Tags on My New Hugo Site - http://example.org/tags/ - Recent content in Tags on My New Hugo Site - Hugo - en-us - - -