Home
last modified time | relevance | path

Searched +full:owlbot +full:- +full:java +full:- +full:monorepo (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/google-cloud-java/generation/
H A Dmerge_repository.sh3 # Merging repository to google-cloud-java using git-filter-repo.
4 # https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories
7 # cd google-cloud-java
15 # cd generation/monorepo/google-cloud-java-merged
16 # git checkout -b merge_repositories
17 # gh pr create --title 'chore: merge new repository into google-cloud-java' --body ''
19 set -xe
21 [ -z "`git config user.email`" ] && git config --global user.email "${USERNAME:-script}@google.com"
22 [ -z "`git config user.name`" ] && git config --global user.name "${USERNAME:-script}"
26 rm -rf monorepo
[all …]
H A Dset_owlbot_config.sh3 # Adds module directory name into the paths in a OwlBot configuration file so
4 # that the paths correctly reference the files under the modules in this monorepo.
7 # set_owlbot_config.sh <.OwlBot.yaml path from the root>
9 # $ set_owlbot_config.sh java-dataform/.OwlBot.yaml
11 # To apply the change to all OwlBot configuration files in all modules:
12 # $ for F in `find . -maxdepth 2 -name '.OwlBot.yaml'`; do sh generation/set_owlbot_config.sh $F; d…
14 for F in `find . -maxdepth 2 -name '.OwlBot.yaml'`;
19 if [ -z "${OWLBOT_FILE}" ]; then
24 if [ ! -r "${OWLBOT_FILE}" ]; then
32 if [ ! -d "${module_name}" ]; then
[all …]
H A Dupdate_owlbot_postprocessor_config.sh4 # Removes and excludes all OwlBot Post-Processor templates (https://github.com/googleapis/synthtool…
7 set -e
9 for dir in $(find . -mindepth 2 -maxdepth 2 -name owlbot.py | sort | xargs dirname ); do
12 # form a perl command to replace java.common_templates() invocation
13 perl_command='s/java\.common_templates\(.*\)/java.common_templates(monorepo=True, excludes=['
15 … 'CODE_OF_CONDUCT.md' 'CONTRIBUTING.md' 'LICENSE' 'SECURITY.md' 'java.header' 'license-checks.xml'…
20 if [[ ${exclusion: -2} == '/*' && ${exclusion%??} != 'samples' ]]; then
21 rm -rf "${exclusion%??}" || true
27 # execute the replacement in owlbot.py
28 perl -i -0pe "$perl_command" 'owlbot.py'
/aosp_15_r20/external/google-cloud-java/owl-bot-postprocessor/
H A DREADME.md3 This container runs when Owl Bot Postprocessor runs on this google-cloud-java
4 monorepo. The Cloud Build in the repo-automation-bots GCP project publishes
5 `gcr.io/cloud-devrel-public-resources/owlbot-java-monorepo` image.
7 Note that the split repositories (such as [googleapis/java-bigquery](
8 https://github.com/googleapis/java-bigquery)) continue to use the
9 `gcr.io/cloud-devrel-public-resources/owlbot-java` image, maintained in
11 https://github.com/googleapis/synthtool/tree/master/docker/owlbot/java)
14 This separation allows us to focus on monorepo-specific postprocessor logic in
15 this `owlbot-java-monorepo` image, without interfering the split repositories.
38 ~/google-cloud-java$ docker build -f owl-bot-postprocessor/Dockerfile owl-bot-postprocessor
H A Dcloudbuild.yaml3 - name: 'gcr.io/cloud-builders/git'
6 - '-c'
7- 'git log -1 --format="%s%n%n%b%nSource-Link: https://github.com/googleapis/google-cloud-java/com…
9 - name: 'gcr.io/cloud-builders/docker'
11 '-t', 'gcr.io/cloud-devrel-public-resources/owlbot-java-monorepo:$SHORT_SHA',
12 '-t', 'gcr.io/cloud-devrel-public-resources/owlbot-java-monorepo:latest',
13 '-f', 'owl-bot-postprocessor/Dockerfile', 'owl-bot-postprocessor' ]
16 - gcr.io/cloud-devrel-public-resources/owlbot-java-monorepo:$SHORT_SHA
17 - gcr.io/cloud-devrel-public-resources/owlbot-java-monorepo:latest
/aosp_15_r20/external/google-cloud-java/.kokoro/
H A Dcreate_commits_from_googleapis_commits.sh5 # to google-cloud-java monorepo.
6 # The 2nd commit is the commit you want to apply to google-cloud-java
7 # monorepo (usually "origin/master").
8 # This script creates Git commits to this google-cloud-java monorepo that
12 # export GOOGLE_CLOUD_JAVA_DIR=$HOME/google-cloud-java-subject
16 set -ef
21 if [ -z "$end_commit" ]; then
26 if [ -z "$GOOGLEAPIS_DIR" ]; then
30 if [ -z "$GOOGLE_CLOUD_JAVA_DIR" ]; then
33 echo "github.com/googleapis/google-cloud-java"
[all …]
/aosp_15_r20/external/google-cloud-java/generation/new_client/
H A Dnew-client.py7 # https://www.apache.org/licenses/LICENSE-2.0
34 "--api_shortname",
41 "--name-pretty",
45 help="The human-friendly name that appears in README.md"
48 "--product-docs",
55 "--api-description",
63 "--release-level",
67 help="A label that appears in repo-metadata.json. The first library "
71 "--transport",
75 help="A label that appears in repo-metadata.json"
[all …]
H A DREADME.md4 google-cloud-java monorepo.
22 Ensure google-cloud-java repository does not have [a pull request with "autorelease: snapshot" labe…
23 https://github.com/googleapis/google-cloud-java/pulls?q=is%3Apr+is%3Aopen+label%3A%22autorelease%3A…
26 This is a pull request to append "-SNAPSHOT" to versions in pom.xml files in the
30 a "-SNAPSHOT" version. To have consistency with other modules, ensure the pom.xml files in
31 the repository has "-SNAPSHOT" versions too.
34 ### Checkout google-cloud-java repository
37 $ git clone https://github.com/googleapis/google-cloud-java
47 curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer \
55 command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
[all …]
/aosp_15_r20/external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/
H A Djava.py7 # https://www.apache.org/licenses/LICENSE-2.0
29 …tps://github.com/google/google-java-format/releases/download/google-java-format-{version}/google-j…
38 * https://www.apache.org/licenses/LICENSE-2.0
54 \\* http://www.apache.org/licenses/LICENSE-2.0
67 ) -> None:
69 Runs the google-java-format jar against all .java files found within the
72 jar_name = f"google-java-format-{version}.jar"
77 # Find all .java files in path and run the formatter on them
78 files = list(glob.iglob(os.path.join(path, "**/*.java"), recursive=True))
81 logger.info("Running java formatter on {} files".format(len(files)))
[all …]