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

This commit is contained in:
2025-06-15 16:21:09 +02:00
parent 0b62ac9ecd
commit 4a79011793
86 changed files with 122 additions and 122 deletions

View File

@@ -14,7 +14,7 @@ Dedupestor is a Go package that provides a key-value store with deduplication ba
```go
import (
"git.ourworld.tf/herocode/heroagent/pkg/dedupestor"
"git.threefold.info/herocode/heroagent/pkg/dedupestor"
)
// Create a new dedupe store

View File

@@ -7,8 +7,8 @@ import (
"errors"
"path/filepath"
"git.ourworld.tf/herocode/heroagent/pkg/data/ourdb"
"git.ourworld.tf/herocode/heroagent/pkg/data/radixtree"
"git.threefold.info/herocode/heroagent/pkg/data/ourdb"
"git.threefold.info/herocode/heroagent/pkg/data/radixtree"
)
// MaxValueSize is the maximum allowed size for values (1MB)

View File

@@ -18,7 +18,7 @@ The DocTree package provides functionality for managing collections of markdown
### Creating a DocTree
```go
import "git.ourworld.tf/herocode/heroagent/pkg/doctree"
import "git.threefold.info/herocode/heroagent/pkg/doctree"
// Create a new DocTree with a path and name
dt, err := doctree.New("/path/to/collection", "My Collection")

View File

@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
"git.threefold.info/herocode/heroagent/pkg/tools"
)
// Collection represents a collection of markdown pages and files

View File

@@ -5,7 +5,7 @@ import (
"context"
"fmt"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
"git.threefold.info/herocode/heroagent/pkg/tools"
"github.com/redis/go-redis/v9"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
"git.threefold.info/herocode/heroagent/pkg/tools"
)
// Global variable to track the current DocTree instance

View File

@@ -34,7 +34,7 @@ import (
"fmt"
"log"
"git.ourworld.tf/herocode/heroagent/pkg/ourdb"
"git.threefold.info/herocode/heroagent/pkg/ourdb"
)
func main() {
@@ -78,7 +78,7 @@ import (
"fmt"
"log"
"git.ourworld.tf/herocode/heroagent/pkg/ourdb"
"git.threefold.info/herocode/heroagent/pkg/ourdb"
)
func main() {

View File

@@ -4,7 +4,7 @@ package radixtree
import (
"errors"
"git.ourworld.tf/herocode/heroagent/pkg/data/ourdb"
"git.threefold.info/herocode/heroagent/pkg/data/ourdb"
)
// Node represents a node in the radix tree

View File

@@ -7,8 +7,8 @@ import (
"path/filepath"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/data/ourdb"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
"git.threefold.info/herocode/heroagent/pkg/data/ourdb"
"git.threefold.info/herocode/heroagent/pkg/tools"
)
// JobStatus represents the status of a job

View File

@@ -6,7 +6,7 @@ import (
"strings"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
"git.threefold.info/herocode/heroagent/pkg/tools"
"github.com/redis/go-redis/v9"
)

View File

@@ -6,7 +6,7 @@ import (
"path/filepath"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/logger"
"git.threefold.info/herocode/heroagent/pkg/logger"
)
func main() {

View File

@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
"git.ourworld.tf/herocode/heroagent/pkg/openrpc/models"
"git.threefold.info/herocode/heroagent/pkg/openrpc/models"
)
// ORPCManager manages OpenRPC specifications

View File

@@ -3,8 +3,8 @@ package heroagent
import (
"time"
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui"
"git.ourworld.tf/herocode/heroagent/pkg/servers/webdavserver"
"git.threefold.info/herocode/heroagent/pkg/servers/ui"
"git.threefold.info/herocode/heroagent/pkg/servers/webdavserver"
)
// Config holds the configuration for the HeroAgent server factory

View File

@@ -5,9 +5,9 @@ import (
"log"
"sync"
"git.ourworld.tf/herocode/heroagent/pkg/servers/redisserver"
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui"
"git.ourworld.tf/herocode/heroagent/pkg/servers/webdavserver"
"git.threefold.info/herocode/heroagent/pkg/servers/redisserver"
"git.threefold.info/herocode/heroagent/pkg/servers/ui"
"git.threefold.info/herocode/heroagent/pkg/servers/webdavserver"
"github.com/gofiber/fiber/v2"
)

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/data/ourdb"
"git.threefold.info/herocode/heroagent/pkg/data/ourdb"
)
// JobManager handles job management between OurDB and Redis

View File

@@ -24,7 +24,7 @@ The server implements the following Redis commands:
### Basic Usage
```go
import "git.ourworld.tf/herocode/heroagent/pkg/redisserver"
import "git.threefold.info/herocode/heroagent/pkg/redisserver"
// Create a new server with default configuration
server := redisserver.NewServer(redisserver.ServerConfig{

View File

@@ -11,7 +11,7 @@ import (
"sync"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/servers/redisserver"
"git.threefold.info/herocode/heroagent/pkg/servers/redisserver"
"github.com/redis/go-redis/v9"
)

View File

@@ -10,7 +10,7 @@ import (
"sync"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/servers/redisserver"
"git.threefold.info/herocode/heroagent/pkg/servers/redisserver"
"github.com/redis/go-redis/v9"
)

View File

@@ -8,7 +8,7 @@ import (
"regexp"
"strings"
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui/routes" // Import the routes package
"git.threefold.info/herocode/heroagent/pkg/servers/ui/routes" // Import the routes package
"github.com/gofiber/fiber/v2"
jetadapter "github.com/gofiber/template/jet/v2" // Aliased for clarity
)

View File

@@ -4,8 +4,8 @@ import (
"log"
"strconv"
"git.ourworld.tf/herocode/heroagent/pkg/herojobs"
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui/models"
"git.threefold.info/herocode/heroagent/pkg/herojobs"
"git.threefold.info/herocode/heroagent/pkg/servers/ui/models"
"github.com/gofiber/fiber/v2"
)

View File

@@ -1,7 +1,7 @@
package controllers
import (
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui/models"
"git.threefold.info/herocode/heroagent/pkg/servers/ui/models"
)
// JobPageData represents the data needed for the jobs page

View File

@@ -4,8 +4,8 @@ import (
"encoding/json"
"log"
orpcmodels "git.ourworld.tf/herocode/heroagent/pkg/openrpc/models"
uimodels "git.ourworld.tf/herocode/heroagent/pkg/servers/ui/models"
orpcmodels "git.threefold.info/herocode/heroagent/pkg/openrpc/models"
uimodels "git.threefold.info/herocode/heroagent/pkg/servers/ui/models"
"github.com/gofiber/fiber/v2"
)

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui/models"
"git.threefold.info/herocode/heroagent/pkg/servers/ui/models"
"github.com/gofiber/fiber/v2"
)

View File

@@ -6,7 +6,7 @@ import (
"log"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/herojobs"
"git.threefold.info/herocode/heroagent/pkg/herojobs"
)
// JobManager provides an interface for job management operations

View File

@@ -8,8 +8,8 @@ import (
"net/http"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/openrpc"
"git.ourworld.tf/herocode/heroagent/pkg/openrpc/models"
"git.threefold.info/herocode/heroagent/pkg/openrpc"
"git.threefold.info/herocode/heroagent/pkg/openrpc/models"
)
// OpenRPCUIManager is the interface for managing OpenRPC specifications in the UI

View File

@@ -1,8 +1,8 @@
package routes
import (
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui/controllers"
"git.ourworld.tf/herocode/heroagent/pkg/servers/ui/models"
"git.threefold.info/herocode/heroagent/pkg/servers/ui/controllers"
"git.threefold.info/herocode/heroagent/pkg/servers/ui/models"
"github.com/gofiber/fiber/v2"
)

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"os"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/hetznerinstall"
"git.threefold.info/herocode/heroagent/pkg/system/builders/hetznerinstall"
)
func main() {

View File

@@ -6,10 +6,10 @@ import (
"os/exec"
"path/filepath"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/postgresql/dependencies"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/postgresql/gosp"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/postgresql/postgres"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/postgresql/verification"
"git.threefold.info/herocode/heroagent/pkg/system/builders/postgresql/dependencies"
"git.threefold.info/herocode/heroagent/pkg/system/builders/postgresql/gosp"
"git.threefold.info/herocode/heroagent/pkg/system/builders/postgresql/postgres"
"git.threefold.info/herocode/heroagent/pkg/system/builders/postgresql/verification"
)
// Constants for PostgreSQL installation

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"os"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/postgresql"
"git.threefold.info/herocode/heroagent/pkg/system/builders/postgresql"
)
func main() {

View File

@@ -6,7 +6,7 @@ import (
"os/exec"
"path/filepath"
"git.ourworld.tf/herocode/heroagent/pkg/system/builders/postgresql/postgres"
"git.threefold.info/herocode/heroagent/pkg/system/builders/postgresql/postgres"
)
// Constants for Go stored procedure

View File

@@ -26,7 +26,7 @@ import (
"fmt"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/system/processmanager"
"git.threefold.info/herocode/heroagent/pkg/system/processmanager"
)
func main() {

View File

@@ -14,7 +14,7 @@ import (
"time"
"unicode"
"git.ourworld.tf/herocode/heroagent/pkg/logger"
"git.threefold.info/herocode/heroagent/pkg/logger"
"github.com/shirou/gopsutil/v3/process"
)

View File

@@ -8,7 +8,7 @@ import (
"syscall"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/system/stats"
"git.threefold.info/herocode/heroagent/pkg/system/stats"
)
func main() {

View File

@@ -11,7 +11,7 @@ import (
"syscall"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/system/stats"
"git.threefold.info/herocode/heroagent/pkg/system/stats"
"github.com/shirou/gopsutil/v3/cpu"
"github.com/shirou/gopsutil/v3/process"
)

View File

@@ -6,7 +6,7 @@ import (
"os"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/system/stats"
"git.threefold.info/herocode/heroagent/pkg/system/stats"
"github.com/redis/go-redis/v9"
)

View File

@@ -6,7 +6,7 @@ import (
"os"
"time"
"git.ourworld.tf/herocode/heroagent/pkg/system/stats"
"git.threefold.info/herocode/heroagent/pkg/system/stats"
)
func main() {