xref: /aosp_15_r20/external/google-cloud-java/generation/README.md (revision 55e87721aa1bc457b326496a7ca40f3ea1a63287)
1# Generation
2
3## Using scripts independently
4
5Most of the scripts in this directory can be used independently to do file updates across all modules.
6They are also used and tested by `merge_repository.sh`.
7
8## Merge repository into the monorepo
9
10Built by running [merge_repository.sh](merge_repository.sh).
11
12The script creates a new Git repository in `monorepo/google-cloud-java` by merging
13the repositories in the input.
14After running the script locally, you can `cd` into the generated repository and build the project.
15
16```shell
17cd monorepo/google-cloud-java
18mvn test -T C1 -B
19```
20
21### Input
22
23The file `repos.txt` lists all the split repos to include in the aggregation into the monorepo.
24
25### Output
26
27See: [bootstrap_output](https://github.com/googleapis/google-cloud-java/tree/bootstrap_output) branch.
28
29### Diffs
30
31The workflow also generates a diff between the current `main` branch and the generated aggregation of modules from split repos.
32See: `boostrap_outout_diff_{event}` branches.
33