-
Notifications
You must be signed in to change notification settings - Fork 6.5k
chore(gae): delete samples for Python 2.7 in 'storage' folder #13380
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
chore(gae): delete samples for Python 2.7 in 'storage' folder #13380
Conversation
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.
Hello @eapl-gemugami, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
Hello! Gemini here, providing a summary of this pull request. This PR, authored by eapl-gemugami, aims to clean up the repository by removing outdated Python 2.7 samples for Google App Engine Standard related to Cloud Storage. According to the description, these samples are no longer used in documentation, and the change involves deleting the entire appengine/standard/storage
directory and its contents.
Highlights
- Sample Deletion: This pull request deletes the Python 2.7 Google App Engine Standard samples for Cloud Storage.
- Directory Removal: The entire
appengine/standard/storage
directory, containing two sample applications (api-client
andcloud-client
) and their associated files, is removed. - Reason for Change: The samples are being removed because they are no longer used in documentation.
Changelog
Click here to see the changelog
- appengine/standard/storage/api-client/README.md
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/api-client/app.yaml
- Deleted as part of removing Python 2.7 storage samples (was configured for
runtime: python27
).
- Deleted as part of removing Python 2.7 storage samples (was configured for
- appengine/standard/storage/api-client/appengine_config.py
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/api-client/lib
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/api-client/main.py
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/api-client/requirements-test.txt
- Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
- appengine/standard/storage/api-client/requirements.txt
- Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
- appengine/standard/storage/api-client/tests/test_main.py
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/cloud-client/app.yaml
- Deleted as part of removing Python 2.7 storage samples (was configured for
runtime: python27
).
- Deleted as part of removing Python 2.7 storage samples (was configured for
- appengine/standard/storage/cloud-client/appengine_config.py
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/cloud-client/main.py
- Deleted as part of removing Python 2.7 storage samples.
- appengine/standard/storage/cloud-client/requirements-test.txt
- Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
- appengine/standard/storage/cloud-client/requirements.txt
- Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
- appengine/standard/storage/cloud-client/tests/test_main.py
- Deleted as part of removing Python 2.7 storage samples.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
Feature | Command | Description |
---|---|---|
Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/
folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Old code, Python two,
No longer needed, it's true.
Deleted with care,
Fresh code fills the air,
For Python three, something new.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
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.
Code Review
This pull request effectively removes outdated Python 2.7 samples from the appengine/standard/storage/api-client/
and appengine/standard/storage/appengine-client/
directories. The changes are consistent with the PR title and description, which state the goal of deleting these unused Python 2.7 samples.
The deletion includes all relevant files for these samples, such as app.yaml
(configured for python27
), Python source files, test files, and requirements files with Python 2.7 specific dependencies. This is a valuable cleanup effort that improves the maintainability of the repository by removing deprecated code.
Given the nature of the change (deletion of old, unused code) and the provided justification (samples not used in documentation, internal bug tracker reference), the PR appears to be in good order.
Summary of Findings
- Removal of Deprecated Code: The pull request successfully removes Python 2.7 samples, which are no longer supported. This is a positive change that reduces repository clutter and improves maintainability.
- Completeness of Deletion: The PR appears to comprehensively remove all files associated with the targeted Python 2.7 samples in the 'storage' folder, including application code, configuration, tests, and dependencies.
Merge Readiness
The changes in this pull request consist of deleting outdated Python 2.7 samples. This is a beneficial maintenance task. Based on the review, the PR seems ready for merging. As an AI, I am not authorized to approve pull requests, so please ensure it undergoes any further necessary human review and approval processes.
Here is the summary of changes. You are about to delete 6 region tags.
This comment is generated by snippet-bot.
|
Description
Fixes Internal: b/419023570
Deletes the whole folder, as all the samples are not used in documentation.
Checklist