← Back to issue list

Support .git extension detection

View original Github issue

Metadata

Project
snapcraft
Number
#422
Type
pull request
State
merged
Author
didrocks
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #422 added .git URL detection, allowing HTTPS repositories ending in .git to be identified as Git sources without explicit configuration.

Resolution: closed resolved

Reason: PR #422 was merged into Snapcraft 2.8 as commit 50d77d8ab, implementing and testing automatic Git source detection from .git URLs.

Evaluated by: mr-cal-bot

No scores available.

Issue body

On github for instance, the https URL for a repo ends with .git: https://github.com/…/….git. Detecting this pattern as source_type = 'git' enables us to support http{,s} git repo distribution without having to mention it explicitely in snapcraft.yaml.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #422 added .git URL detection, allowing HTTPS repositories ending in .git to be identified as Git sources without explicit configuration.
stealth/space-bunny-alpha — closed resolved Merged PR #422 as commit 50d77d8ab, adding automatic git source detection for HTTPS repository URLs ending in .git.
stealth/space-bunny-alpha — closed resolved Merged PR #422 in commit 50d77d8ab, adding automatic Git detection for HTTP(S) source URLs ending in .git.
stealth/space-bunny-alpha — closed resolved Merged PR #422 (commit 50d77d8ab) added .git URL detection, automatically classifying HTTPS Git repository sources without explicit snapcraft.yaml configuration.
qwen/qwen3.6-35b-a3b — — Implemented automatic .git extension detection to set source_type as git, enabling http/https git repository distribution without explicit snapcraft.yaml configuration. Merged after adding Launchpad bug reference and rebasing to master.
qwen3.6-35b-a3b-mtp-q6 — — Merged after adding a Launchpad bug reference and resolving test failures from infrastructure hash mismatches. The change enables automatic git source detection for URLs ending in .git, removing the need for explicit snapcraft.yaml configuration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#61 Added 'git@' to the automatic identification of the source snapcraft merged Merged PR #61 via f4bd14e35 added git@ recognition, allowing SSH Git repository URLs to be automatically identified as Git sources.
70%