Skip to content

feat(manager/ant): add <import> file traversal - #42631

Merged
jamietanna merged 1 commit into
renovatebot:mainfrom
RahulGautamSingh:feat/42181-ant-import-traversal
Apr 14, 2026
Merged

feat(manager/ant): add <import> file traversal#42631
jamietanna merged 1 commit into
renovatebot:mainfrom
RahulGautamSingh:feat/42181-ant-import-traversal

Conversation

@RahulGautamSingh

@RahulGautamSingh RahulGautamSingh commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Support <import file="..."/> elements in Ant build files to follow cross-file dependencies.
  • Properties defined before the <import> are available in the imported file.
  • Cycle detection via visited-file tracking prevents infinite loops.
  • Missing or unreadable imported files are skipped gracefully.

Context

Please select one of the following:

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository: https://github.com/RahulGautamSingh/ant-import-traversal/pulls

@github-actions
github-actions Bot requested a review from viceice April 14, 2026 16:28
@RahulGautamSingh
RahulGautamSingh force-pushed the feat/42181-ant-import-traversal branch from ff0e7f3 to c9f4f12 Compare April 14, 2026 16:32
Comment thread lib/modules/manager/ant/extract.spec.ts
Support <import file="..."/> elements in Ant build files to follow
cross-file dependencies. Properties defined before the import are
available in the imported file. Cycle detection via visited-file
tracking prevents infinite loops.
@RahulGautamSingh
RahulGautamSingh force-pushed the feat/42181-ant-import-traversal branch from c9f4f12 to da8c71b Compare April 14, 2026 17:02
@jamietanna
jamietanna enabled auto-merge April 14, 2026 17:04
@jamietanna
jamietanna added this pull request to the merge queue Apr 14, 2026
Merged via the queue into renovatebot:main with commit 76dcc66 Apr 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 43.119.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

manager(ant): <import> file traversal

3 participants