Update git remote URL from git.ourworld.tf to git.threefold.info
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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{ | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
| ) | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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" | ||||
| ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user