Skip to content

Move samples of GAE Flex Python 3.8 and later to ./flexible - #9260

Merged
jinglundong merged 12 commits into
mainfrom
move-to-default
Mar 15, 2023
Merged

jinglundong merged 12 commits into
mainfrom
move-to-default

Conversation

@jinglundong

@jinglundong jinglundong commented Mar 10, 2023 •

Copy link
Copy Markdown
Contributor

Move samples of GAE Flex Python 3.8 and later to ./flexible.
Update README.md files and some references. Keep the Python 3.7 and earlier examples from ./flexible directory because user guide (non-English) are still using them.

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed Sample Guidelines from AUTHORING_GUIDE.MD
  • README is updated to include all relevant information
  • Tests pass: nox -s py-3.9 (see Test Environment Setup). Couldn't test ./storage locally. It should pass the github CI.
  • Lint pass: nox -s lint (see Test Environment Setup)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • Please merge this PR for me once it is approved.
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample

…le directory. Update README.md files and some references. Remove the Python 3.7 and earlier examples from ./flexible directory.
@jinglundong
jinglundong requested review from a team and glasnt as code owners March 10, 2023 02:27
@snippet-bot

snippet-bot Bot commented Mar 10, 2023 •

Copy link
Copy Markdown

Here is the summary of changes.

You are about to delete 3 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. labels Mar 10, 2023
@jinglundong
jinglundong requested review from dandhlee and iennae March 10, 2023 02:27
@jinglundong jinglundong assigned iennae and dandhlee and unassigned dandhlee Mar 10, 2023
@jinglundong

jinglundong commented Mar 10, 2023 •

Copy link
Copy Markdown
Contributor Author

This is step 3 of the chain of changes.

1. Code sample change - Copy existing apps from appengine/flexible to appengine/flexible_python37_and_earlier. Don't touch the flexible_ubuntu at this point. 
2. Docs change - Update code references from appengine/flexible to appengine/flexible_python37_and_earlier. 
3. Code sample change - Update appengine/flexible/hello_world and appengine/flexible/storage, so they use python 3.8. 
4. Docs change - Announce GA. Need to reference appengine/flexible/storage and appengine/flexible_python37_and_earlier/storage. For the create an app page, we only need to reference the new sample reference appengine/flexible/hello_world

@jinglundong

Copy link
Copy Markdown
Contributor Author

I'm not very familiar with the review process of Github PRs. It appears that this PR needs two approving reviews. I'm not sure who are the reviewers though. Also not sure if they have been notified. Could someone help me understand the current situation?

@jinglundong

Copy link
Copy Markdown
Contributor Author

Friendly ping.

@engelke engelke added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 13, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 13, 2023

@engelke engelke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Snippet checks are being handled elsewhere.

@jinglundong

Copy link
Copy Markdown
Contributor Author

FYI, we are addressing the pointers from "legacy" docs to these tags at cl/515073377.

@jinglundong

Copy link
Copy Markdown
Contributor Author

The prerequisite cl/515073377 has been submitted and pushed to prod. Please let me merge this PR when you have time @nicain.

@jinglundong jinglundong reopened this Mar 15, 2023

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright years should reflect when the file was first introduced, not the current year. Please revert any changes to years.

Comment thread appengine/flexible/hello_world/app.yaml Outdated

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit more changes...

Comment thread appengine/flexible/storage/app.yaml Outdated
Comment thread appengine/flexible/storage/noxfile_config.py Outdated
Comment thread appengine/flexible/tasks/Dockerfile Outdated
Comment thread appengine/flexible/tasks/app.flexible.yaml Outdated
Comment thread appengine/flexible/tasks/app.yaml Outdated
Comment thread appengine/flexible/tasks/main_test.py Outdated
Comment thread appengine/flexible/tasks/snippets.py Outdated
Comment thread appengine/flexible/tasks/snippets_test.py Outdated
Comment thread appengine/flexible/tasks/templates/index.html Outdated
Comment thread appengine/flexible_python37_and_earlier/hello_world/app.yaml
@dandhlee dandhlee added the snippet-bot:force-run Force snippet-bot runs its logic label Mar 15, 2023
Comment thread appengine/flexible/tasks/Dockerfile Outdated
Comment thread appengine/flexible/tasks/templates/index.html Outdated
@snippet-bot snippet-bot Bot removed the snippet-bot:force-run Force snippet-bot runs its logic label Mar 15, 2023
Comment thread appengine/flexible/storage/noxfile_config.py

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jinglundong
jinglundong merged commit 7f491f2 into main Mar 15, 2023
@jinglundong
jinglundong deleted the move-to-default branch March 15, 2023 23:33
@jinglundong

Copy link
Copy Markdown
Contributor Author

We made it! Thanks for reviewing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: appengine Issues related to the App Engine Admin API API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants