Revert "Add Docker archive support to Linux scanner (#1711)"#1715
Revert "Add Docker archive support to Linux scanner (#1711)"#1715jasonpaulos merged 1 commit intomainfrom
Conversation
This reverts commit d6c5db9.
|
👋 Hi! It looks like you modified some files in the
If none of the above scenarios apply, feel free to ignore this comment 🙂 |
There was a problem hiding this comment.
Pull request overview
Temporarily reverts PR #1711 by removing Docker-archive (docker save tarball) scanning support from the Linux container detector, restoring the previous set of supported image reference formats.
Changes:
- Removes
docker-archive:handling fromImageReferenceparsing andLinuxContainerDetectorlocal-image scanning flow. - Deletes the Docker archive-specific unit test.
- Updates Linux detector documentation to remove Docker archive usage instructions.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test/Microsoft.ComponentDetection.Detectors.Tests/LinuxContainerDetectorTests.cs | Removes the unit test that asserted Docker archive (docker-archive:) scanning behavior. |
| src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs | Removes DockerArchive handling in image resolution and local-image scanning path setup. |
| src/Microsoft.ComponentDetection.Detectors/linux/ImageReference.cs | Removes DockerArchive kind and docker-archive: parsing support. |
| docs/detectors/linux.md | Removes documentation describing docker-archive: usage. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1715 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Temporarily revert #1711