Skip to content

Commit 720c566

Browse files
authored
Merge branch 'main' into ExpireSnapshots
2 parents 1916f3a + 428a171 commit 720c566

File tree

135 files changed

+10544
-2115
lines changed

Some content is hidden

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

135 files changed

+10544
-2115
lines changed

.asf.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ github:
3737
required_approving_review_count: 1
3838

3939
required_linear_history: true
40+
pull_requests:
41+
# auto-delete head branches after being merged
42+
del_branch_on_merge: true
4043
features:
4144
wiki: true
4245
issues: true

.clang-tidy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ CheckOptions:
3838
value: '_'
3939
- key: readability-identifier-naming.ProtectedMemberSuffix
4040
value: '_'
41+
- key: modernize-use-scoped-lock.WarnOnSingleLocks
42+
value: 'false'
4143

4244
HeaderFilterRegex: 'src/iceberg|example'

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
pull-requests: write
3535
steps:
3636
- name: Checkout iceberg-cpp
37-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
37+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3838
- name: Install dependencies
3939
shell: bash
4040
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-24.04
2121

2222
steps:
23-
- uses: actions/checkout@v6.0.0
23+
- uses: actions/checkout@v6.0.1
2424
with:
2525
fetch-depth: 1
2626

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-24.04
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
28+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2929
- name: Check license header
3030
uses: apache/skywalking-eyes@main
3131
env:

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
pre-commit:
2929
runs-on: ubuntu-24.04
3030
steps:
31-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
31+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3232
- uses: actions/setup-python@v6
3333
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/rc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
timeout-minutes: 5
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
37+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3838

3939
- name: Prepare for tag
4040
if: github.ref_type == 'tag'
@@ -83,7 +83,7 @@ jobs:
8383
CXX: g++-14
8484
steps:
8585
- name: Checkout
86-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
86+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8787

8888
- uses: actions/download-artifact@v6
8989
with:
@@ -124,7 +124,7 @@ jobs:
124124
contents: write
125125
steps:
126126
- name: Checkout
127-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
127+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
128128

129129
- uses: actions/download-artifact@v6
130130
with:

.github/workflows/sanitizer_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
steps:
4343
- name: Checkout iceberg-cpp
44-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
44+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4545
- name: Install dependencies
4646
shell: bash
4747
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
steps:
4747
- name: Checkout iceberg-cpp
48-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
48+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4949
- name: Install dependencies
5050
shell: bash
5151
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
@@ -54,7 +54,7 @@ jobs:
5454
env:
5555
CC: gcc-14
5656
CXX: g++-14
57-
run: ci/scripts/build_iceberg.sh $(pwd)
57+
run: ci/scripts/build_iceberg.sh $(pwd) ON
5858
- name: Build Example
5959
shell: bash
6060
env:
@@ -69,7 +69,7 @@ jobs:
6969
fail-fast: false
7070
steps:
7171
- name: Checkout iceberg-cpp
72-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
72+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7373
- name: Build Iceberg
7474
shell: bash
7575
run: ci/scripts/build_iceberg.sh $(pwd)
@@ -84,7 +84,7 @@ jobs:
8484
fail-fast: false
8585
steps:
8686
- name: Checkout iceberg-cpp
87-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
87+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8888
- name: Install dependencies
8989
shell: cmd
9090
run: |
@@ -110,6 +110,7 @@ jobs:
110110
runs-on: ubuntu-24.04
111111
CC: gcc-14
112112
CXX: g++-14
113+
meson-setup-args: -Drest_integration_test=enabled
113114
- title: AMD64 Windows 2025
114115
runs-on: windows-2025
115116
meson-setup-args: --vsenv
@@ -120,7 +121,7 @@ jobs:
120121
with:
121122
python-version: '3.x'
122123
- name: Checkout iceberg-cpp
123-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
124+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
124125
- name: Install build dependencies
125126
run: |
126127
python3 -m pip install --upgrade pip

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ option(ICEBERG_BUILD_SHARED "Build shared library" OFF)
4242
option(ICEBERG_BUILD_TESTS "Build tests" ON)
4343
option(ICEBERG_BUILD_BUNDLE "Build the battery included library" ON)
4444
option(ICEBERG_BUILD_REST "Build rest catalog client" ON)
45+
option(ICEBERG_BUILD_REST_INTEGRATION_TESTS "Build rest catalog integration tests" OFF)
4546
option(ICEBERG_ENABLE_ASAN "Enable Address Sanitizer" OFF)
4647
option(ICEBERG_ENABLE_UBSAN "Enable Undefined Behavior Sanitizer" OFF)
4748

@@ -60,6 +61,11 @@ else()
6061
set(MSVC_TOOLCHAIN FALSE)
6162
endif()
6263

64+
if(ICEBERG_BUILD_REST_INTEGRATION_TESTS AND WIN32)
65+
set(ICEBERG_BUILD_REST_INTEGRATION_TESTS OFF)
66+
message(WARNING "Cannot build rest integration test on Windows, turning it off.")
67+
endif()
68+
6369
include(CMakeParseArguments)
6470
include(IcebergBuildUtils)
6571
include(IcebergSanitizer)

0 commit comments

Comments
 (0)