← Back to issue list

feat: add clone and remotes to GitRepo

View original Github issue

Metadata

Project
craft-application
Number
#396
Type
pull request
State
merged
Author
dariuszd21
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged: Added clone and remote management methods to GitRepo, supporting creation, renaming, and existence checks. Resolves CRAFT-3087.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4368 feat(remote-build): add GitRepo class snapcraft merged Merged into main, introducing a GitRepo class for remote builds to resolve #4320. Approved by two reviewers with passing CI and 100% diff coverage. An unrelated spread failure was noted for later investigation.
76%
#754 feat(git): add API to modify repo configuration craft-application merged Merged pull request adding an API to read and store Git repository configuration values via the GitRepo object. Approved by two reviewers, passed all CI checks, and modified four files (+78/-3).
75%
#576 feat: extend craft_application.git module craft-application merged Merged after approval from three reviewers and passing CI checks. The update extends the craft_application.git module by adding GitRepo methods for remote URL management, commit verification, fetch operations, and subprocess integration.
71%
#740 fix(git): read remotes without formatting in remote_contains craft-application merged Merged fix for GitRepo.remote_contains that reads remotes without formatting to prevent inconsistent output from local Git settings. Approved by two reviewers, passed CI, and ensures predictable repository discovery.
71%
#310 fix(remote-build): enable git repo check craft-application merged Successfully merged the fix enabling the git repository check for remote builds. Approved by two reviewers, the update modifies two files with 18 additions and 1 deletion, resolving the build configuration issue.
70%