Fix module paths for GitHub repository structure

- Update go.mod files to use github.com/Fimeg/RedFlag module path
- Fix all import statements across server and agent code
- Resolves build errors when cloning from GitHub
- Utils package (version comparison) is actually needed and working
This commit is contained in:
Fimeg
2025-10-29 11:53:20 -04:00
parent 56ed1069e0
commit e40cb14945
24 changed files with 45 additions and 45 deletions

View File

@@ -7,7 +7,7 @@ import (
"path/filepath"
"time"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
"github.com/google/uuid"
)

View File

@@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
)
// Color codes for terminal output

View File

@@ -8,7 +8,7 @@ import (
"regexp"
"strings"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
)
// APTScanner scans for APT package updates

View File

@@ -8,7 +8,7 @@ import (
"regexp"
"strings"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
)
// DNFScanner scans for DNF/RPM package updates

View File

@@ -6,7 +6,7 @@ import (
"os/exec"
"strings"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
"github.com/docker/docker/api/types/container"
dockerclient "github.com/docker/docker/client"
)

View File

@@ -3,7 +3,7 @@
package scanner
import "github.com/aggregator-project/aggregator-agent/internal/client"
import "github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
// WindowsUpdateScanner stub for non-Windows platforms
type WindowsUpdateScanner struct{}

View File

@@ -9,8 +9,8 @@ import (
"strings"
"time"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/aggregator-project/aggregator-agent/pkg/windowsupdate"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/pkg/windowsupdate"
"github.com/go-ole/go-ole"
"github.com/scjalliance/comshim"
)

View File

@@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/aggregator-project/aggregator-agent/internal/client"
"github.com/Fimeg/RedFlag/aggregator-agent/internal/client"
)
// WingetPackage represents a single package from winget output