feat(onboarding): "Project archive" PLC format + auto-detect from extension
CI / Check (pull_request) Successful in 5m16s
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
CI / Check (pull_request) Successful in 5m16s
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
A .projectarchive is neither PLCopen XML nor Structured Text, but the wizard's format dropdown only offered those two — confusing when uploading a CODESYS archive (found live during the demo). - add PlcFormat::ProjectArchive (metadata only; processing is content-driven). - wizard: add the "Project archive (.projectarchive)" option, and auto-select the format from the chosen file's extension (.projectarchive/.project → archive, .xml → PLCopen XML, .st/.exp/.scl → Structured Text). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
98357cae10
commit
ac7d09a77e
@@ -202,6 +202,9 @@ pub enum PlcFormat {
|
||||
PlcopenXml,
|
||||
/// IEC 61131-3 Structured Text source.
|
||||
StructuredText,
|
||||
/// A CODESYS project archive (`.projectarchive` — a zip bundling the project
|
||||
/// plus its referenced libraries and runtime; the source of the control-app SBOM).
|
||||
ProjectArchive,
|
||||
}
|
||||
|
||||
/// PLC-specific configuration for a [`ArtifactKind::PlcProject`] artifact.
|
||||
|
||||
Reference in New Issue
Block a user