inspectors/git: deduplicate wanted refs
Metadata
Current evaluation
Merged to deduplicate wanted refs in the git inspector, preventing request rejections when clients request the same ref multiple times. Approved by two reviewers, passed CI, and updated two files.
Suggested action: —
No scores available.
Issue body
Don't reject the request when fetching repository content if the
client wants the same ref multiple times.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to deduplicate wanted refs in the git inspector, preventing request rejections when clients request the same ref multiple times. Approved by two reviewers, passed CI, and updated two files. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #66 inspectors: add git service query and upload-pack inspectors | fetch-service | merged | Merged pull request adding git service query and upload-pack inspectors. Approved by two reviewers and integrated into the main branch. The zero-line diff indicates a squash merge. | |
| #152 ci: de-duplicate artifact names | craft-store | merged | Merged a pull request de-duplicating CI artifact names. The change modified one file (+2/-2 lines). Approved by two reviewers, passed all CI checks, and successfully integrated into the codebase. | |
| #242 feat(inspectors): make the git inspector configurable | fetch-service | merged | Integrated runtime configuration for git inspector URLs. Approved by two reviewers, rebased, and merged. Modifies 11 files with 268 additions and 133 deletions. | |
| #290 refactor: only unpack git repos once | fetch-service | merged | Merged post-approval and CI. Refactors git inspection to unpack repos once via a new CacheDir field. Other inspectors use the git-checkout-pack annotation to access the unpacked repo, eliminating duplicate work and resolving #276. | |
| #117 docs: add git inspectors reference documentation | fetch-service | merged | Merged documentation update adding reference material for git inspectors. Approved by two reviewers and resolves CRAFT-2639. |