Update git remote URL from git.ourworld.tf to git.threefold.info

This commit is contained in:
despiegk 2025-06-15 16:21:07 +02:00
parent f9d338a8f1
commit 91b0247e68
9 changed files with 13 additions and 13 deletions

View File

@ -211,7 +211,7 @@ Add doctree to your Cargo.toml:
```toml
[dependencies]
doctree = { git = "https://git.ourworld.tf/herocode/doctree", branch = "main", package = "doctree", path = "doctree/src" }
doctree = { git = "https://git.threefold.info/herocode/doctree", branch = "main", package = "doctree", path = "doctree/src" }
```
Basic usage:

View File

@ -15,7 +15,7 @@ toml = "0.7.3"
serde = { version = "1.0", features = ["derive"] }
redis = { version = "0.23.0", features = ["tokio-comp"] }
tokio = { version = "1.28.0", features = ["full"] }
sal = { git = "https://git.ourworld.tf/herocode/sal.git" }
sal = { git = "https://git.threefold.info/herocode/sal.git" }
chacha20poly1305 = "0.10.1"
blake3 = "1.3.1"
csv = "1.1"

View File

@ -2,23 +2,23 @@
{
name: docs_hero
#existing docusaurus site can be used as collection as long as no duplicates
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/docs
url: https://git.threefold.info/tfgrid/docs_tfgrid4/src/branch/main/aibox/docs
description: Documentation for the ThreeFold Hero project.
}
{
name: biz
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/collections/aaa
url: https://git.threefold.info/tfgrid/docs_tfgrid4/src/branch/main/aibox/collections/aaa
description: Business documentation.
}
{
name: products
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/collections/vvv
url: https://git.threefold.info/tfgrid/docs_tfgrid4/src/branch/main/aibox/collections/vvv
description: Information about ThreeFold products.
}
{
scan: true
url: https://git.ourworld.tf/tfgrid/docs_tfgrid4/src/branch/main/aibox/collections
url: https://git.threefold.info/tfgrid/docs_tfgrid4/src/branch/main/aibox/collections
}
]

View File

@ -24,7 +24,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
redis = { version = "0.23.0", features = ["tokio-comp"] }
tokio = { version = "1.28.0", features = ["full"] }
sal = { git = "https://git.ourworld.tf/herocode/sal.git" }
sal = { git = "https://git.threefold.info/herocode/sal.git" }
# Hjson parsing
deser-hjson = "1.1.0"

View File

@ -20,7 +20,7 @@ mod tests {
footer: None,
collections: vec![CollectionConfig {
name: Some("test".to_string()),
url: Some("https://git.ourworld.tf/tfgrid/home.git".to_string()),
url: Some("https://git.threefold.info/tfgrid/home.git".to_string()),
description: Some("A test collection".to_string()),
scan: Some(true),
}],

View File

@ -4,7 +4,7 @@ This document describes the process of building web metadata and exporting asset
## Overview
The web building process starts with a directory containing the site's Hjson configuration files, such as the example directory `/Users/despiegk/code/git.ourworld.tf/herocode/doctree/examples/doctreenew/sites/demo1`. These Hjson files define the structure and content of the entire site and may reference external collections. The Hjson configuration sits "on top" of the collections it utilizes. Using the metadata defined in these Hjson files, the necessary collection data is downloaded from Git repositories (if referenced). The `doctree` is then used to process the relevant data, identify pages and images, and prepare them for export to IPFS. Finally, a `webmeta.json` file is generated containing all the necessary information, including IPFS keys and Blake hashes for content verification, allowing a browser-based tool to render the website by fetching assets from IPFS. Optionally, the generated `webmeta.json` file can also be uploaded to IPFS, and its IPFS URL returned.
The web building process starts with a directory containing the site's Hjson configuration files, such as the example directory `/Users/despiegk/code/git.threefold.info/herocode/doctree/examples/doctreenew/sites/demo1`. These Hjson files define the structure and content of the entire site and may reference external collections. The Hjson configuration sits "on top" of the collections it utilizes. Using the metadata defined in these Hjson files, the necessary collection data is downloaded from Git repositories (if referenced). The `doctree` is then used to process the relevant data, identify pages and images, and prepare them for export to IPFS. Finally, a `webmeta.json` file is generated containing all the necessary information, including IPFS keys and Blake hashes for content verification, allowing a browser-based tool to render the website by fetching assets from IPFS. Optionally, the generated `webmeta.json` file can also be uploaded to IPFS, and its IPFS URL returned.
## Process Steps

View File

@ -62,7 +62,7 @@ mod tests {
}),
collections: vec![CollectionConfig {
name: Some("test".to_string()),
url: Some("https://git.ourworld.tf/tfgrid/home.git".to_string()),
url: Some("https://git.threefold.info/tfgrid/home.git".to_string()),
description: Some("A test collection".to_string()),
scan: Some(true),
}],

View File

@ -8,7 +8,7 @@ mod tests {
fn test_clone_repository_error_invalid_destination() {
// Test with a destination that has no parent directory
// This URL is invalid because we added number 2 after `home`
let result = clone_repository("https://git.ourworld.tf/tfgrid/home2.git", PathBuf::from("/"));
let result = clone_repository("https://git.threefold.info/tfgrid/home2.git", PathBuf::from("/"));
assert!(result.is_err());
assert!(matches!(

View File

@ -52,7 +52,7 @@ mod tests {
{
# First collection
"name": "test",
"url": "https://git.ourworld.tf/tfgrid/home.git",
"url": "https://git.threefold.info/tfgrid/home.git",
"description": "A test collection",
"scan": true
},
@ -132,7 +132,7 @@ mod tests {
assert_eq!(config.collections[0].name, Some("test".to_string()));
assert_eq!(
config.collections[0].url,
Some("https://git.ourworld.tf/tfgrid/home.git".to_string())
Some("https://git.threefold.info/tfgrid/home.git".to_string())
);
assert_eq!(
config.collections[0].description,