Skip to content

Commit 1f904b1

Browse files
committed
Update version, add instructions for Apache Releases
1 parent a5b0092 commit 1f904b1

39 files changed

+2545
-1304
lines changed

.github/dependabot.yml

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
118
version: 2
219
updates:
320
- package-ecosystem: cargo

.github/workflows/rust.yml

+17-35
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
118
name: Rust
219

320
on: [push, pull_request]
@@ -68,38 +85,3 @@ jobs:
6885
use-tool-cache: true
6986
- name: Test
7087
run: cargo test --all-features
71-
72-
test-coverage:
73-
runs-on: ubuntu-latest
74-
steps:
75-
- name: Checkout
76-
uses: actions/checkout@v4
77-
- name: Setup Rust Toolchain
78-
uses: ./.github/actions/setup-builder
79-
with:
80-
rust-version: stable
81-
- name: Install Tarpaulin
82-
uses: actions-rs/[email protected]
83-
with:
84-
crate: cargo-tarpaulin
85-
version: 0.14.2
86-
use-tool-cache: true
87-
- name: Coverage
88-
run: cargo tarpaulin -o Lcov --output-dir ./coverage
89-
- name: Coveralls
90-
uses: coverallsapp/github-action@master
91-
with:
92-
github-token: ${{ secrets.GITHUB_TOKEN }}
93-
94-
publish-crate:
95-
if: startsWith(github.ref, 'refs/tags/v0')
96-
runs-on: ubuntu-latest
97-
needs: [test]
98-
steps:
99-
- uses: actions/checkout@v4
100-
- name: Setup Rust Toolchain
101-
uses: ./.github/actions/setup-builder
102-
- name: Publish
103-
shell: bash
104-
run: |
105-
cargo publish --token ${{ secrets.CRATES_TOKEN }}

CHANGELOG.md

+5-1,176
Large diffs are not rendered by default.

Cargo.toml

+4-10
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
[package]
1919
name = "sqlparser"
2020
description = "Extensible SQL Lexer and Parser with support for ANSI SQL:2011"
21-
version = "0.51.0"
22-
authors = ["Andy Grove <[email protected]>"]
23-
homepage = "https://github.com/sqlparser-rs/sqlparser-rs"
21+
version = "0.52.0"
22+
authors = ["Apache DataFusion <[email protected]>"]
23+
homepage = "https://github.com/apache/datafusion-sqlparser-rs"
2424
documentation = "https://docs.rs/sqlparser/"
2525
keywords = ["ansi", "sql", "lexer", "parser"]
26-
repository = "https://github.com/sqlparser-rs/sqlparser-rs"
26+
repository = "https://github.com/apache/datafusion-sqlparser-rs"
2727
license = "Apache-2.0"
2828
include = [
2929
"src/**/*.rs",
@@ -58,12 +58,6 @@ simple_logger = "5.0"
5858
matches = "0.1"
5959
pretty_assertions = "1"
6060

61-
[package.metadata.release]
62-
# Instruct `cargo release` to not run `cargo publish` locally:
63-
# https://github.com/sunng87/cargo-release/blob/master/docs/reference.md#config-fields
64-
# See docs/releasing.md for details.
65-
publish = false
66-
6761
[package.metadata.docs.rs]
6862
# Document these features on docs.rs
6963
features = ["serde", "visitor"]

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
<!---
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
120
# Extensible SQL Lexer and Parser for Rust
221

322
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

0 commit comments

Comments
 (0)