Skip to content

Commit c9569cc

Browse files
authored
chore: migrate root module to Librarian (#13025)
1 parent 0d0d6a3 commit c9569cc

5 files changed

Lines changed: 66 additions & 6 deletions

File tree

.librarian/config.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Hand-maintained configuration for libraries.
2-
#
2+
3+
# The "global" file here is really only for the root module.
4+
# We don't want to add a source path of "." to the state file,
5+
# as that would include everything that's *not* in the module
6+
# as well. The root module includes a source path of "internal"
7+
# despite several subdirectories being tools which don't need
8+
# to be releasesd as such; those are listed as released exclusion
9+
# paths in state.yaml.
10+
global_files_allowlist:
11+
- path: "CHANGES.md"
12+
permissions: "read-write"
13+
314
# All libraries with handwritten code (core, hybrid and handwritten)
415
# libraries have "release_blocked: true" so that releases are
516
# explicitly initiated
@@ -18,3 +29,5 @@ libraries:
1829
release_blocked: true
1930
- id: "pubsublite"
2031
release_blocked: true
32+
- id: "root-module"
33+
release_blocked: true

.librarian/state.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3961,6 +3961,37 @@ libraries:
39613961
release_exclude_paths:
39623962
- internal/generated/snippets/retail/
39633963
tag_format: '{id}/v{version}'
3964+
- id: root-module
3965+
version: 0.123.0
3966+
last_generated_commit: 3990e05b25dcaf7ba8d6baa4255d9b012a3a6a4f
3967+
apis: []
3968+
source_roots:
3969+
- civil
3970+
- httpreplay
3971+
- internal
3972+
- rpcreplay
3973+
preserve_regex: []
3974+
remove_regex: []
3975+
release_exclude_paths:
3976+
- internal/actions
3977+
- internal/aliasfix
3978+
- internal/aliasgen
3979+
- internal/carver
3980+
- internal/examples
3981+
- internal/gapicgen
3982+
- internal/generated
3983+
- internal/godocfx
3984+
- internal/kokoro
3985+
- internal/leakcheck
3986+
- internal/librariangen
3987+
- internal/postprocessor
3988+
- internal/pretty
3989+
- internal/protoveneer
3990+
- internal/stategen
3991+
- internal/testutil
3992+
- internal/tracecontext
3993+
- internal/version
3994+
tag_format: 'v{version}'
39643995
- id: run
39653996
version: 1.12.1
39663997
last_generated_commit: a32b926f35bf473f7ba31383e5247175beccd576

.release-please-manifest.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
{
2-
".": "0.123.0"
3-
}
2+
}

internal/version.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release-please-config.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"separate-pull-requests": true,
44
"include-component-in-tag": false,
55
"packages": {
6-
".": {
7-
"component": "main"
8-
}
96
},
107
"plugins": ["sentence-case"]
118
}

0 commit comments

Comments
 (0)