Skip to content
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(AnalyticsData): Delete old style files. #4985

Closed
wants to merge 1 commit into from

Conversation

tmatsuo
Copy link
Contributor

@tmatsuo tmatsuo commented Jan 7, 2022

I think we should also copy files like these:
src/V1beta/resources/beta_analytics_data_descriptor_config.php
src/V1beta/resources/beta_analytics_data_rest_client_config.php

So I also changed the copy_excludes pattern.

I think we should also copy files like these:
src/V1beta/resources/beta_analytics_data_descriptor_config.php
src/V1beta/resources/beta_analytics_data_rest_client_config.php

So I also changed the copy_excludes pattern.
@tmatsuo tmatsuo requested a review from bshaffer January 7, 2022 00:14
@tmatsuo tmatsuo requested review from a team as code owners January 7, 2022 00:14
@product-auto-label product-auto-label bot added the api: analyticsdata Issues related to the Analytics Data API API. label Jan 7, 2022
@@ -34,10 +36,19 @@
src=src,
dest=dest,
copy_excludes=[
src / "**/*_*.php"
src / "**/[A-Z]*_*.php"
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, is beta_analytics_data_rest_client_config.php included in these lists? If so, we definitely need to update all of these 😞

Would it be better to submit a PR to update all of these?

Copy link
Contributor

Choose a reason for hiding this comment

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

Added here

Would it also be better to be specific by directory instead of using the double asterisk? I think in this case we would want src / "*/[A-Z]*_*.php"

try:
os.remove(f)
except:
print(f"Failed to remove '{f}'")
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure we want this logic in owlbot.py since this is something that only needs to be performed once. I think I'd prefer to manually remove these. WDYT?

@bshaffer
Copy link
Contributor

bshaffer commented Jan 8, 2022

Closing in favor of #4993

@bshaffer bshaffer closed this Jan 8, 2022
@bshaffer bshaffer deleted the analytics-data-delete-old-files branch January 8, 2022 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: analyticsdata Issues related to the Analytics Data API API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants