[Feature Request] - [Pre-check package availability]
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 210
- Forks
- 36
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
Description
As a sub-task of #1353, add a package availability pre-check before attempting repository and commit resolution.
The check should verify that the specified package and version exists in the corresponding public registry.
This will prevent invalid package versions from proceeding through the metadata resolution flow.
Proposed Feature
- Verify package/version availability in the appropriate public registry.
- Perform this check before repository and commit resolution.
- Handle unavailable package versions without proceeding with metadata resolution.
Use Case
When an invalid or unavailable package version is provided, Macaron should detect it before attempting repository or commit resolution, avoiding incorrect metadata being populated from the failed resolution.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the metadata resolution flow, especially the repository and commit resolution entry points named in the issue, and identify where package/version lookup occurs. Done means unavailable package versions are rejected before repository or commit resolution, while available versions continue through the existing flow.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100