Skip to content

Commit

Permalink
updates for promoting to stable/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Jun 10, 2024
1 parent a93c4c5 commit 1d94d4d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@
"Language": {
"language": "php",
"distribution_name": "google/cloud-language",
"release_level": "preview",
"release_level": "stable",
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-language/latest",
"library_type": "GAPIC_COMBO",
"api_shortname": "language"
Expand Down
2 changes: 1 addition & 1 deletion Language/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
deep-copy-regex:
- source: /google/cloud/language/(.*)/.*-php/(.*)
- source: /google/cloud/language/(v2|v1)/.*-php/(.*)
dest: /owl-bot-staging/Language/$1/$2
api-name: Language
5 changes: 2 additions & 3 deletions Language/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ foreach ($tokens as $token) {

### Version

This component is considered beta. As such, it should be expected to be mostly
stable and we're working towards a release candidate. We will address issues
and requests with a higher priority.
This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in
any minor or patch releases. We will address issues and requests with the highest priority.

### Next Steps

Expand Down
10 changes: 8 additions & 2 deletions Language/owlbot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -30,7 +30,13 @@
# Added so that we can pass copy_excludes in the owlbot_main() call
_tracked_paths.add(src)

php.owlbot_main(src=src, dest=dest)
php.owlbot_main(
src=src,
dest=dest,
copy_excludes=[
src / "**/[A-Z]*_*.php",
]
)

# remove class_alias code
s.replace(
Expand Down

0 comments on commit 1d94d4d

Please sign in to comment.