You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ho...@apache.org on 2024/01/30 03:16:40 UTC

(opendal) branch chainsafe-test updated (a6742600dd -> a84123dd2c)

This is an automated email from the ASF dual-hosted git repository.

hoslo pushed a change to branch chainsafe-test
in repository https://gitbox.apache.org/repos/asf/opendal.git


 discard a6742600dd feat(services/chainsafe): setup test for chainsafe
     new a84123dd2c feat(services/chainsafe): setup test for chainsafe

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a6742600dd)
            \
             N -- N -- N   refs/heads/chainsafe-test (a84123dd2c)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 bindings/ocaml/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


(opendal) 01/01: feat(services/chainsafe): setup test for chainsafe

Posted by ho...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hoslo pushed a commit to branch chainsafe-test
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit a84123dd2c101ba2ca4f46a225258344e8049661
Author: ran <33...@users.noreply.github.com>
AuthorDate: Sun Jan 28 22:15:49 2024 +0800

    feat(services/chainsafe): setup test for chainsafe
---
 .github/services/chainsafe/chainsafe/action.yml | 30 +++++++++++++++++++++++++
 bindings/java/Cargo.toml                        |  2 ++
 bindings/nodejs/Cargo.toml                      |  2 ++
 bindings/ocaml/dune-project                     | 10 ++++-----
 bindings/ocaml/opendal.opam                     |  8 +++----
 bindings/python/Cargo.toml                      |  2 ++
 6 files changed, 45 insertions(+), 9 deletions(-)

diff --git a/.github/services/chainsafe/chainsafe/action.yml b/.github/services/chainsafe/chainsafe/action.yml
new file mode 100644
index 0000000000..09920e8cb8
--- /dev/null
+++ b/.github/services/chainsafe/chainsafe/action.yml
@@ -0,0 +1,30 @@
+# 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: chainsafe
+description: 'Behavior test for Chainsafe.'
+
+runs:
+  using: "composite"
+  steps:
+    - name: Setup
+      uses: 1password/load-secrets-action@v1
+      with:
+        export-env: true
+      env:
+        OPENDAL_CHAINSAFE_BUCKET_ID: op://services/chainsafe/bucket_id
+        OPENDAL_CHAINSAFE_API_KEY: op://services/chainsafe/api_key
diff --git a/bindings/java/Cargo.toml b/bindings/java/Cargo.toml
index 9d199342c3..7e38605d88 100644
--- a/bindings/java/Cargo.toml
+++ b/bindings/java/Cargo.toml
@@ -53,6 +53,7 @@ services-all = [
   "default",
 
   "services-cacache",
+  "services-chainsafe",
   "services-dashmap",
   "services-dropbox",
   "services-etcd",
@@ -98,6 +99,7 @@ services-all = [
 services-azblob = ["opendal/services-azblob"]
 services-azdls = ["opendal/services-azdls"]
 services-cos = ["opendal/services-cos"]
+services-chainsafe = ["opendal/services-chainsafe"]
 services-fs = ["opendal/services-fs"]
 services-gcs = ["opendal/services-gcs"]
 services-ghac = ["opendal/services-ghac"]
diff --git a/bindings/nodejs/Cargo.toml b/bindings/nodejs/Cargo.toml
index f9182e3a88..9521e3ba7a 100644
--- a/bindings/nodejs/Cargo.toml
+++ b/bindings/nodejs/Cargo.toml
@@ -52,6 +52,7 @@ services-all = [
   "services-azfile",
   "services-b2",
   "services-cacache",
+  "services-chainsafe",
   "services-dashmap",
   "services-dropbox",
   "services-etcd",
@@ -93,6 +94,7 @@ services-all = [
 services-azblob = ["opendal/services-azblob"]
 services-azdls = ["opendal/services-azdls"]
 services-cos = ["opendal/services-cos"]
+services-chainsafe = ["opendal/services-chainsafe"]
 services-fs = ["opendal/services-fs"]
 services-gcs = ["opendal/services-gcs"]
 services-ghac = ["opendal/services-ghac"]
diff --git a/bindings/ocaml/dune-project b/bindings/ocaml/dune-project
index 46a3acad0c..b9cd925bf7 100644
--- a/bindings/ocaml/dune-project
+++ b/bindings/ocaml/dune-project
@@ -1,4 +1,4 @@
-(lang dune 2.0)
+(lang dune 2.1)
 ; 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
@@ -25,11 +25,11 @@
 (documentation "https://opendal.apache.org/")
 (package
  (name opendal)
- (synopsis "Open Data Access Layer: Access data freely")
+ (synopsis "Apache OpenDAL™ OCaml Binding")
  (description
-  "OpenDAL is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way.")
+  "Apache OpenDAL™ is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way.")
  (depends
   (ounit2 (and (>= 2.2.6) :with-test))
-  (ocaml (>= "4.03.0"))
-  (dune (>= "1.5"))
+  (ocaml (and (>= "4.10.0") (< 5)))
+  (dune (>= "2.1"))
   conf-rust))
diff --git a/bindings/ocaml/opendal.opam b/bindings/ocaml/opendal.opam
index 9fe88f9f73..99b84a9ea8 100644
--- a/bindings/ocaml/opendal.opam
+++ b/bindings/ocaml/opendal.opam
@@ -1,8 +1,8 @@
 # This file is generated by dune, edit dune-project instead
 opam-version: "2.0"
-synopsis: "Open Data Access Layer: Access data freely"
+synopsis: "Apache OpenDAL™ OCaml Binding"
 description:
-  "OpenDAL is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way."
+  "Apache OpenDAL™ is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way."
 maintainer: ["OpenDAL Contributors <de...@opendal.apache.org>"]
 authors: ["OpenDAL Contributors <de...@opendal.apache.org>"]
 license: "Apache-2.0"
@@ -11,8 +11,8 @@ doc: "https://opendal.apache.org/"
 bug-reports: "https://github.com/apache/opendal/issues"
 depends: [
   "ounit2" {>= "2.2.6" & with-test}
-  "ocaml" {>= "4.03.0"}
-  "dune" {>= "1.5"}
+  "ocaml" {>= "4.10.0" & < "5"}
+  "dune" {>= "2.1"}
   "conf-rust"
 ]
 build: [
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index f2145c8ee5..eb964de02f 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -50,6 +50,7 @@ services-all = [
 
   "services-azfile",
   "services-cacache",
+  "services-chainsafe",
   "services-dashmap",
   "services-dropbox",
   # FIXME this service need protoc
@@ -95,6 +96,7 @@ services-all = [
 services-azblob = ["opendal/services-azblob"]
 services-azdls = ["opendal/services-azdls"]
 services-cos = ["opendal/services-cos"]
+services-chainsafe = ["opendal/services-chainsafe"]
 services-fs = ["opendal/services-fs"]
 services-gcs = ["opendal/services-gcs"]
 services-ghac = ["opendal/services-ghac"]