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

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

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,