oracle / oracle/macaron

[Feature Request] - [Pre-check package availability]

Open
#1,462 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.