Skip to content

fix: address repository discrepancies, bugs, and alignment with sister Rust repo#45

Merged
f2calv merged 1 commit into
mainfrom
copilot/review-and-fix-repository-issues
Mar 20, 2026
Merged

fix: address repository discrepancies, bugs, and alignment with sister Rust repo#45
f2calv merged 1 commit into
mainfrom
copilot/review-and-fix-repository-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

Summary

Comprehensive review of the repository to fix discrepancies, bugs, documentation issues, orphaned files, and structural misalignment with the sister repository multi-arch-container-rust.

Bug Fixes

  • Dockerfile.singlearch: Fixed case mismatch Directory.packages.propsDirectory.Packages.props — would fail on case-sensitive Linux filesystems
  • CI workflow (ci.yml): Fixed chart job tag from needs.versioning.outputs.versionneeds.versioning.outputs.semVer — consistent with the Rust repo and all other jobs in this workflow
  • build.sh: Fixed shebang from #!/bin/sh#!/usr/bin/env bash — script uses bash-specific read -p which is not POSIX-compliant

Documentation Fixes

  • README.md:
    • Fixed embedded shell script variable bug ($GIT_REPO$GIT_REPOSITORY)
    • Updated stale .NET 7.0 download link to .NET 10.0 (matching current target framework)
    • Synced embedded Shell Demo Script with actual build.sh
    • Aligned introduction text with Rust repo ("comprises two" → "itself is a sole")
    • Renamed "Further Resources" → "Other Resources" to match Rust repo
    • Updated shebang in embedded script to #!/usr/bin/env bash
  • .dockerignore: Fixed typo explictlyexplicitly

Missing Files Added (alignment with Rust repo)

  • .github/copilot-instructions.md: Created .NET-specific version with project structure, tech stack, build commands, configuration table, target platforms, and coding conventions
  • charts/.../templates/NOTES.txt: Created Helm chart notes template matching Rust repo structure

Orphaned Files Removed

  • .scripts/Invoke-Setup.ps1: Removed DockerHub setup script that is no longer used (CI uses GHCR)

CI Status

  • ✅ lint, versioning, app build, container image build — all passed
  • ❌ chart packaging — fails due to branch name length exceeding RFC 1123's 63-char limit (pre-existing constraint, will pass on main)

Security Summary

No security vulnerabilities were discovered. CodeQL scan returned 0 alerts.

…r Rust repo

- Fix Dockerfile.singlearch case mismatch (Directory.packages.props → Directory.Packages.props)
- Fix CI workflow chart tag (version → semVer) to match Rust repo
- Fix build.sh shebang (#!/bin/sh → #!/usr/bin/env bash) for bash-specific features
- Fix README.md: embedded script bug ($GIT_REPO → $GIT_REPOSITORY), sync with build.sh, update stale .NET 7.0 link to 10.0, align structure with Rust repo
- Fix .dockerignore typo (explictly → explicitly)
- Add missing .github/copilot-instructions.md aligned with Rust repo
- Add missing charts NOTES.txt template aligned with Rust repo
- Remove orphaned .scripts/Invoke-Setup.ps1 (DockerHub setup, no longer used)

Co-authored-by: f2calv <16097639+f2calv@users.noreply.github.com>
Agent-Logs-Url: https://github.com/f2calv/multi-arch-container-dotnet/sessions/86b79f97-d161-4c47-8e3f-e95d534333f4
@f2calv f2calv marked this pull request as ready for review March 20, 2026 21:51
@f2calv f2calv merged commit 339915d into main Mar 20, 2026
10 of 12 checks passed
@f2calv f2calv deleted the copilot/review-and-fix-repository-issues branch March 20, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants