Snapcraft should detect .git extension as source_type='git'
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Resolved via PR #422. Snapcraft now automatically detects .git URLs as source_type=git, removing the need for explicit configuration in snapcraft.yaml.
Suggested action: —
No scores available.
Issue body
Support .git extension detection
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.
Change in PR: https://github.com/ubuntu-core/snapcraft/pull/422
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #422. Snapcraft now automatically detects .git URLs as source_type=git, removing the need for explicit configuration in snapcraft.yaml. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved by merging PR #422, which implements automatic .git URL extension detection as source_type='git' for implicit git source configuration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Resolved via PR #422, which adds automatic .git URL detection for git sources, eliminating the need for explicit snapcraft.yaml configuration. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #422 Support .git extension detection | snapcraft | merged | 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. | |
| #149 sources: add the git source handler (CRAFT-588) | craft-parts | merged | Successfully merged a pull request adding a git source handler to specify git repositories as a part source. Code and tests were ported from snapcraft with initialization and write methods removed. Approved and passed CI checks. |