-
Notifications
You must be signed in to change notification settings - Fork 33
Enhance/846b tb cleanup phase1dot5 #889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
gilzow
wants to merge
111
commits into
master
Choose a base branch
from
enhance/846b-tb-cleanup-phase1dot5
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
04e2874
removes lando and .environment files from woocommerce
gilzow 64604a3
removes README from woocommerce
gilzow af49a83
removes .environment, .lando.upstream and README from WordPress Bedrock
gilzow e469964
From WordPress vanilla, removes:
gilzow e3c1dd8
Merge branch 'master' into enhance/846b-tb-cleanup-phase1dot5
gilzow 121d374
Merge branch 'master' into enhance/846b-tb-cleanup-phase1dot5
gilzow d3ba5e2
syncs WordPress Vanilla psh config file with the updated version in t…
gilzow e9403f3
Updates platformify method for WordPress vanilla. We no longer need t…
gilzow bc15205
Removes the following from the root of the D10 project:
gilzow a6efbdf
Removes the following from the root of the D9 template:
gilzow 25b1600
Removes the following from the root of the D9 template:
gilzow 87ccd08
updates cron start command to match what is in the repo
gilzow 6c9b4e6
updates app type to 8.1 to resolve composer dependency issues.
gilzow 7c028de
updates wordpress-composer app config file properties to match docs
gilzow 59ad87c
re-arranges wordpress-bedrock app config file properties to match doc…
gilzow 546fa19
rearranges wordpress-vanilla app config properties to match docs and …
gilzow 4eeaa3c
Removes the following from the root of the D9-govcms9 template:
gilzow 1b33108
rearranges platform.app.config properties to match docs, adds inline …
gilzow 122f1d1
bumps php version from 8.0 to 8.1
gilzow 0f765e0
In govCMS9 - for some reason, lcobucci/clock decided to bump the min…
gilzow e5fb675
Merge branch 'master' into enhance/846b-tb-cleanup-phase1dot5
gilzow 7084e22
Update .platform.app.yaml
flovntp a0872ab
Merge pull request #885 from platformsh/flovntp-patch-1
gilzow ff3f1f9
Merge branch 'master' into enhance/846b-tb-cleanup-phase1dot5
gilzow b3e6bb2
Merge branch 'enhance/846b-tb-cleanup-phase1dot5' of github.com:platf…
gilzow 96021a9
reformats config files for wagtail template
gilzow 271e9a2
removes all non configuration and package management files.
gilzow 6539067
updates lock file to match what is in repo
gilzow 28474eb
updates syllius config files to match order from docs, adds comments.
gilzow 26d78d2
Merge branch 'master' into enhance/846b-tb-cleanup-phase1dot5
gilzow 2954bf9
syncs configuration files from wagtail repo and the configuration fil…
gilzow fd6e4e0
updates strapi config file to match current in template repository
gilzow f7213fc
updates strapi package.json file to match current in template repository
gilzow 13d3c94
updates strapi yarn.lock file to match current in template repository
gilzow a776e42
updates platform.sh configuration files to match order from docs, add…
gilzow 95ebf75
removes all non-psh configuration and package management files from s…
gilzow 36a81b7
updates platform.sh configuration files to match order from docs, add…
gilzow 1c2a788
removes non-psh config files, and non-package management files from p…
gilzow 42be400
sycs psh config file from nuxtjs template repo
gilzow dcd257e
updates platform.sh configuration files to match order from docs, add…
gilzow aef87f9
removes non-psh config file (.gitignore) from template (nuxtjs) files…
gilzow 8f476c3
adds inline docs for source and source:operations properties
gilzow bef66cd
removes README from nuxtjs template
gilzow 4562e2f
syncs nextjs psh config with nextjs psh repo
gilzow 458b123
removes all nonpsh-config/package management files from nextjs
gilzow ce1be0d
syncs yarn.lock with current in source repo
gilzow 870153a
rearranges property order, adds inline documentation to nextjs psh co…
gilzow c80f354
removes package-lock.json since current nextjs template repo doesnt c…
gilzow 59c2fd2
syncs psh config with current in laravel template repo
gilzow 7888cfa
removes non-psh config and package management files
gilzow c6f94b6
adds composer.json as it was missing in template builder
gilzow e5bc034
adds composer.json/lock as they were missing in template builder
gilzow 4edac55
removes composer.lock as it was causing version conflicts
gilzow a1f11de
removes all non-psh config / package management files from koa template
gilzow ee78b2c
deletes non-psh-config / non-package management files from gin template
gilzow 60e236c
reorders properties and adds inline documentation to psh-config files…
gilzow 568d11f
deletes non-psh-config / non-package management files from flask temp…
gilzow ad0e7e6
removes pipfile and pipfile.lock as they are no longer in the templat…
gilzow 654c088
adds poetry.lock from template repo
gilzow 3eb7d6a
syncs files from template repo into template builder
gilzow 274df83
reorders properties and adds inline documentation to psh-config files…
gilzow 4d8280b
removes blackfire as that isnt in the current template repository
gilzow 0a72cb6
syncs files from fastapi repository
gilzow a92a005
reorders properties and adds inline documentation to psh-config files…
gilzow 0d439f0
deletes non-psh-config / non-package management files from express te…
gilzow ae45760
reorders properties and adds inline documentation to psh-config files…
gilzow 0f6cb0d
deletes non-psh-config / non-package management files from echo template
gilzow 3f28c2a
reorders properties and adds inline documentation to psh-config files…
gilzow 04b58d2
syncs go.mod with version in template repo
gilzow db72e85
deletes non-psh-config / non-package management files from beego temp…
gilzow 88f7e1e
updates beego go.mod file with current from template repo
gilzow b545174
reorders properties and adds inline documentation to psh-config files…
gilzow aa5aa20
beego build failed with error
gilzow c1ced1e
ok, now beego fails and complains about needing to do
gilzow 87e690f
deletes non-psh-config / non-package management files from directus t…
gilzow 269ccf1
syncs package.json from directus repo
gilzow a0ce77c
syncs config files from directus repo to here
gilzow 710838b
reorders properties and adds inline documentation to psh-config files…
gilzow 55593aa
build fails with //go:build comment without // +build comment
gilzow 673af7d
deletes non-psh-config / non-package management files from django4 te…
gilzow 7dd6f70
syncs files with django4 repository
gilzow b267846
syncs files with django4 repository
gilzow e1884f0
deletes non-psh-config / non-package management files from django3 te…
gilzow 78830d9
reorders properties and adds inline documentation to psh-config files…
gilzow 330590c
corrects comment block in routes.yaml for beego template
gilzow 90807b8
corrects comment block in routes.yaml for django3 template
gilzow 1f3f2b9
corrects comment block in routes.yaml for django4 template
gilzow 3ba26f3
corrects comment block in routes.yaml for echo template
gilzow 41c86a5
corrects comment block in routes.yaml for express template
gilzow 9612e1a
corrects comment block in routes.yaml for fastapi template
gilzow 591d176
corrects comment block in routes.yaml for directus template
gilzow 482a3c3
moves common functionality needed between Remote metaclasses and some…
gilzow 8be3517
inherits common README handling funcitonality from ReadmeMixin
gilzow b2c7c66
adds yaml setting of 2 spaces
gilzow 18554a5
updates nuxt class to use the new v3 way of creating a nuxt app.
gilzow f737e54
removes other source operation commands as they are no longer needed
gilzow fe52533
removes .gitignore from magento
gilzow 180a351
reorders properties and adds inline documentation to psh-config files…
gilzow 323a6a3
adds db update command to deploy hook for directus template
gilzow f9d8aaf
renames magento.py to magento-archived.py as mangento no longer needs…
gilzow 9b394ca
Removes the remaining package management files from template builder …
gilzow 47cb24e
latest laravel update now needs php 8.1
gilzow 85c2621
re-resyncing changes from django3 repo back into template builder
gilzow 391f27a
reorders properties and adds inline documentation to psh-config files…
gilzow 4eb7d24
updates gatsby to supported version of node (18)
gilzow 6e7bf73
removes package management files from django4 template
gilzow 7267ff2
updates koa to a supported version of node (18)
gilzow d0f976c
updates nextjs to a supported version of node (18)
gilzow 37fbc06
updates pyramid template to 3.9 to match constraints in Pipfile
gilzow fbb527d
Updates node version in Express template to supported version (18)
gilzow 3f2fb12
bumps nodes version to 18 in strapi4 template
gilzow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,7 @@ trim_trailing_whitespace = true | |
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.yaml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
class ReadmeMixin: | ||
readMeFileName = "README" | ||
readMeFileExt = "md" | ||
readMeUpstreamFile = "_UPSTREAM" | ||
readMePSHFile = "_PSH" | ||
|
||
def rename_psh_readme(self): | ||
return 'cd {0} && if [[ -f "{1}.{2}" ]]; then echo "Moving {1}.{2} to {1}{3}.{2}"; mv "{1}.{2}" "{1}{3}.{2}";' \ | ||
'fi;'.format(self.builddir, self.readMeFileName, self.readMeFileExt, self.readMePSHFile) | ||
|
||
def rename_psh_readme_back(self): | ||
return 'cd {0} && if [[ -f "{1}{3}.{2}" ]]; then echo "Moving our {1}{3}.{2} back to {1}.{2}";mv "{1}{3}.{2}" '\ | ||
'"{1}.{2}";fi;'.format(self.builddir,self.readMeFileName,self.readMeFileExt,self.readMePSHFile) | ||
|
||
# return 'cd {0} && if [[ -f "{1}{3}.{2}" ]]; then echo "Moving our {1}{3}.{2} back to {1}.{2}";mv "{1}{3}.{2}" '\ | ||
# '"{1}.{2}";git add {1}.{2};git commit -m "Committing our {1}.{2}";fi;'.format(self.builddir, | ||
# self.readMeFileName, | ||
# self.readMeFileExt, | ||
# self.readMePSHFile) | ||
|
||
def rename_upstream_readme(self): | ||
return 'cd {0} && if [[ -f "{1}.{2}" ]]; then echo "moving upstream {1}.{2} to {1}{3}.{2}";mv "{1}.{2}" "{1}{' \ | ||
'3}.{2}";fi;'.format(self.builddir,self.readMeFileName,self.readMeFileExt,self.readMeUpstreamFile) | ||
# return 'cd {0} && if [[ -f "{1}.{2}" ]]; then echo "moving upstream {1}.{2} to {1}{3}.{2}";mv "{1}.{2}" "{1}{' \ | ||
# '3}.{2}"; git add "{1}{3}.{2}";git commit -m "renamed {1} to {1}{3}";fi;'.format(self.builddir, | ||
# self.readMeFileName, | ||
# self.readMeFileExt, | ||
# self.readMeUpstreamFile) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,7 +114,7 @@ def init(self): | |
name = self.github_name | ||
else: | ||
name = self.name.replace('_', '-') | ||
return ['git clone [email protected]:{2}/{0}.git {1}'.format( | ||
return ['git clone --progress --verbose [email protected]:{2}/{0}.git {1}'.format( | ||
name, self.builddir, self.template_org) | ||
] | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,77 @@ | ||
# This file describes an application. You can have multiple applications | ||
# in the same project. | ||
# | ||
# See https://docs.platform.sh/user_guide/reference/platform-app-yaml.html | ||
# Complete list of all available properties: https://docs.platform.sh/create-apps/app-reference.html | ||
|
||
# The name of this app. Must be unique within a project. | ||
# A unique name for the app. Must be lowercase alphanumeric characters. Changing the name destroys data associated | ||
# with the app. | ||
name: app | ||
|
||
# The runtime the application uses. | ||
# Complete list of available runtimes: https://docs.platform.sh/create-apps/app-reference.html#types | ||
type: golang:1.16 | ||
|
||
# The hooks executed at various points in the lifecycle of the application. | ||
hooks: | ||
build: | | ||
# Modify this line if you want to build differently or use an alternate name for your executable. | ||
go build -o bin/app | ||
|
||
# The relationships of the application with services or other applications. | ||
# The left-hand side is the name of the relationship as it will be exposed | ||
# to the application in the PLATFORM_RELATIONSHIPS variable. The right-hand | ||
# side is in the form `<service name>:<endpoint name>`. | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#relationships | ||
relationships: | ||
database: "db:mysql" | ||
database: "db:mysql" | ||
|
||
# The configuration of app when it is exposed to the web. | ||
web: | ||
upstream: | ||
socket_family: tcp | ||
protocol: http | ||
|
||
commands: | ||
# If you change the build output in the build hook above, update this line as well. | ||
start: ./bin/app | ||
|
||
locations: | ||
/: | ||
# Route all requests to the Go app, unconditionally. | ||
# If you want some files served directly by the web server without hitting Go, see | ||
# https://docs.platform.sh/configuration/app/web.html | ||
allow: false | ||
passthru: true | ||
|
||
# The size of the persistent disk of the application (in MB). | ||
# The size of the persistent disk of the application (in MB). Minimum value is 128. | ||
disk: 1024 | ||
|
||
# The web key configures the web server running in front of your app. | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#web | ||
web: | ||
# More information: https://docs.platform.sh/configuration/app-containers.html#upstream | ||
upstream: | ||
# Whether your app should speak to the webserver via TCP or Unix socket. Defaults to tcp | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#where-to-listen | ||
socket_family: tcp | ||
protocol: http | ||
|
||
# Commands are run once after deployment to start the application process. | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#web-commands | ||
commands: | ||
# The command to launch your app. If it terminates, it’s restarted immediately. | ||
# If you change the build output in the build hook update this line as well. | ||
start: ./bin/app | ||
|
||
# Each key in locations is a path on your site with a leading /. | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#locations | ||
locations: | ||
/: | ||
# Whether to allow serving files which don’t match a rule. | ||
# Route all requests to the Go app, unconditionally. | ||
# If you want some files served directly by the web server without hitting Go, see | ||
# https://docs.platform.sh/configuration/app/web.html | ||
allow: false | ||
# Whether to forward disallowed and missing resources from this location to the app. A string is a path | ||
# with a leading / to the controller, such as /index.php. | ||
passthru: true | ||
|
||
# Hooks allow you to customize your code/environment as the project moves through the build and deploy stages | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#hooks | ||
hooks: | ||
# The build hook is run after any build flavor. | ||
# More information: https://docs.platform.sh/create-apps/hooks/hooks-comparison.html#build-hook | ||
build: | | ||
# Modify this line if you want to build differently or use an alternate name for your executable. | ||
go build -o bin/app | ||
|
||
# Information on the app's source code and operations that can be run on it. | ||
# More information: https://docs.platform.sh/create-apps/app-reference.html#source | ||
source: | ||
###################################################################################################################### | ||
## ## | ||
## This source operation is part of the Platform.sh process of updating and maintaining our collection of ## | ||
## templates. For more information see https://docs.platform.sh/create-apps/source-operations.html and ## | ||
## https://github.com/platformsh/source-operations ## | ||
## ## | ||
## YOU CAN SAFELY DELETE THIS COMMENT AND THE LINES BENEATH IT ## | ||
## ## | ||
###################################################################################################################### | ||
operations: | ||
auto-update: | ||
command: | | ||
curl -fsS https://raw.githubusercontent.com/platformsh/source-operations/main/setup.sh | { bash /dev/fd/3 sop-autoupdate; } 3<&0 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
|
||
# The routes of the project. | ||
# | ||
# Each route describes how an incoming URL is going | ||
# to be processed by Platform.sh. | ||
|
||
# More information: https://docs.platform.sh/define-routes.html | ||
"https://{default}/": | ||
type: upstream | ||
upstream: "app:http" | ||
type: upstream | ||
upstream: "app:http" | ||
|
||
# A basic redirect definition | ||
# More information: https://docs.platform.sh/define-routes.html#basic-redirect-definition | ||
"https://www.{default}/": | ||
type: redirect | ||
to: "https://{default}/" | ||
type: redirect | ||
to: "https://{default}/" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mixin!