Skip to content

Add optional Distribution parameter to walk_revctrl file finder #5056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RonnyPfannschmidt
Copy link
Contributor

i made a first draft using claude - the tests need some simplification for the unit part and im looking for suggestions on a integration test thats not excessive


File finder entry points for SCM-based files can now optionally receive the Distribution object to make more informed decisions about which files to include. This maintains full backward compatibility with existing entry points that only accept dirname.

Changes:

  • Add optional distribution parameter to walk_revctrl function
  • Create _call_finder_with_distribution_support helper function with signature inspection to detect entry point capabilities
  • Update manifest_maker.add_defaults() to pass distribution object
  • Add comprehensive unit tests covering all scenarios including backward compatibility and error handling

🤖 Generated with Claude Code

Summary of changes

Closes

Pull Request Checklist

… points

File finder entry points for SCM-based files can now optionally receive
the Distribution object to make more informed decisions about which files
to include. This maintains full backward compatibility with existing
entry points that only accept dirname.

Changes:
- Add optional distribution parameter to walk_revctrl function
- Create _call_finder_with_distribution_support helper function with
  signature inspection to detect entry point capabilities
- Update manifest_maker.add_defaults() to pass distribution object
- Add comprehensive unit tests covering all scenarios including
  backward compatibility and error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant