Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 2d67c81

Browse files
build: update README for deprecation notice (#1446)
* build: update README for deprecation notice * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 202dd96 commit 2d67c81

9 files changed

Lines changed: 1455 additions & 1496 deletions

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
matrix:
1212
node: [18, 20, 22]
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
1717
node-version: ${{ matrix.node }}
@@ -29,7 +29,7 @@ jobs:
2929
test-script:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@v4
3333
- uses: actions/setup-node@v4
3434
with:
3535
node-version: 18
@@ -43,7 +43,7 @@ jobs:
4343
windows:
4444
runs-on: windows-latest
4545
steps:
46-
- uses: actions/checkout@v6
46+
- uses: actions/checkout@v4
4747
- uses: actions/setup-node@v4
4848
with:
4949
node-version: 18
@@ -54,7 +54,7 @@ jobs:
5454
lint:
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v6
57+
- uses: actions/checkout@v4
5858
- uses: actions/setup-node@v4
5959
with:
6060
node-version: 18
@@ -63,7 +63,7 @@ jobs:
6363
docs:
6464
runs-on: ubuntu-latest
6565
steps:
66-
- uses: actions/checkout@v6
66+
- uses: actions/checkout@v4
6767
- uses: actions/setup-node@v4
6868
with:
6969
node-version: 18

.github/workflows/issues-no-repro.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
issues: write
1111
pull-requests: write
1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 18

.github/workflows/response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
issues: write
1414
pull-requests: write
1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@v4
1717
- uses: actions/github-script@v7
1818
with:
1919
script: |
@@ -27,7 +27,7 @@ jobs:
2727
issues: write
2828
pull-requests: write
2929
steps:
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@v4
3131
- uses: actions/github-script@v7
3232
with:
3333
script: |

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/packages/handwritten)_**
2+
13
[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
24
[//]: # "To regenerate it, use `python -m synthtool`."
35
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

owlbot.py

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Copyright 2021 Google LLC
1+
# Copyright 2022 Google LLC
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# Licensed under the Apache License, Version 2.0 (the License);
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
@@ -11,50 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
import synthtool as s
16-
import synthtool.gcp as gcp
1714
import synthtool.languages.node as node
18-
import logging
19-
from pathlib import Path
20-
from synthtool import _tracked_paths
21-
from synthtool import shell
22-
import shutil
23-
24-
logging.basicConfig(level=logging.DEBUG)
25-
26-
staging = Path("owl-bot-staging")
27-
28-
if staging.is_dir():
29-
logging.info(f"Copying files from staging directory ${staging}.")
30-
31-
# Copy the datastore library.
32-
for version in ['v1']:
33-
library = staging / version
34-
_tracked_paths.add(library)
35-
s.copy([library],excludes=[
36-
'package.json', 'README.md', 'src/index.ts', 'src/v1/index.ts'])
37-
38-
# Copy the admin library.
39-
for version in ['v1']:
40-
library = staging / 'admin' / version
41-
_tracked_paths.add(library)
42-
s.copy([library],excludes=[
43-
'package.json', 'README.md', 'src/index.ts', 'src/v1/index.ts', 'tsconfig.json', 'tslint.json',
44-
'system-test/fixtures/sample/src/index.ts', 'system-test/fixtures/sample/src/index.js',
45-
'.jsdoc.js', 'webpack.config.js'])
46-
47-
# Patch the code.
48-
system_test_files = ['system-test/fixtures/sample/src/index.ts', 'system-test/fixtures/sample/src/index.js']
49-
for file in system_test_files:
50-
s.replace(file, 'DatastoreClient', 'Datastore')
51-
s.replace(file, 'client.close', '// client.close'); # does not work with the manual layer
52-
53-
# The staging directory should never be merged into the main branch.
54-
shutil.rmtree(staging)
55-
56-
common_templates = gcp.CommonTemplates()
57-
templates = common_templates.node_library(source_location="build/src")
58-
s.copy(templates)
59-
60-
node.postprocess_gapic_library_hermetic()
15+
node.owlbot_main(templates_excludes=[
16+
'README.md'
17+
])

0 commit comments

Comments
 (0)