Repository navigation
Bootstrap Rust workspace, portable builds, and attributed ArtCraft tooling - #2
Merged
Merged
Conversation
Add shared core, headless CLI, egui desktop shell, portable xtask commands, six-target native CI, development packaging, and verified source/dependency notices. Archive operations remain planned in #1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
ArcForge currently has a product specification and an MIT repository, but no application workspace or build path. This PR establishes a Rust bootstrap using selected, attributed ArtCraft infrastructure so implementation of the archive manager can begin against explicit architectural and build constraints.
Related to #1. This is a bootstrap contribution; it does not complete the archive-editing milestone or close the epic.
What changes
xtasktooling.cargo xtask check,layers,notices,build,test, andpackage. Check dependency directions and transitive GUI contamination of the core/CLI, including build/dev/conditional edges. New workspace crates require registration..app.flowchart TD Desktop["Desktop entry point"] --> UI["egui presentation"] UI --> Core["Shared core and command catalog"] CLI["Headless CLI"] --> Core Checks["xtask dependency checks"] -.-> CoreArtCraft reuse and licenses
Pinned references:
71f0d7483eb9ec56f483a2a4dbd13c2e6a0f65af.e7c2c36c62f798175d7b990e5c9d1580398dff82.The upstream code offers MIT OR Apache-2.0. This PR selects MIT for the copied PhotoCraft Cargo-environment helper and the adapted dependency-layer checker. Original copyright notices and full MIT texts are retained. The
crates/+apps/+xtasklayout, shared-command approach, and study/build/compare workflow are architectural inspiration. No Craft Anything application implementation, OpenZip source, ArtCraft branding, raven icon, or ArtCraft assets are copied.See
docs/artcraft-reuse.md,THIRD_PARTY_NOTICES.md, andlicenses/for source paths, revisions, changes, dependency terms, and embedded font notices.Verification
Verified locally on Linux x86-64:
cargo xtask check: formatting, dependency layers, notice freshness, Clippy with warnings denied, all workspace tests, and debug builds passed. 26 tests passed (3 core, 6 CLI, 2 desktop argument tests, 15 tooling tests).cargo xtask package --target x86_64-unknown-linux-gnupassed with the pinned toolchain and lockfile.The local bundle is
arcforge-0.1.0-dev-x86_64-unknown-linux-gnu.tar.gz(5,371,553 bytes), SHA-2566d6522cb769a956238c7b45cce2ac0884f819011648997fce42789fcd0fe7dd1. It is a local validation artifact, not a published release. CI builds its own artifacts.Native CI: all six jobs passed in run #1 for commit
445f02a1fed8fde502af985a307225ec30366a9e: macOS, Windows, and Linux on x86-64 and ARM64. Each job completed the workspace checks, tests, release build, packaging, executable smoke tests, and artifact upload. All six development bundles are available in the run's artifacts (14-day retention).Interactive GUI behavior, accessibility, native drag-and-drop, archive features, and production installation remain unverified by these command-line/build checks.
Current limitations
Archive reading, extraction, creation, editing, previews, and native desktop integrations remain work in #1. egui/eframe is the initial toolkit; this PR does not complete the cross-platform feasibility and visual-fidelity gates. Native command smoke tests do not establish interactive GUI behavior, accessibility, drag-and-drop, or Wayland/X11 parity.
Development bundles are unsigned portable archives. Production DMG/installers/AppImage/distribution packages, signing/notarization, file associations, upgrades, and minimum supported OS/runtime baselines remain future work. The Windows bootstrap desktop executable still uses the console subsystem. No release tag is created or release published by this PR.