← Back to issue list

Extends copy plugin to support source and destination

View original Github issue

Metadata

Project
snapcraft
Number
#420
Type
pull request
State
closed
Author
didrocks
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged because its Copy plugin changes were folded into canonical/snapcraft#416, which merged as commit 9a6684ce7 and added remote-source support.

Resolution: closed superseded

Reason: Maintainer kyrofa stated that selected changes from #420 would be integrated into #416, then closed it to avoid duplicate work. PR #416 subsequently merged as commit 9a6684ce7.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The copy plugin now supports "source" and can either copy the whole content (no "files" or "destination" parameter), or filter through one of those keywords. It also have special tar file support, putting in line with other plugins. Add also help for copy plugin, add a get_source_type() public handler and support autodetection for uncompressed "tar". Finally, add unit and integration tests, with test cases for those.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged because its Copy plugin changes were folded into canonical/snapcraft#416, which merged as commit 9a6684ce7 and added remote-source support.
stealth/space-bunny-alpha — closed superseded Closed unmerged after its copy-plugin changes were folded into merged PR #416, which added source support.
stealth/space-bunny-alpha — closed superseded Closed in favor of snapcraft#416, where copy-plugin source support was merged; selected changes from this PR were folded into that implementation.
qwen/qwen3.6-35b-a3b — — Superseded by PR #416. Selected copy plugin enhancements, including source/destination support and tar autodetection, were integrated into the other pull request to avoid duplication. This PR was closed to prevent confusion.
qwen3.6-35b-a3b-mtp-q6 — — Closed and superseded by PR #416. Selected changes were integrated into the competing pull request to avoid duplication.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#416 (confidence 100%)

    The overlapping Copy plugin source-support work was completed and merged through PR #416.

Related issues

Issue Project State Summary Similarity
#1559154 Copy plugin should support sources snapcraft (launchpad) closed Source support was added to the Copy plugin by canonical/snapcraft PR #416, merged as commit 9a6684ce7.
81%
#416 Copy plugin: Add support for sources. snapcraft merged Merged PR #416 as commit 9a6684ce7, adding remote-source support to the Copy plugin for parts without build systems and resolving LP #1559154.
80%
#91 Support globs in copy plugin snapcraft closed Closed unmerged after source management was split out; narrower copy-plugin glob support landed in #108 via commit 8294647d6.
72%