mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
- Added support for new dependency file types: 'go.mod' and 'pom.xml' in dependency.go. - Refactored command configuration in runner.go to improve logging and error handling. - Introduced a new method to configure Node.js paths, enhancing environment setup for tasks. - Enhanced IPC message handling with detailed logging for better traceability. - Updated service logging to remove unnecessary prefixes for cleaner output. - Improved command execution handling in process.go for better compatibility across platforms.
30 lines
755 B
Go
30 lines
755 B
Go
package constants
|
|
|
|
const (
|
|
DependencyTypePython = "python"
|
|
DependencyTypeNode = "node"
|
|
DependencyTypeGo = "go"
|
|
DependencyTypeJava = "java"
|
|
DependencyTypeBrowser = "browser"
|
|
)
|
|
|
|
const (
|
|
DependencyStatusInstalling = "installing"
|
|
DependencyStatusInstalled = "installed"
|
|
DependencyStatusUninstalling = "uninstalling"
|
|
DependencyStatusUninstalled = "uninstalled"
|
|
DependencyStatusError = "error"
|
|
DependencyStatusAbnormal = "abnormal"
|
|
)
|
|
|
|
const (
|
|
DependencyFileTypeRequirementsTxt = "requirements.txt"
|
|
DependencyFileTypePackageJson = "package.json"
|
|
DependencyFileTypeGoMod = "go.mod"
|
|
DependencyFileTypePomXml = "pom.xml"
|
|
)
|
|
const (
|
|
DependencyActionSync = "sync"
|
|
DependencyActionSetup = "setup"
|
|
)
|