remote-build: add control logic when the project is in a git repo
Metadata
Current evaluation
Closed without implementation. The proposed control logic to switch remote-build execution based on git repository presence was abandoned.
Suggested action: —
No scores available.
Issue body
### What needs to get done
This adds control logic to determine whether to execute the new or legacy remote-build code.
If the project is not part of a git repository, then execute the legacy remote-build code. Otherwise, execute the new remote-build code.
This check can be done by using the GitPython wrapper class (#4320).

### Why it needs to get done
This check exists to minimize changes for existing workflows.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The proposed control logic to switch remote-build execution based on git repository presence was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The proposal to add GitPython-based routing logic for legacy versus new remote-build execution paths was abandoned with no further action or merge. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The proposed control logic to route remote-build execution based on git repository presence was never implemented or merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The remote-build git detection logic remains unimplemented or superseded, with no merge or fix recorded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation or linked pull request, indicating the remote-build git detection logic was abandoned or superseded. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4318 remote-build: add control logic for snap base | snapcraft | closed | Closed without implementation. The request to add base-specific control logic for remote-build was abandoned due to lack of activity. | |
| #4324 remote-build: new command logic | snapcraft | closed | The remote-build command logic update was closed without implementation. No linked pull request or resolution details exist, indicating the feature was abandoned. | |
| #4319 remote-build: add control logic for envvar `SNAPCRAFT_REMOTE_BUILD_STRATEGY` | snapcraft | closed | Implemented control logic for SNAPCRAFT_REMOTE_BUILD_STRATEGY to toggle between new and legacy remote-build execution. The feature was merged and the issue closed as completed. |