Skip to content

Commit 1e7f646

Browse files
authored
Merge branch 'main' into renovate/org.apache.maven.plugins-maven-project-info-reports-plugin-3.x
2 parents 614b073 + 4fc3e3a commit 1e7f646

File tree

11 files changed

+32
-62
lines changed

11 files changed

+32
-62
lines changed

.github/release-please.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ branches:
2626
handleGHRelease: true
2727
releaseType: java-backport
2828
branch: 1.44.x
29+
- bumpMinorPreMajor: true
30+
handleGHRelease: true
31+
releaseType: java-backport
32+
branch: 1.46.x

.github/sync-repo-settings.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,20 @@ branchProtectionRules:
9898
- dependencies (11)
9999
- clirr
100100
- cla/google
101+
- pattern: 1.46.x
102+
isAdminEnforced: true
103+
requiredApprovingReviewCount: 1
104+
requiresCodeOwnerReviews: true
105+
requiresStrictStatusChecks: false
106+
requiredStatusCheckContexts:
107+
- units (7)
108+
- units (8)
109+
- units (11)
110+
- windows
111+
- dependencies (8)
112+
- dependencies (11)
113+
- clirr
114+
- cla/google
101115
permissionRules:
102116
- team: yoshi-admins
103117
permission: admin

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ jobs:
6767

6868
# Upload the results to GitHub's code scanning dashboard.
6969
- name: "Upload to code-scanning"
70-
uses: github/codeql-action/upload-sarif@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
70+
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
7171
with:
7272
sarif_file: results.sarif

.kokoro/build.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,6 @@ integration)
7070
RETURN_CODE=$?
7171
;;
7272
graalvm)
73-
# Run Unit and Integration Tests with Native Image
74-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
75-
RETURN_CODE=$?
76-
;;
77-
graalvm17)
78-
# Run Unit and Integration Tests with Native Image
79-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
80-
RETURN_CODE=$?
81-
;;
82-
graalvmA)
83-
# Run Unit and Integration Tests with Native Image
84-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative,native-tests,native-deps test -pl '!google-http-client-appengine'
85-
RETURN_CODE=$?
86-
;;
87-
graalvmB)
8873
# Run Unit and Integration Tests with Native Image
8974
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative,native-tests,native-deps test -pl '!google-http-client-appengine'
9075
RETURN_CODE=$?

.kokoro/presubmit/graalvm-native-17.cfg

Lines changed: 0 additions & 33 deletions
This file was deleted.

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build_file: "google-http-java-client/.kokoro/build.sh"
44

55
env_vars: {
66
key: "JOB_TYPE"
7-
value: "graalvmA"
7+
value: "graalvm"
88
}
99

1010
# TODO: remove this after we've migrated all tests and scripts
@@ -29,5 +29,5 @@ env_vars: {
2929
}
3030

3131
container_properties {
32-
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.14.0"
32+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.15.4"
3333
}

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build_file: "google-http-java-client/.kokoro/build.sh"
44

55
env_vars: {
66
key: "JOB_TYPE"
7-
value: "graalvmB"
7+
value: "graalvm"
88
}
99

1010
# TODO: remove this after we've migrated all tests and scripts
@@ -29,5 +29,5 @@ env_vars: {
2929
}
3030

3131
container_properties {
32-
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_b:1.14.0"
32+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_b:1.15.4"
3333
}

.kokoro/presubmit/graalvm-native.cfg renamed to .kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3-
# Configure the docker image for kokoro-trampoline.
4-
env_vars: {
5-
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.3"
7-
}
3+
build_file: "google-http-java-client/.kokoro/build.sh"
84

95
env_vars: {
106
key: "JOB_TYPE"
@@ -31,3 +27,7 @@ env_vars: {
3127
key: "SECRET_MANAGER_KEYS"
3228
value: "java-it-service-account"
3329
}
30+
31+
container_properties {
32+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_c:1.15.4"
33+
}

google-http-client/src/main/java/com/google/api/client/util/escape/PercentEscaper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class PercentEscaper extends UnicodeEscaper {
6161
* specified in RFC 3986. Note that some of these characters do need to be escaped when used in
6262
* other parts of the URI.
6363
*/
64-
public static final String SAFEPATHCHARS_URLENCODER = "-_.!~*'()@:$&,;=+";
64+
public static final String SAFEPATHCHARS_URLENCODER = "-_.!~*'()@:$&,;=";
6565

6666
/**
6767
* A string of characters that do not need to be encoded when used in URI Templates reserved
@@ -72,7 +72,7 @@ public class PercentEscaper extends UnicodeEscaper {
7272
* href="https://www.rfc-editor.org/rfc/rfc6570#section-3.2.3">RFC 6570 - section 3.2.3</a>.
7373
*/
7474
public static final String SAFE_PLUS_RESERVED_CHARS_URLENCODER =
75-
SAFEPATHCHARS_URLENCODER + "/?#[]";
75+
SAFEPATHCHARS_URLENCODER + "+/?#[]";
7676

7777
/**
7878
* A string of characters that do not need to be encoded when used in URI user info part, as

google-http-client/src/test/java/com/google/api/client/http/UrlEncodedContentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void testWriteTo() throws IOException {
6262
subtestWriteTo(
6363
"multi=a&multi=b&multi=c", ArrayMap.of("multi", new String[] {"a", "b", "c"}), true);
6464
subtestWriteTo("username=un&password=password123;%7B%7D", params, true);
65-
subtestWriteTo("additionkey=add+tion", ArrayMap.of("additionkey", "add+tion"), true);
65+
subtestWriteTo("additionkey=add%2Btion", ArrayMap.of("additionkey", "add+tion"), true);
6666
}
6767

6868
private void subtestWriteTo(String expected, Object data, boolean useEscapeUriPathEncoding)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<parent>
9494
<groupId>com.google.cloud</groupId>
9595
<artifactId>native-image-shared-config</artifactId>
96-
<version>1.14.4</version>
96+
<version>1.15.4</version>
9797
</parent>
9898

9999
<!--

0 commit comments

Comments
 (0)