From 5f4681bdd381d040281587f0841bbc05ee262bec Mon Sep 17 00:00:00 2001 From: leoloso Date: Wed, 11 Oct 2023 15:04:47 +0800 Subject: [PATCH] details for copy-upstream-files --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c36a5780..b72dd3b1 100644 --- a/README.md +++ b/README.md @@ -464,11 +464,19 @@ Run: composer copy-upstream-files ``` -This command will copy files (including GitHub Actions workflows and Lando config files) from the "upstream" `GatoGraphQL/GatoGraphQL` repo (which is a Git submodule), to the "downstream" `my-account/GatoGraphQLExtensionsForMyCompany` repo. +
+ +What files does copy-upstream-files copy? + +Executing `composer copy-upstream-files` will copy files from the "upstream" `GatoGraphQL/GatoGraphQL` repo (which is a Git submodule), to the "downstream" `my-account/GatoGraphQLExtensionsForMyCompany` repo. + +These files include GitHub Actions workflows and Lando config files. For instance, the Lando webserver for DEV (see above) uses the source code files from the main Gato GraphQL plugin, via the mapping defined in the upstream file [`.lando.upstream.yml`](https://github.com/GatoGraphQL/GatoGraphQL/blob/master/webservers/gatographql/.lando.upstream.yml). -Wheneven that file is updated in the Gato GraphQL repo, by executing `composer copy-upstream-files` we will fetch that updated file and copy it as the downstream [`.lando.base.yml`](webservers/gatographql-extensions/.lando.base.yml) file. Then we execute `composer rebuild-server`, and the new mapping will take effect. +Whenever that file is updated in the Gato GraphQL repo, by executing `composer copy-upstream-files` we will fetch that updated file and copy it as the downstream [`.lando.base.yml`](webservers/gatographql-extensions/.lando.base.yml) file (it is renamed in the process). Then we execute `composer rebuild-server`, and the new mapping will take effect. + +
## Why a Multi-monorepo