You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/15 16:37:57 UTC
[incubator-opendal] branch main updated: docs: Migrate links to o.a.o (#1630)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new c9e8200e docs: Migrate links to o.a.o (#1630)
c9e8200e is described below
commit c9e8200e941c444fa93b62297c6c6cf33ab82a90
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Thu Mar 16 00:37:51 2023 +0800
docs: Migrate links to o.a.o (#1630)
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
CHANGELOG.md | 2 +-
Cargo.toml | 2 +-
README.md | 4 ++--
binaries/oli/Cargo.toml | 2 +-
bindings/python/pyproject.toml | 2 +-
src/docs/upgrade.md | 16 ++++++++--------
src/raw/rps.rs | 6 +++---
src/services/ipfs/backend.rs | 2 +-
website/docusaurus.config.js | 4 ++--
9 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8612d22d..b4be7d8c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1442,7 +1442,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- docs: Cover all public types and functions (#128)
- docs: Update README (#129)
-- ci: Generate main docs to <opendal.databend.rs> (#132)
+- ci: Generate main docs to <opendal.apache.org> (#132)
- docs: Enrich README (#133)
- Add examples for object (#135)
diff --git a/Cargo.toml b/Cargo.toml
index bfc8aad0..0b7d9c56 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ categories = ["filesystem"]
description = "OpenDAL: Access data freely, painlessly, and efficiently."
edition = "2021"
exclude = [".github/", "bindings/", "profiles/", "oli/", "tests/"]
-homepage = "https://opendal.databend.rs/"
+homepage = "https://opendal.apache.org/"
keywords = ["storage", "fs", "s3", "azblob", "gcs"]
license = "Apache-2.0"
name = "opendal"
diff --git a/README.md b/README.md
index c8f6b626..1c753d69 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
**Open** **D**ata **A**ccess **L**ayer: Access data freely, painlessly, and efficiently
-- Documentation: [stable](https://docs.rs/opendal/) | [main](https://opendal.databend.rs/opendal/)
+- Documentation: [stable](https://docs.rs/opendal/) | [main](https://opendal.apache.org/docs/rust/opendal/)
- [Release notes](https://docs.rs/opendal/latest/opendal/docs/changelog/index.html)
![](https://user-images.githubusercontent.com/5351546/222356748-14276998-501b-4d2a-9b09-b8cff3018204.png)
@@ -103,7 +103,7 @@ async fn main() -> Result<()> {
}
```
-More examples could be found at [Documentation](https://opendal.databend.rs).
+More examples could be found at [Documentation](https://opendal.apache.org).
## Projects
diff --git a/binaries/oli/Cargo.toml b/binaries/oli/Cargo.toml
index 73dd010a..4a3607c5 100644
--- a/binaries/oli/Cargo.toml
+++ b/binaries/oli/Cargo.toml
@@ -20,7 +20,7 @@ authors = ["Databend Authors <op...@datafuselabs.com>"]
categories = ["filesystem"]
description = "OpenDAL Command Line Interface"
edition = "2021"
-homepage = "https://opendal.databend.rs/"
+homepage = "https://opendal.apache.org/"
keywords = ["storage", "data", "s3", "fs", "azblob"]
license = "Apache-2.0"
name = "oli"
diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index dbf3b6b6..154e8a27 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -36,5 +36,5 @@ test = ["pytest", "pytest-asyncio"]
[project.urls]
Documentation = "https://docs.rs/opendal/"
-Homepage = "https://opendal.databend.rs/"
+Homepage = "https://opendal.apache.org/"
Repository = "https://github.com/datafuselabs/opendal"
diff --git a/src/docs/upgrade.md b/src/docs/upgrade.md
index 1ed7a55c..adb690fa 100644
--- a/src/docs/upgrade.md
+++ b/src/docs/upgrade.md
@@ -228,8 +228,8 @@ Let's start with our errors.
## Error Handling
-As described in [RFC-0977: Refactor Error](https://opendal.databend.rs/rfcs/0977-refactor-error.html), we refactor opendal error by a new error
-called [`opendal::Error`](https://opendal.databend.rs/opendal/struct.Error.html).
+As described in [RFC-0977: Refactor Error](https://opendal.apache.org/rfcs/0977-refactor-error.html), we refactor opendal error by a new error
+called [`opendal::Error`](https://opendal.apache.org/opendal/struct.Error.html).
This change will affect all APIs that are used to return `io::Error`.
@@ -301,7 +301,7 @@ Sorry for introducing too much breaking change in a single version. This version
v0.20 is a big release that we introduce a lot of performance related changes.
-To make the best of information from `read` operation, we propose and implemented [RFC-0926: Object Reader](https://opendal.databend.rs/rfcs/0926-object-reader.html). By this RFC, we can fetch content length from `ObjectReader` now!
+To make the best of information from `read` operation, we propose and implemented [RFC-0926: Object Reader](https://opendal.apache.org/rfcs/0926-object-reader.html). By this RFC, we can fetch content length from `ObjectReader` now!
```rust
pub struct ObjectReader {
@@ -371,7 +371,7 @@ We move `path String` out of the `OpXxx` to function args so that we don't need
+ async fn read(&self, path: &str, args: OpRead) -> Result<BytesReader>
```
-For more information about this change, please refer to [RFC-0661: Path In Accessor](https://opendal.databend.rs/rfcs/0661-path-in-accessor.html).
+For more information about this change, please refer to [RFC-0661: Path In Accessor](https://opendal.apache.org/rfcs/0661-path-in-accessor.html).
And since OpenDAL v0.17, we will use `rustls` as default tls engine for our underlying http client. Since this release, we will not depend on `openssl` anymore.
@@ -400,7 +400,7 @@ async fn main() {
}
```
-For more information about this change, please refer to [RFC-0627: Split Capabilities](https://opendal.databend.rs/rfcs/0627-split-capabilities.html).
+For more information about this change, please refer to [RFC-0627: Split Capabilities](https://opendal.apache.org/rfcs/0627-split-capabilities.html).
# Upgrade to v0.14
@@ -428,13 +428,13 @@ The following APIs have affected by this change:
- `Object::write_from` has been added to support write from a reader.
- All layers should be refactored to adapt new `Accessor` trait.
-For more information about this change, please refer to [RFC-0554: Write Refactor](https://opendal.databend.rs/rfcs/0554-write-refactor.html).
+For more information about this change, please refer to [RFC-0554: Write Refactor](https://opendal.apache.org/rfcs/0554-write-refactor.html).
# Upgrade to v0.13
OpenDAL deprecate `Operator::with_backoff` since v0.13.
-Please use [`RetryLayer`](https://opendal.databend.rs/opendal/layers/struct.RetryLayer.html) instead:
+Please use [`RetryLayer`](https://opendal.apache.org/opendal/layers/struct.RetryLayer.html) instead:
```rust
use anyhow::Result;
@@ -469,7 +469,7 @@ let op: Operator = Operator::new(builder.build()?);
Along with these changes, `Operator::from_iter` and `Operator::from_env` now is a blocking API too.
-For more information about this change, please refer to [RFC-0501: New Builder](https://opendal.databend.rs/rfcs/0501-new-builder.html).
+For more information about this change, please refer to [RFC-0501: New Builder](https://opendal.apache.org/rfcs/0501-new-builder.html).
The following APIs have been deprecated:
diff --git a/src/raw/rps.rs b/src/raw/rps.rs
index b302848c..75b2c842 100644
--- a/src/raw/rps.rs
+++ b/src/raw/rps.rs
@@ -243,7 +243,7 @@ mod tests {
fn test_presigned_request_convert() -> Result<()> {
let pr = PresignedRequest {
method: Method::PATCH,
- uri: Uri::from_static("https://opendal.databend.rs/path/to/file"),
+ uri: Uri::from_static("https://opendal.apache.org/path/to/file"),
headers: {
let mut headers = HeaderMap::new();
headers.insert(CONTENT_LENGTH, "123".parse()?);
@@ -256,7 +256,7 @@ mod tests {
let req: Request<AsyncBody> = pr.clone().into();
assert_eq!(Method::PATCH, req.method());
assert_eq!(
- "https://opendal.databend.rs/path/to/file",
+ "https://opendal.apache.org/path/to/file",
req.uri().to_string()
);
assert_eq!("123", req.headers().get(CONTENT_LENGTH).unwrap());
@@ -265,7 +265,7 @@ mod tests {
let req: Request<Body> = pr.into();
assert_eq!(Method::PATCH, req.method());
assert_eq!(
- "https://opendal.databend.rs/path/to/file",
+ "https://opendal.apache.org/path/to/file",
req.uri().to_string()
);
assert_eq!("123", req.headers().get(CONTENT_LENGTH).unwrap());
diff --git a/src/services/ipfs/backend.rs b/src/services/ipfs/backend.rs
index 29a31ee1..da83fdf7 100644
--- a/src/services/ipfs/backend.rs
+++ b/src/services/ipfs/backend.rs
@@ -95,7 +95,7 @@ impl IpfsBuilder {
///
/// - `/ipfs/QmPpCt1aYGb9JWJRmXRUnmJtVgeFFTJGzWFYEEX7bo9zGJ/` (IPFS with CID v0)
/// - `/ipfs/bafybeibozpulxtpv5nhfa2ue3dcjx23ndh3gwr5vwllk7ptoyfwnfjjr4q/` (IPFS with CID v1)
- /// - `/ipns/opendal.databend.rs/` (IPNS)
+ /// - `/ipns/opendal.apache.org/` (IPNS)
pub fn root(&mut self, root: &str) -> &mut Self {
if !root.is_empty() {
self.root = Some(root.to_string())
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index a74327ae..db0072e6 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -31,7 +31,7 @@ const config = {
favicon: 'img/favicon.ico',
// TODO: Move to opendal.apache.org after migration.
- url: 'https://opendal.databend.rs',
+ url: 'https://opendal.apache.org',
baseUrl: '/',
organizationName: 'Apache',
@@ -93,7 +93,7 @@ const config = {
items: [
{
label: 'Rust',
- to: 'https://opendal.databend.rs/docs/rust/opendal/'
+ to: '/docs/rust/opendal/'
},
]
},