feat: add clone and remotes to GitRepo
Metadata
Current evaluation
Merged #396 in commit 90423a82, adding GitRepo cloning plus remote creation, renaming, and existence checks (CRAFT-3087).
Resolution: closed resolved
Reason: PR #396 was approved and merged into the main project as commit 90423a82, delivering the requested GitRepo functionality.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
It adds additional methods to the `GitRepo` for repository cloning and managing remotes configuration (creating, renaming and checking for the existence)
(CRAFT-3087)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #396 in commit 90423a82, adding GitRepo cloning plus remote creation, renaming, and existence checks (CRAFT-3087). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #396 in commit 90423a82, adding GitRepo repository cloning and remote creation, renaming, and existence-check methods. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes adding clone and remote management methods to the GitRepo class. Approved by two reviewers and passing CI, the update introduces repository cloning and remote creation, renaming, and verification functionality. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #576 feat: extend craft_application.git module | craft-application | merged | PR #576 merged, extending GitRepo with remote configuration, commit checks, last-commit lookup, fetch, and craft.git integration; Ruff follow-up #580 was also merged. | |
| #4368 feat(remote-build): add GitRepo class | snapcraft | merged | Merged PR #4368 as dc58181e8, adding a pygit2-based GitRepo wrapper for remote builds and resolving #4320 (CRAFT-1975). | |
| #385 Move Git abstraction outside of remotebuild | craft-application | closed | Moved GitRepo from remotebuild into craft_application.git in canonical/craft-application#388, merged as ea697712; fixes #385. |