Skip to content

Commit 3928ddc

Browse files
authored
chore(migration): Migrate code from googleapis/python-dns into packages/google-cloud-dns (#15543)
See #11024. This PR should be merged with a merge-commit, not a squash-commit, in order to preserve the git history.
2 parents 540025b + 6b34787 commit 3928ddc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4948
-1
lines changed

.kokoro/system.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ for dir in `find 'packages' -type d -wholename 'packages/*/tests/system'`; do
4747
package=$(echo $dir | cut -f -2 -d '/')
4848

4949
# Run system tests on every change to these libraries
50-
if [[ $package = @(*google-cloud-bigquery-storage*|*google-cloud-testutils*) ]]; then
50+
if [[ $package = @(*google-cloud-bigquery-storage*|*google-cloud-dns*|*google-cloud-testutils*) ]]; then
5151
files_to_check=${package}
5252
else
5353
files_to_check=${package}/CHANGELOG.md

.librarian/state.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,15 @@ libraries:
14681468
remove_regex:
14691469
- packages/google-cloud-dms/
14701470
tag_format: '{id}-v{version}'
1471+
- id: google-cloud-dns
1472+
version: 0.36.0
1473+
last_generated_commit: ""
1474+
apis: []
1475+
source_roots:
1476+
- packages/google-cloud-dns
1477+
preserve_regex: []
1478+
remove_regex: []
1479+
tag_format: '{id}-v{version}'
14711480
- id: google-cloud-documentai
14721481
version: 3.10.0
14731482
last_generated_commit: 9eea40c74d97622bb0aa406dd313409a376cc73b
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2024 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# Generated by synthtool. DO NOT EDIT!
18+
[run]
19+
branch = True
20+
omit =
21+
google/__init__.py
22+
google/cloud/__init__.py
23+
24+
[report]
25+
fail_under = 100
26+
show_missing = True
27+
exclude_lines =
28+
# Re-enable the standard pragma
29+
pragma: NO COVER
30+
# Ignore debug-only repr
31+
def __repr__
32+
# Ignore abstract methods
33+
raise NotImplementedError
34+
omit =
35+
*/gapic/*.py
36+
*/proto/*.py
37+
*/core/*.py
38+
*/site-packages/*.py
39+
google/cloud/__init__.py

packages/google-cloud-dns/.flake8

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2024 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# Generated by synthtool. DO NOT EDIT!
18+
[flake8]
19+
ignore = E203, E231, E266, E501, W503
20+
exclude =
21+
# Exclude generated code.
22+
**/proto/**
23+
**/gapic/**
24+
**/services/**
25+
**/types/**
26+
*_pb2.py
27+
28+
# Standard linting exemptions.
29+
**/.nox/**
30+
__pycache__,
31+
.git,
32+
*.pyc,
33+
conf.py
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "dns",
3+
"name_pretty": "Cloud DNS",
4+
"product_documentation": "https://cloud.google.com/dns",
5+
"client_documentation": "https://cloud.google.com/python/docs/reference/dns/latest",
6+
"issue_tracker": "https://issuetracker.google.com/savedsearches/559772",
7+
"release_level": "preview",
8+
"language": "python",
9+
"library_type": "REST",
10+
"repo": "googleapis/google-cloud-python",
11+
"distribution_name": "google-cloud-dns",
12+
"requires_billing": true,
13+
"default_version": "",
14+
"codeowner_team": "",
15+
"api_shortname": "dns",
16+
"api_description": "provides methods that you can use to manage DNS for your applications."
17+
}
Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
# Changelog
2+
3+
[PyPI History][1]
4+
5+
[1]: https://pypi.org/project/google-cloud-dns/#history
6+
7+
## [0.36.0](https://github.com/googleapis/python-dns/compare/v0.35.1...v0.36.0) (2025-11-05)
8+
9+
10+
### Features
11+
12+
* Add support for Python 3.14 ([#321](https://github.com/googleapis/python-dns/issues/321)) ([99c0adb](https://github.com/googleapis/python-dns/commit/99c0adbab00cf1c701e1d3679fb4d08bbec910a0))
13+
* Adds Python 3.13 support ([#319](https://github.com/googleapis/python-dns/issues/319)) ([ea851ce](https://github.com/googleapis/python-dns/commit/ea851ce2dc3de20077cc52438e87d7202b383efd))
14+
15+
## [0.35.1](https://github.com/googleapis/python-dns/compare/v0.35.0...v0.35.1) (2025-04-25)
16+
17+
18+
### Bug Fixes
19+
20+
* Remove setup.cfg configuration for creating universal wheels ([#316](https://github.com/googleapis/python-dns/issues/316)) ([942de3a](https://github.com/googleapis/python-dns/commit/942de3a839386c75a9333cbb09c7020704ac253c))
21+
* Resolve issues where pre-release versions of dependencies are installed ([#313](https://github.com/googleapis/python-dns/issues/313)) ([5e1a6bc](https://github.com/googleapis/python-dns/commit/5e1a6bc3fa73027d9b59fe40a34e24d79415e0dd))
22+
23+
## [0.35.0](https://github.com/googleapis/python-dns/compare/v0.34.2...v0.35.0) (2023-11-30)
24+
25+
26+
### Features
27+
28+
* Add support for Python 3.12 ([#233](https://github.com/googleapis/python-dns/issues/233)) ([2e60d57](https://github.com/googleapis/python-dns/commit/2e60d57f5fa58f4bbf86fe9a698a773d3ebc415f))
29+
* Introduce compatibility with native namespace packages ([#232](https://github.com/googleapis/python-dns/issues/232)) ([8e9f0be](https://github.com/googleapis/python-dns/commit/8e9f0bef3ad042ba93d46a9ff0f5a7a0fd1ced16))
30+
31+
## [0.34.2](https://github.com/googleapis/python-dns/compare/v0.34.1...v0.34.2) (2023-11-09)
32+
33+
34+
### Bug Fixes
35+
36+
* **deps:** Remove dependency on package "six" ([#226](https://github.com/googleapis/python-dns/issues/226)) ([77a6545](https://github.com/googleapis/python-dns/commit/77a6545a80916ac6aa1c8f306ba03fb64be44dc1))
37+
38+
## [0.34.1](https://github.com/googleapis/python-dns/compare/v0.34.0...v0.34.1) (2022-07-14)
39+
40+
41+
### Bug Fixes
42+
43+
* require python 3.7+ ([#163](https://github.com/googleapis/python-dns/issues/163)) ([6882da5](https://github.com/googleapis/python-dns/commit/6882da56f7ef44b2ccd337ac4d48bd8093cb146e))
44+
45+
## [0.34.0](https://www.github.com/googleapis/python-dns/compare/v0.33.1...v0.34.0) (2021-10-08)
46+
47+
48+
### Features
49+
50+
* add support for Python 3.10 ([#121](https://www.github.com/googleapis/python-dns/issues/121)) ([af8be30](https://www.github.com/googleapis/python-dns/commit/af8be306e5c8512602e739471c016d84b4b46759))
51+
52+
### [0.33.1](https://www.github.com/googleapis/python-dns/compare/v0.33.0...v0.33.1) (2021-09-20)
53+
54+
55+
### Bug Fixes
56+
57+
* remove six ([#115](https://www.github.com/googleapis/python-dns/issues/115)) ([95f94ef](https://www.github.com/googleapis/python-dns/commit/95f94ef4d75273deae56dc8ecfcc708e2be84d03))
58+
59+
## [0.33.0](https://www.github.com/googleapis/python-dns/compare/v0.32.3...v0.33.0) (2021-07-23)
60+
61+
62+
### Features
63+
64+
* require python 3.6 ([#61](https://www.github.com/googleapis/python-dns/issues/61)) ([56ab29f](https://www.github.com/googleapis/python-dns/commit/56ab29f35e0fda4f290f7cf2697466928080bd2f))
65+
66+
### [0.32.3](https://www.github.com/googleapis/python-dns/compare/v0.32.2...v0.32.3) (2021-05-27)
67+
68+
69+
### Bug Fixes
70+
71+
* require google-cloud-core >= 1.3.0 ([#38](https://www.github.com/googleapis/python-dns/issues/38)) ([3ba0456](https://www.github.com/googleapis/python-dns/commit/3ba0456e6df34845c8d601d6d359eed98bfc17cf))
72+
73+
### [0.32.2](https://www.github.com/googleapis/python-dns/compare/v0.32.1...v0.32.2) (2021-02-11)
74+
75+
76+
### Documentation
77+
78+
* **python:** update intersphinx for grpc and auth ([#30](https://www.github.com/googleapis/python-dns/issues/30)) ([142d2e7](https://www.github.com/googleapis/python-dns/commit/142d2e777ccaf857d5455c4640f6d0502fad89e0))
79+
80+
### [0.32.1](https://www.github.com/googleapis/python-dns/compare/v0.32.0...v0.32.1) (2020-10-12)
81+
82+
83+
### Bug Fixes
84+
85+
* fix client.quotas() method ([#24](https://www.github.com/googleapis/python-dns/issues/24)) ([9d97955](https://www.github.com/googleapis/python-dns/commit/9d979552512c633366e5ff34d155b5550ec7f6f3))
86+
87+
88+
### Documentation
89+
90+
* remove samples in library docs ([#17](https://www.github.com/googleapis/python-dns/issues/17)) ([51d4d10](https://www.github.com/googleapis/python-dns/commit/51d4d10884d3e13bb9051114537a1a6eddab0086))
91+
* update README.rst ([#25](https://www.github.com/googleapis/python-dns/issues/25)) ([3e511cb](https://www.github.com/googleapis/python-dns/commit/3e511cb0b4c6496d310365aeb326cf720a8d5609))
92+
93+
## [0.32.0](https://www.github.com/googleapis/python-dns/compare/v0.31.0...v0.32.0) (2020-02-11)
94+
95+
96+
### Features
97+
98+
* **dns:** add 'client_options' argument to client ctor ([#9516](https://www.github.com/googleapis/python-dns/issues/9516)) ([ab31add](https://www.github.com/googleapis/python-dns/commit/ab31add5be9c49d441e0b5cdf48c5fb3cfc6fc19)), closes [#8475](https://www.github.com/googleapis/python-dns/issues/8475)
99+
100+
101+
### Bug Fixes
102+
103+
* **dns:** update test assertion and core version pins ([#10096](https://www.github.com/googleapis/python-dns/issues/10096)) ([b6e7b49](https://www.github.com/googleapis/python-dns/commit/b6e7b49d1a5d30362eddec48b7e5f800c26bc59c))
104+
105+
## 0.31.0
106+
107+
10-15-2019 06:42 PDT
108+
109+
110+
### Dependencies
111+
- Pin 'google-cloud-core >= 1.0.3, < 2.0.0dev'. ([#9445](https://github.com/googleapis/google-cloud-python/pull/9445))
112+
113+
### Documentation
114+
- Fix intersphinx reference to `requests`. ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
115+
- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
116+
- Remove CI for gh-pages, use googleapis.dev for `api_core` refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
117+
- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
118+
- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
119+
- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
120+
121+
## 0.30.2
122+
123+
07-11-2019 10:09 PDT
124+
125+
### Implementation Changes
126+
- Change base url to dns.googleapis.com ([#8641](https://github.com/googleapis/google-cloud-python/pull/8641))
127+
128+
### Internal / Testing Changes
129+
- Add nox session 'docs' to remaining manual clients. ([#8478](https://github.com/googleapis/google-cloud-python/pull/8478))
130+
- Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
131+
132+
## 0.30.1
133+
134+
06-04-2019 11:13 PDT
135+
136+
137+
### Dependencies
138+
- Don't pin 'google-api-core' in libs using 'google-cloud-core'. ([#8213](https://github.com/googleapis/google-cloud-python/pull/8213))
139+
140+
## 0.30.0
141+
142+
05-16-2019 12:23 PDT
143+
144+
145+
### Implementation Changes
146+
- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
147+
148+
### New Features
149+
- Add `client_info` support to client / connection. ([#7869](https://github.com/googleapis/google-cloud-python/pull/7869))
150+
151+
### Dependencies
152+
- Pin `google-cloud-core >= 1.0.0, < 2.0dev`. ([#7993](https://github.com/googleapis/google-cloud-python/pull/7993))
153+
154+
### Documentation
155+
- Update client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
156+
157+
## 0.29.2
158+
159+
12-17-2018 16:47 PST
160+
161+
162+
### Implementation Changes
163+
- Ensure that `ManagedZone:exists()` does not misreport `True` result. ([#6884](https://github.com/googleapis/google-cloud-python/pull/6884))
164+
165+
### Documentation
166+
- Document Python 2 deprecation ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
167+
- Docs/fixit: normalize docs for `page_size` / `max_results` / `page_token` ([#6842](https://github.com/googleapis/google-cloud-python/pull/6842))
168+
169+
## 0.29.1
170+
171+
12-10-2018 12:50 PST
172+
173+
174+
### Dependencies
175+
- Update dependency to google-cloud-core ([#6835](https://github.com/googleapis/google-cloud-python/pull/6835))
176+
- Bump minimum `api_core` version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
177+
178+
### Documentation
179+
- Fix 'Datastore' in text as well as examples / links
180+
181+
### Internal / Testing Changes
182+
- Add blacken to noxfile ([#6795](https://github.com/googleapis/google-cloud-python/pull/6795))
183+
- Blackening Continued... ([#6667](https://github.com/googleapis/google-cloud-python/pull/6667))
184+
- Add templates for flake8, coveragerc, noxfile, and black. ([#6642](https://github.com/googleapis/google-cloud-python/pull/6642))
185+
- Docs: normalize use of support level badges ([#6159](https://github.com/googleapis/google-cloud-python/pull/6159))
186+
- Add / fix badges for PyPI / versions. ([#6158](https://github.com/googleapis/google-cloud-python/pull/6158))
187+
- Fix copy-pasta from datastore README. ([#6208](https://github.com/googleapis/google-cloud-python/pull/6208))
188+
- Use new Nox ([#6175](https://github.com/googleapis/google-cloud-python/pull/6175))
189+
- Prep dns docs for repo split. ([#6020](https://github.com/googleapis/google-cloud-python/pull/6020))
190+
- Nox: use inplace installs ([#5865](https://github.com/googleapis/google-cloud-python/pull/5865))
191+
- Add Test runs for Python 3.7 and remove 3.4 ([#5295](https://github.com/googleapis/google-cloud-python/pull/5295))
192+
- Fix bad trove classifier
193+
194+
## 0.29.0
195+
196+
### Implementation changes
197+
198+
- Renaming `makeResource` -> `make_resource`. (#4355)
199+
200+
### Dependencies
201+
202+
- Update dependency range for api-core to include v1.0.0 releases (#4944)
203+
204+
### Documentation
205+
206+
- Fixing "Fore" -> "For" typo in README docs. (#4317)
207+
208+
### Testing and internal changes
209+
210+
- Install local dependencies when running lint (#4936)
211+
- Re-enable lint for tests, remove usage of pylint (#4921)
212+
- Normalize all setup.py files (#4909)
213+
- Making a `nox -s default` session for all packages. (#4324)
214+
- Shorten test names (#4321)
215+
216+
## 0.28.0
217+
218+
### Documentation
219+
220+
- Added link to "Python Development Environment Setup Guide" in
221+
project README (#4187, h/t to @michaelawyu)
222+
223+
### Dependencies
224+
225+
- Upgrading to `google-cloud-core >= 0.28.0` and adding dependency
226+
on `google-api-core` (#4221, #4280)
227+
228+
PyPI: https://pypi.org/project/google-cloud-dns/0.28.0/

0 commit comments

Comments
 (0)