-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into java-flight-sql-objects
- Loading branch information
Showing
737 changed files
with
99,807 additions
and
14,818 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
--- | ||
# Only defaults for now, slowly enable more as desired | ||
# Disable clang-analyzer-core, it fires on nanoarrow (I think it doesn't see that ArrowBufferReserve won't leave buffer->data NULL) | ||
# Disable the warning about memset, etc. since it suggests C11 functions | ||
# Disable valist, it's buggy: https://github.com/llvm/llvm-project/issues/40656 | ||
Checks: '-clang-analyzer-core.*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-clang-analyzer-valist.Uninitialized' | ||
FormatStyle: google | ||
UseColor: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# Any committer can add themselves to any of the path patterns | ||
# and will subsequently get requested as a reviewer for any PRs | ||
# that change matching files. | ||
# | ||
# This file uses .gitignore syntax with a few exceptions see the | ||
# documentation about the syntax: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
||
## Format | ||
adbc.h @lidavidm | ||
|
||
## Implementations | ||
/c/ @lidavidm | ||
/csharp/ @lidavidm @CurtHagenlocher | ||
/glib/ @kou | ||
/java/ @lidavidm | ||
/go/ @zeroshade | ||
/python/ @lidavidm | ||
/r/ @paleolimbot | ||
/ruby/ @kou | ||
/rust/ @wjones127 | ||
|
||
## Docs | ||
/docs/ @lidavidm | ||
# *.md | ||
# *.rst | ||
# *.txt | ||
|
||
## PR CI and repo files | ||
/.github/ @lidavidm @zeroshade | ||
.asf.yaml @lidavidm @kou | ||
.pre-commit-config.yaml @lidavidm | ||
# .git* | ||
|
||
# release scripts | ||
/ci/ @lidavidm @kou | ||
/dev/ @lidavidm @kou | ||
.env @lidavidm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
commit-message: | ||
prefix: "chore: " | ||
- package-ecosystem: "nuget" | ||
directory: "/csharp/" | ||
schedule: | ||
interval: "weekly" | ||
commit-message: | ||
prefix: "chore(csharp): " | ||
ignore: | ||
- dependency-name: "Microsoft.Extensions.*" | ||
update-types: | ||
- "version-update:semver-major" | ||
- dependency-name: "Microsoft.Bcl.*" | ||
update-types: | ||
- "version-update:semver-major" | ||
- dependency-name: "System.*" | ||
update-types: | ||
- "version-update:semver-major" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
name: C# | ||
|
||
on: | ||
push: | ||
paths: | ||
- '.github/workflows/csharp.yml' | ||
- 'ci/scripts/csharp_*' | ||
- 'csharp/**' | ||
pull_request: | ||
paths: | ||
- '.github/workflows/csharp.yml' | ||
- 'ci/scripts/csharp_*' | ||
- 'csharp/**' | ||
|
||
concurrency: | ||
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
csharp: | ||
name: "C# ${{ matrix.os }} ${{ matrix.dotnet }}" | ||
runs-on: ${{ matrix.os }} | ||
if: ${{ !contains(github.event.pull_request.title, 'WIP') }} | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: ['7.0.x'] | ||
os: [ubuntu-latest, windows-2019, macos-latest] | ||
steps: | ||
- name: Install C# | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
- name: Checkout ADBC | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
- name: Install Source Link | ||
shell: bash | ||
run: dotnet tool install --global sourcelink | ||
- name: Build | ||
shell: bash | ||
run: ci/scripts/csharp_build.sh $(pwd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/env bash | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# Assign a milestone to the given PR based on the open milestones and known | ||
# releases. | ||
|
||
set -euo pipefail | ||
|
||
main() { | ||
local -r repo="${1}" | ||
local -r pr_number="${2}" | ||
echo "On ${repo} pull ${pr_number}" | ||
|
||
local -r existing_milestone=$(gh pr view "${pr_number}" \ | ||
--json milestone \ | ||
-t '{{if .milestone}}{{.milestone.title}}{{end}}') | ||
|
||
if [[ -n "${existing_milestone}" ]]; then | ||
echo "PR has milestone: ${existing_milestone}" | ||
return 0 | ||
fi | ||
|
||
local -r latest_version=$(git ls-remote --heads origin | | ||
grep -o '[0-9.]*$' | | ||
sort --version-sort | | ||
tail -n1) | ||
|
||
local -r milestone=$(gh api "/repos/${repo}/milestones" | | ||
jq -r '.[] | .title' | | ||
grep -E '^ADBC Libraries' | | ||
grep -v "${latest_version}" | | ||
head -n1) | ||
|
||
echo "Latest tagged version: ${latest_version}" | ||
echo "Assigning milestone: ${milestone}" | ||
|
||
gh pr edit "${pr_number}" -m "${milestone}" | ||
} | ||
|
||
main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.