Skip to content

Commit 0089b36

Browse files
authored
Merge Changes from pgjdbc (#5)
Merge changes from PgJDBC's latest commit pgjdbc/pgjdbc@c12a76f
1 parent 67f9c18 commit 0089b36

File tree

349 files changed

+23656
-2114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

349 files changed

+23656
-2114
lines changed

.editorconfig

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
root = true
2+
3+
[*]
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true
6+
charset = utf-8
7+
indent_style = space
8+
9+
[{*.sh,gradlew}]
10+
end_of_line = lf
11+
12+
[{*.bat,*.cmd}]
13+
end_of_line = crlf
14+
15+
[*.md]
16+
# Trailing whitespace is important in Markdown (they distinguish a new line from a new paragraph)
17+
trim_trailing_whitespace = false
18+
19+
[{*.kts,*.kt}]
20+
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
21+
ij_kotlin_name_count_to_use_star_import = 99
22+
ij_kotlin_name_count_to_use_star_import_for_members = 99
23+
ij_java_use_single_class_imports = true
24+
max_line_length = 100
25+
ij_any_wrap_long_lines = true
26+
27+
[*.java]
28+
# Doc: https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0
29+
# $ means "static"
30+
ij_java_imports_layout = $*,|,org.postgresql.**,|,*,|,java.**,|,javax.**
31+
indent_size = 2
32+
tab_width = 2
33+
max_line_length = 100
34+
ij_any_spaces_around_additive_operators = true
35+
ij_any_spaces_around_assignment_operators = true
36+
ij_any_spaces_around_bitwise_operators = true
37+
ij_any_spaces_around_equality_operators = true
38+
ij_any_spaces_around_lambda_arrow = true
39+
ij_any_spaces_around_logical_operators = true
40+
ij_any_spaces_around_multiplicative_operators = true
41+
ij_any_spaces_around_relational_operators = true
42+
ij_any_spaces_around_shift_operators = true
43+
ij_continuation_indent_size = 4
44+
ij_java_align_multiline_parameters = false
45+
ij_java_if_brace_force = always
46+
ij_java_indent_case_from_switch = false
47+
ij_java_line_comment_add_space = true
48+
ij_java_space_after_colon = true
49+
ij_java_space_before_colon = true
50+
ij_java_ternary_operation_signs_on_next_line = true
51+
ij_java_use_single_class_imports = true
52+
ij_java_wrap_long_lines = true

.gitattributes

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
* text=auto
2+
*.java text
3+
*.md text
4+
*.sql text
5+
*.sh text eol=lf
6+
*.xml text
7+
*.yaml text
8+
*.yml text
9+
*.bat text eol=crlf
10+
/CHANGELOG.md merge=union
11+
/contributors.json merge=union

.github/workflows/buildcache.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- 'docs/**'
9+
- '**/*.md'
10+
- 'appveyor.xml'
711

812
jobs:
913
ubuntu-code-style:

.github/workflows/debezium.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test Debezium
2+
3+
# only on push or allow us to do this manually using workflow dispatch
4+
on: [workflow_dispatch]
5+
6+
jobs:
7+
snapshot:
8+
name: Debezium
9+
runs-on: ubuntu-20.04
10+
#only for master
11+
if: ${{ github.ref == 'refs/heads/master' }}
12+
env:
13+
ACTIONS_STEP_DEBUG: true
14+
ACTIONS_RUNNER_DEBUG: true
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 50
19+
- name: 'Set up JDK 11'
20+
uses: actions/setup-java@v2
21+
with:
22+
distribution: zulu
23+
java-version: 11
24+
- uses: burrunan/gradle-cache-action@v1
25+
name: Publish Snapshot
26+
env:
27+
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
28+
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
29+
with:
30+
job-id: jdk8
31+
arguments: postgresql:publishToMavenLocal -Ppgjdbc.version=1.0.0-dev-master -PskipJavadoc
32+
- name: clone debezium and run tests
33+
run: |
34+
git clone --depth 1 https://github.com/debezium/debezium.git
35+
cd debezium
36+
mvn clean verify -pl :debezium-connector-postgres -am -Dversion.postgres.server=14 -Dversion.postgresql.driver=1.0.0-dev-master-SNAPSHOT

0 commit comments

Comments
 (0)