Skip to content

build: implement release process in odev #5592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bindings/c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.45.3"

[lib]
crate-type = ["cdylib", "staticlib"]
Expand Down
1 change: 0 additions & 1 deletion bindings/cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.45.15"

[lib]
crate-type = ["staticlib"]
Expand Down
1 change: 0 additions & 1 deletion bindings/dotnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[package]
name = "opendal-dotnet"
publish = false
version = "0.1.13"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
1 change: 0 additions & 1 deletion bindings/haskell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.44.15"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/haskell/opendal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cabal-version: 3.0
-- under the License.

name: opendal
version: 0.44.15.0
version: 0.1.0
license: Apache-2.0
synopsis: Apache OpenDAL™ Haskell Binding
description:
Expand Down
1 change: 0 additions & 1 deletion bindings/java/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.47.7"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<groupId>org.apache.opendal</groupId>
<artifactId>opendal</artifactId>
<version>0.47.7</version>
<version>0.47.7</version> <!-- update version number -->

<name>Apache OpenDAL™</name>
<description>
Expand Down
1 change: 0 additions & 1 deletion bindings/lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[package]
name = "opendal-lua"
publish = false
version = "0.1.13"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
11 changes: 8 additions & 3 deletions bindings/lua/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,41 @@ print("read: ", op:read("test.txt"))
```

## Lua version

You have to enable one of the features: lua54, lua53, lua52, lua51, luajit(52) or luau in `Cargo.toml`, according to the chosen Lua version. Default Lua version is 5.2.

## Build from source

1. Build OpenDAL LUA Interface
1. Build OpenDAL Lua Interface

```bash
$ cd bindings/lua
$ cargo build --package opendal-lua --release
```

2. Install opendal lua library
2. Install opendal Lua library

```bash
# copy to lua share library directory
# default lua5.2 share library directory is /usr/lib/lua/5.2
$ cp ../../target/release/libopendal_lua.so /usr/lib/lua/5.2/opendal.so
```

## Install from luarocks
## Install from LuaRocks

```bash
$ luarocks make
```

## Usage

```bash
$ lua5.2 example/fs.lua
read: hello world
```

## Test

```bash
$ busted -o gtest test/opendal_test.lua
[==========] Running tests from scanned files.
Expand Down
28 changes: 0 additions & 28 deletions bindings/lua/opendal-0.1.13-1.rockspec

This file was deleted.

1 change: 0 additions & 1 deletion bindings/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.47.9"

[features]
default = [
Expand Down
1 change: 0 additions & 1 deletion bindings/ocaml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[package]
name = "opendal-ocaml"
publish = false
version = "0.0.0"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
1 change: 0 additions & 1 deletion bindings/php/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[package]
name = "opendal-php"
publish = false
version = "0.1.12"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
1 change: 0 additions & 1 deletion bindings/ruby/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[package]
name = "opendal-ruby"
publish = false
version = "0.1.13"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
Loading
Loading