Update ant plugin and add ant plugin test
Metadata
Current evaluation
Ant plugin was updated in snapcore/snapcraft PR #644, replacing shell copy/mkdir calls with Python standard-library APIs and adding tests; merged as commit 01273e718.
Resolution: closed resolved
Reason: The linked PR #644 was merged into Snapcraft as commit 01273e718, with the commit titled “ant plugin: use python std libraries and add tests.” This directly implements the requested shutil.copy/os.makedirs changes and adds test_plugin_ant.py.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Ant is calling self.run for copy and mkdir -P.
Update to shutil.copy and os.makedirs
Add test_plugin_ant.py for testing build().
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Ant plugin was updated in snapcore/snapcraft PR #644, replacing shell copy/mkdir calls with Python standard-library APIs and adding tests; merged as commit 01273e718. | |
| stealth/space-bunny-alpha | — | closed resolved | Ant plugin updated to use standard-library copy/makedirs calls and gained build() tests; merged in snapcore/snapcraft#644 via commit 01273e718. | |
| stealth/space-bunny-alpha | — | closed stale | No Ant-specific update or test matching the proposal was found in history. After 3,717 days without activity, the item appears to have been closed as stale. | |
| qwen/qwen3.6-35b-a3b | — | — | Request to update the ant plugin to use shutil.copy and os.makedirs instead of self.run, plus add a test file, was closed without implementation. Labeled as a wishlist item with zero comments, the suggestion was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a wishlist item with zero comments or activity. The proposed update to replace deprecated Python functions and add a plugin test was abandoned due to low priority. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as wishlist without implementation. The proposal to replace deprecated self.run calls with shutil.copy and os.makedirs, plus add a test, was not adopted or merged. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#644
(confidence 100%)
The PR is linked in the issue comments and its resolving commit is 01273e718.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1794776 Update the ant plugin to be base aware | snapcraft (launchpad) | closed | Ant plugin was made base-aware by merged PR snapcore/snapcraft#2370 (commit eab7fcf15), adding core16 and core18 support. | |
| #2597 ant plugin: switch to using ant snap for building (by default) | snapcraft | merged | Merged in snapcraft#2597 (14d12bbb3), switching the Ant plugin to build with the ant snap by default while retaining ant-version with checksum as an alternative. | |
| #1650547 Update ant plugin to use get_build_properties | snapcraft (launchpad) | closed | Ant was updated to use get_build_properties() and register build properties for correct warnings; snapcore/snapcraft#991 merged as commit 65efd4678. |