← Back to issue list

copy plugin doesn't support globs

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1478054
Type
issue
State
closed
Author
~mterry
Labels
first-steps
Created
Updated
Closed

Current evaluation

Launchpad bug 1478054 (copy plugin lacks src glob support) was migrated to GitHub issue ubuntu-core/snapcraft#26 and fixed by merged PR #108, commit 8294647d6, which replaced cp with Python glob calls and added a unit test.

Resolution: closed resolved

Reason: Maintainer ~elopio redirected the report to GitHub issue ubuntu-core/snapcraft#26 and then closed the Launchpad bug noting it was fixed in PR https://github.com/ubuntu-core/snapcraft/pull/108 with a new glob unit test. Commit 8294647d6 'copy plugin: Support globs' in snapcraft/plugins/copy.py confirms the change landed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

It would be useful if the copy plug supported globs on the src file side. If that were the case, it might then require that the dst file was a directory. i.e. do whatever logic 'cp' does when handed a glob.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Launchpad bug 1478054 (copy plugin lacks src glob support) was migrated to GitHub issue ubuntu-core/snapcraft#26 and fixed by merged PR #108, commit 8294647d6, which replaced cp with Python glob calls and added a unit test.
stealth/space-bunny-alpha — closed resolved Copy-plugin source globs landed in merged PR snapcraft#108 (commit 8294647d6, merge 639d60c41), replacing cp with Python glob APIs and adding a unit test; the issue moved from launchpad tracker to GitHub issue #26.
stealth/space-bunny-alpha — closed resolved Source globs were added to the copy plugin by merged canonical/snapcraft#108, commit 8294647d6.
qwen/qwen3.6-35b-a3b — — The copy plugin glob support request was closed without implementation or discussion. The feature remains unimplemented, indicating the issue was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without implementation, likely abandoned. The feature request to add glob pattern support to the copy plugin's source paths was not addressed or merged.
qwen/qwen3.6-35b-a3b — — Glob support for the copy plugin was closed without implementation or discussion. The feature request was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Feature request for glob support in the copy plugin was closed without implementation or discussion. Lacking activity or a resolution, it was abandoned.

Update history

Date Change
created

Related work

  • Superseded By: canonical/snapcraft#26 (confidence 95%)

    GitHub issue #26 is the same report and was closed as fixed by the same PR.

  • Likely Fixed By: canonical/snapcraft#108 (confidence 92%)

    PR cited by the maintainer as the fix; commit 8294647d6 'copy plugin: Support globs' exists in the copy plugin history.

Related issues

Issue Project State Summary Similarity
#26 copy plugin doesn't support globs snapcraft closed Copy-plugin source globs were implemented by merged PR #108 (commit 8294647d6, merge 639d60c41); tracking later moved back to Launchpad.
86%
#108 copy plugin: Support globs snapcraft merged Merged PR #108 (commit 8294647d6; merge 639d60c41), adding glob support to the copy plugin and replacing cp with Python APIs.
81%
#1478052 copy plugin doesn't handle directories snapcraft (launchpad) closed Launchpad bug migrated to ubuntu-core/snapcraft#16 and closed: copy plugin already handled directory sources; PR #87 (commit 918627069, merge ebf55e30d) added a passing integration test confirming it.
77%
#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.
73%
#1499249 [copy] TypeError: string indices must be integers snapcraft (launchpad) closed Moved to canonical/snapcraft#41; scalar copy-plugin files handling was fixed by merged PR canonical/snapcraft#108, which added glob support.
72%