Commit 7d6d66a
authored
feat: Move release note generation to a sub module (#3299)
In this PR:
- Separate projects to three modules: common, library_generation and
release_note_generation
- Add `generate_release_note.py` to separate PR description generation
from `entrypoint.py`.
- Only install common and library_generation module in image.
- Remove PR description comparison in integration test.
Example generation workflow in downstream library:
https://github.com/googleapis/java-bigtable/actions/runs/11442581326/job/31833887512
Note that `release_note_generation` module still depends on
`library_generation` module because we didn't separate config change
functions into `common` module. This will be in a follow up PR.1 parent d5e74d9 commit 7d6d66a
File tree
251 files changed
+961
-824
lines changed- .cloudbuild/library_generation
- .github
- scripts
- workflows
- hermetic_build
- common
- model
- tests
- model
- resources
- misc
- test-config
- library_generation
- cli
- model
- owlbot
- bin
- src
- poms
- synthtool
- gcp
- languages
- sources
- templates
- clirr
- java_library
- .github
- ISSUE_TEMPLATE
- scripts
- workflows
- .kokoro
- samples
- install-without-bom
- snapshot
- snippets
- poms
- templates
- tests
- cli
- model
- owlbot
- resources
- gapic_options
- goldens
- integration
- google-cloud-java
- java-bigtable
- misc
- proto_path_library_multiple_protos
- proto-1
- proto-2
- proto_path_library/proto-test-library/src/main/proto/google/cloud/test/v1
- test-config
- test-owlbot
- fixtures/java_templates
- release-please-update
- .github
- render-readme
- standard
- java-admanager
- ad-manager-bom
- ad-manager
- proto-ad-manager-v1
- testdata
- src/foo
- test_monorepo_postprocessing
- gapic-libraries-bom
- java-dns
- java-service-control/google-cloud-service-control-bom
- java-tasks/google-cloud-tasks-bom
- test_mv_src
- gapic/destination/java_gapic_srcjar/src
- main/java
- test/java
- proto/destination/java_gapic_srcjar/proto/src/main/java
- samples
- destination_com/java_gapic_srcjar/samples/snippets/generated/src/main/java/com
- destination_io/java_gapic_srcjar/samples/snippets/generated/src/main/java/io
- utils
- utils
- release_note_generation
- cli
- tests
- cli
- resources
- goldens
- test_generate_release_note
- library_generation
- test/resources
- test-config
- test-monorepo
- .github
- test-service
- showcase/scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
251 files changed
+961
-824
lines changedLines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
77 | | - | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
44 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
45 | 67 | | |
46 | 68 | | |
47 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
114 | | - | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
70 | 59 | | |
71 | 60 | | |
72 | 61 | | |
73 | 62 | | |
74 | | - | |
| 63 | + | |
75 | 64 | | |
76 | 65 | | |
77 | 66 | | |
| |||
80 | 69 | | |
81 | 70 | | |
82 | 71 | | |
83 | | - | |
84 | | - | |
| 72 | + | |
| 73 | + | |
85 | 74 | | |
86 | 75 | | |
87 | 76 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
92 | 84 | | |
93 | 85 | | |
94 | 86 | | |
95 | | - | |
| 87 | + | |
96 | 88 | | |
97 | 89 | | |
98 | 90 | | |
99 | | - | |
| 91 | + | |
100 | 92 | | |
101 | 93 | | |
102 | 94 | | |
| |||
106 | 98 | | |
107 | 99 | | |
108 | 100 | | |
109 | | - | |
| 101 | + | |
110 | 102 | | |
111 | 103 | | |
112 | 104 | | |
| |||
115 | 107 | | |
116 | 108 | | |
117 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
118 | 113 | | |
119 | 114 | | |
120 | 115 | | |
121 | 116 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
130 | | - | |
| 129 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments